@ptsecurity/mosaic 14.7.2 → 15.0.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 (712) hide show
  1. package/_index.scss +3 -0
  2. package/_theming.scss +1559 -1685
  3. package/_visual.scss +84 -64
  4. package/autocomplete/_autocomplete-theme.scss +21 -0
  5. package/autocomplete/autocomplete-origin.directive.d.ts +1 -1
  6. package/autocomplete/autocomplete-trigger.directive.d.ts +1 -1
  7. package/autocomplete/autocomplete.component.d.ts +1 -1
  8. package/autocomplete/autocomplete.scss +63 -0
  9. package/button/_button-base.scss +63 -0
  10. package/button/_button-theme.scss +154 -0
  11. package/button/button.component.d.ts +2 -2
  12. package/button/button.scss +45 -0
  13. package/button-toggle/button-toggle.component.d.ts +2 -2
  14. package/button-toggle/button-toggle.scss +135 -0
  15. package/card/_card-theme.scss +61 -0
  16. package/card/card.component.d.ts +1 -1
  17. package/card/card.component.scss +40 -0
  18. package/checkbox/_checkbox-theme.scss +103 -0
  19. package/checkbox/checkbox-required-validator.d.ts +1 -1
  20. package/checkbox/checkbox.d.ts +1 -1
  21. package/checkbox/checkbox.scss +144 -0
  22. package/code-block/_code-block-theme.scss +329 -0
  23. package/code-block/actionbar.component.d.ts +1 -1
  24. package/code-block/actionbar.component.scss +27 -0
  25. package/code-block/code-block.component.d.ts +1 -1
  26. package/code-block/code-block.scss +128 -0
  27. package/core/_index.scss +1 -0
  28. package/core/common-behaviors/color.d.ts +2 -2
  29. package/core/datetime/date-adapter.d.ts +12 -0
  30. package/core/datetime/date-formats.d.ts +4 -0
  31. package/core/datetime/index.d.ts +2 -0
  32. package/core/formatters/date/formatter.d.ts +4 -265
  33. package/core/formatters/date/formatter.pipe.d.ts +3 -2
  34. package/core/forms/_forms-theme.scss +32 -0
  35. package/core/forms/_forms.scss +109 -0
  36. package/core/forms/forms.directive.d.ts +2 -2
  37. package/core/highlight/_highlight-theme.scss +10 -0
  38. package/core/line/line.d.ts +1 -1
  39. package/core/option/_optgroup-theme.scss +26 -0
  40. package/core/option/_option-action-theme.scss +41 -0
  41. package/core/option/_option-theme.scss +46 -0
  42. package/core/option/action.d.ts +1 -1
  43. package/core/option/action.scss +28 -0
  44. package/core/option/optgroup.d.ts +1 -1
  45. package/core/option/optgroup.scss +16 -0
  46. package/core/option/option.d.ts +1 -1
  47. package/core/option/option.scss +62 -0
  48. package/core/pop-up/_pop-up.scss +129 -0
  49. package/core/pop-up/pop-up-trigger.d.ts +1 -1
  50. package/core/pop-up/pop-up.d.ts +1 -1
  51. package/core/public-api.d.ts +11 -10
  52. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +48 -0
  53. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -1
  54. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +57 -0
  55. package/core/styles/_core.scss +11 -0
  56. package/core/styles/_mosaic-theme.scss +147 -0
  57. package/core/styles/_tokens.scss +6 -0
  58. package/core/styles/_variables.scss +9 -0
  59. package/core/styles/common/_animation.scss +35 -0
  60. package/core/styles/common/_button.scss +10 -0
  61. package/core/styles/common/_clearfix.scss +13 -0
  62. package/core/styles/common/_groups.scss +116 -0
  63. package/core/styles/common/_index.scss +13 -0
  64. package/core/styles/common/_input.scss +28 -0
  65. package/core/styles/common/_layout.scss +8 -0
  66. package/core/styles/common/_list.scss +46 -0
  67. package/core/styles/common/_overlay.scss +173 -0
  68. package/core/styles/common/_popup.scss +11 -0
  69. package/core/styles/common/_rtl.scss +33 -0
  70. package/core/styles/common/_size.scss +8 -0
  71. package/core/styles/common/_vendor-prefixes.scss +24 -0
  72. package/core/styles/common/_visually-hidden.scss +36 -0
  73. package/core/styles/functions/_index.scss +3 -0
  74. package/core/styles/functions/_number.scss +65 -0
  75. package/core/styles/functions/_string.scss +19 -0
  76. package/core/styles/functions/_timing.scss +30 -0
  77. package/core/styles/theming/_alerts.scss +166 -0
  78. package/core/styles/theming/_badges.scss +142 -0
  79. package/core/styles/theming/_components-theming.scss +721 -0
  80. package/core/styles/theming/_index.scss +2 -0
  81. package/core/styles/theming/_scrollbars.scss +133 -0
  82. package/core/styles/theming/_theming.scss +155 -0
  83. package/core/styles/typography/_index.scss +2 -0
  84. package/core/styles/typography/_typography-utils.scss +78 -0
  85. package/core/styles/typography/_typography.scss +180 -0
  86. package/core/styles/visual/_body.scss +35 -0
  87. package/core/styles/visual/_index.scss +3 -0
  88. package/core/styles/visual/_layout-media.scss +7 -0
  89. package/core/styles/visual/_layout.scss +527 -0
  90. package/datepicker/_datepicker-theme.scss +103 -0
  91. package/datepicker/calendar-body.component.d.ts +1 -1
  92. package/datepicker/calendar-body.scss +61 -0
  93. package/datepicker/calendar-header.component.d.ts +2 -2
  94. package/datepicker/calendar-header.scss +69 -0
  95. package/datepicker/calendar.component.d.ts +2 -2
  96. package/datepicker/calendar.scss +68 -0
  97. package/datepicker/datepicker-content.scss +32 -0
  98. package/datepicker/datepicker-input.directive.d.ts +2 -2
  99. package/datepicker/datepicker-input.scss +15 -0
  100. package/datepicker/datepicker-toggle.component.d.ts +2 -2
  101. package/datepicker/datepicker-toggle.scss +41 -0
  102. package/datepicker/datepicker.component.d.ts +3 -3
  103. package/datepicker/month-view.component.d.ts +2 -2
  104. package/divider/_divider-theme.scss +13 -0
  105. package/divider/divider.component.d.ts +1 -1
  106. package/divider/divider.scss +47 -0
  107. package/dl/_dl-theme.scss +44 -0
  108. package/dl/dl.component.d.ts +3 -3
  109. package/dl/dl.scss +66 -0
  110. package/dropdown/_dropdown-theme.scss +87 -0
  111. package/dropdown/dropdown-content.directive.d.ts +1 -1
  112. package/dropdown/dropdown-item.component.d.ts +1 -1
  113. package/dropdown/dropdown-item.scss +82 -0
  114. package/dropdown/dropdown-trigger.directive.d.ts +1 -1
  115. package/dropdown/dropdown.component.d.ts +1 -1
  116. package/dropdown/dropdown.scss +79 -0
  117. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +4 -4
  118. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +4 -4
  119. package/esm2020/autocomplete/autocomplete.component.mjs +6 -6
  120. package/esm2020/autocomplete/autocomplete.module.mjs +5 -5
  121. package/esm2020/button/button.component.mjs +8 -8
  122. package/esm2020/button/button.module.mjs +5 -5
  123. package/esm2020/button-toggle/button-toggle.component.mjs +9 -9
  124. package/esm2020/button-toggle/button-toggle.module.mjs +5 -5
  125. package/esm2020/card/card.component.mjs +5 -5
  126. package/esm2020/card/card.module.mjs +5 -5
  127. package/esm2020/checkbox/checkbox-module.mjs +5 -5
  128. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  129. package/esm2020/checkbox/checkbox.mjs +5 -5
  130. package/esm2020/code-block/actionbar.component.mjs +4 -4
  131. package/esm2020/code-block/code-block.component.mjs +5 -5
  132. package/esm2020/code-block/code-block.module.mjs +5 -5
  133. package/esm2020/core/common-behaviors/color.mjs +3 -3
  134. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  135. package/esm2020/core/datetime/date-adapter.mjs +15 -0
  136. package/esm2020/core/datetime/date-formats.mjs +3 -0
  137. package/esm2020/core/datetime/index.mjs +3 -0
  138. package/esm2020/core/error/error-options.mjs +7 -7
  139. package/esm2020/core/formatters/date/formatter.mjs +10 -434
  140. package/esm2020/core/formatters/date/formatter.pipe.mjs +42 -42
  141. package/esm2020/core/formatters/index.mjs +5 -5
  142. package/esm2020/core/formatters/number/formatter.mjs +5 -5
  143. package/esm2020/core/forms/forms-module.mjs +5 -5
  144. package/esm2020/core/forms/forms.directive.mjs +7 -7
  145. package/esm2020/core/highlight/highlight.pipe.mjs +4 -4
  146. package/esm2020/core/highlight/index.mjs +5 -5
  147. package/esm2020/core/line/line.mjs +8 -8
  148. package/esm2020/core/option/action.mjs +6 -6
  149. package/esm2020/core/option/optgroup.mjs +5 -5
  150. package/esm2020/core/option/option-module.mjs +5 -5
  151. package/esm2020/core/option/option.mjs +5 -5
  152. package/esm2020/core/pop-up/pop-up-trigger.mjs +4 -4
  153. package/esm2020/core/pop-up/pop-up.mjs +4 -4
  154. package/esm2020/core/public-api.mjs +12 -11
  155. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
  156. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +5 -5
  157. package/esm2020/core/services/measure-scrollbar.service.mjs +4 -4
  158. package/esm2020/core/version.mjs +2 -2
  159. package/esm2020/datepicker/calendar-body.component.mjs +5 -5
  160. package/esm2020/datepicker/calendar-header.component.mjs +8 -9
  161. package/esm2020/datepicker/calendar.component.mjs +7 -7
  162. package/esm2020/datepicker/datepicker-input.directive.mjs +6 -7
  163. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  164. package/esm2020/datepicker/datepicker-module.mjs +5 -5
  165. package/esm2020/datepicker/datepicker-toggle.component.mjs +8 -8
  166. package/esm2020/datepicker/datepicker.component.mjs +10 -10
  167. package/esm2020/datepicker/month-view.component.mjs +6 -6
  168. package/esm2020/divider/divider.component.mjs +5 -5
  169. package/esm2020/divider/divider.module.mjs +5 -5
  170. package/esm2020/dl/dl.component.mjs +11 -11
  171. package/esm2020/dl/dl.module.mjs +5 -5
  172. package/esm2020/dropdown/dropdown-content.directive.mjs +4 -4
  173. package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
  174. package/esm2020/dropdown/dropdown-trigger.directive.mjs +4 -4
  175. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  176. package/esm2020/dropdown/dropdown.module.mjs +5 -5
  177. package/esm2020/form-field/cleaner.mjs +5 -5
  178. package/esm2020/form-field/form-field.mjs +11 -11
  179. package/esm2020/form-field/form-field.module.mjs +5 -5
  180. package/esm2020/form-field/hint.mjs +4 -4
  181. package/esm2020/form-field/password-hint.mjs +4 -4
  182. package/esm2020/form-field/prefix.mjs +4 -4
  183. package/esm2020/form-field/stepper.mjs +8 -8
  184. package/esm2020/form-field/suffix.mjs +4 -4
  185. package/esm2020/form-field/validate.directive.mjs +4 -4
  186. package/esm2020/icon/icon.component.mjs +7 -7
  187. package/esm2020/icon/icon.module.mjs +5 -5
  188. package/esm2020/input/input-number-validators.mjs +7 -7
  189. package/esm2020/input/input-number.mjs +4 -4
  190. package/esm2020/input/input-password.mjs +7 -7
  191. package/esm2020/input/input.mjs +7 -7
  192. package/esm2020/input/input.module.mjs +5 -5
  193. package/esm2020/link/link.component.mjs +4 -4
  194. package/esm2020/link/link.module.mjs +5 -5
  195. package/esm2020/list/list-selection.component.mjs +9 -9
  196. package/esm2020/list/list.component.mjs +8 -8
  197. package/esm2020/list/list.module.mjs +5 -5
  198. package/esm2020/loader-overlay/loader-overlay.component.mjs +14 -14
  199. package/esm2020/loader-overlay/loader-overlay.module.mjs +5 -5
  200. package/esm2020/markdown/markdown.component.mjs +6 -6
  201. package/esm2020/markdown/markdown.module.mjs +5 -5
  202. package/esm2020/markdown/markdown.service.mjs +4 -4
  203. package/esm2020/modal/css-unit.pipe.mjs +4 -4
  204. package/esm2020/modal/modal-control.service.mjs +4 -4
  205. package/esm2020/modal/modal.component.mjs +5 -5
  206. package/esm2020/modal/modal.directive.mjs +13 -13
  207. package/esm2020/modal/modal.module.mjs +5 -5
  208. package/esm2020/modal/modal.service.mjs +4 -4
  209. package/esm2020/navbar/navbar-item.component.mjs +31 -31
  210. package/esm2020/navbar/navbar.component.mjs +11 -11
  211. package/esm2020/navbar/navbar.module.mjs +5 -5
  212. package/esm2020/navbar/vertical-navbar.animation.mjs +2 -2
  213. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  214. package/esm2020/popover/popover-confirm.component.mjs +8 -8
  215. package/esm2020/popover/popover.component.mjs +8 -8
  216. package/esm2020/popover/popover.module.mjs +5 -5
  217. package/esm2020/progress-bar/progress-bar.component.mjs +5 -5
  218. package/esm2020/progress-bar/progress-bar.module.mjs +5 -5
  219. package/esm2020/progress-spinner/progress-spinner.component.mjs +6 -6
  220. package/esm2020/progress-spinner/progress-spinner.module.mjs +5 -5
  221. package/esm2020/radio/radio.component.mjs +8 -8
  222. package/esm2020/radio/radio.module.mjs +5 -5
  223. package/esm2020/select/select-option.directive.mjs +4 -4
  224. package/esm2020/select/select.component.mjs +18 -18
  225. package/esm2020/select/select.module.mjs +5 -5
  226. package/esm2020/sidebar/sidebar.component.mjs +10 -10
  227. package/esm2020/sidebar/sidebar.module.mjs +5 -5
  228. package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
  229. package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
  230. package/esm2020/sidepanel/sidepanel.module.mjs +5 -5
  231. package/esm2020/sidepanel/sidepanel.service.mjs +4 -4
  232. package/esm2020/splitter/splitter.component.mjs +13 -13
  233. package/esm2020/splitter/splitter.module.mjs +5 -5
  234. package/esm2020/table/table.component.mjs +5 -5
  235. package/esm2020/table/table.module.mjs +5 -5
  236. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  237. package/esm2020/tabs/tab-body.component.mjs +7 -7
  238. package/esm2020/tabs/tab-content.directive.mjs +4 -4
  239. package/esm2020/tabs/tab-group.component.mjs +20 -20
  240. package/esm2020/tabs/tab-header.component.mjs +5 -5
  241. package/esm2020/tabs/tab-label-wrapper.directive.mjs +4 -4
  242. package/esm2020/tabs/tab-label.directive.mjs +4 -4
  243. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
  244. package/esm2020/tabs/tab.component.mjs +4 -4
  245. package/esm2020/tabs/tabs.module.mjs +5 -5
  246. package/esm2020/tags/tag-input.mjs +4 -4
  247. package/esm2020/tags/tag-list.component.mjs +5 -5
  248. package/esm2020/tags/tag.component.mjs +14 -14
  249. package/esm2020/tags/tag.module.mjs +5 -5
  250. package/esm2020/textarea/textarea.component.mjs +4 -4
  251. package/esm2020/textarea/textarea.module.mjs +5 -5
  252. package/esm2020/timepicker/timepicker.directive.mjs +6 -7
  253. package/esm2020/timepicker/timepicker.module.mjs +5 -5
  254. package/esm2020/timezone/cities-by-filter.pipe.mjs +4 -4
  255. package/esm2020/timezone/timezone-option.component.mjs +6 -6
  256. package/esm2020/timezone/timezone-option.directive.mjs +4 -4
  257. package/esm2020/timezone/timezone-select.component.mjs +9 -9
  258. package/esm2020/timezone/timezone.module.mjs +5 -5
  259. package/esm2020/timezone/utc-offset.pipe.mjs +4 -4
  260. package/esm2020/toast/toast-container.component.mjs +5 -5
  261. package/esm2020/toast/toast.component.mjs +5 -5
  262. package/esm2020/toast/toast.module.mjs +5 -5
  263. package/esm2020/toast/toast.service.mjs +4 -4
  264. package/esm2020/toggle/toggle.component.mjs +6 -6
  265. package/esm2020/toggle/toggle.module.mjs +5 -5
  266. package/esm2020/tooltip/tooltip.component.mjs +14 -14
  267. package/esm2020/tooltip/tooltip.module.mjs +5 -5
  268. package/esm2020/tree/node.mjs +4 -4
  269. package/esm2020/tree/outlet.mjs +4 -4
  270. package/esm2020/tree/padding.directive.mjs +5 -5
  271. package/esm2020/tree/toggle.mjs +11 -11
  272. package/esm2020/tree/tree-base.mjs +7 -7
  273. package/esm2020/tree/tree-option.component.mjs +6 -6
  274. package/esm2020/tree/tree-selection.component.mjs +4 -4
  275. package/esm2020/tree/tree.mjs +4 -4
  276. package/esm2020/tree/tree.module.mjs +5 -5
  277. package/esm2020/tree-select/tree-select.component.mjs +12 -12
  278. package/esm2020/tree-select/tree-select.module.mjs +5 -5
  279. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
  280. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  281. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  282. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  283. package/fesm2015/ptsecurity-mosaic-button.mjs +11 -11
  284. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  285. package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
  286. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  287. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
  288. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  289. package/fesm2015/ptsecurity-mosaic-code-block.mjs +11 -11
  290. package/fesm2015/ptsecurity-mosaic-code-block.mjs.map +1 -1
  291. package/fesm2015/ptsecurity-mosaic-core.mjs +789 -1877
  292. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  293. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +42 -44
  294. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  295. package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
  296. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  297. package/fesm2015/ptsecurity-mosaic-dl.mjs +14 -14
  298. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -1
  299. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
  300. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  301. package/fesm2015/ptsecurity-mosaic-form-field.mjs +40 -40
  302. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  303. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  304. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  305. package/fesm2015/ptsecurity-mosaic-input.mjs +25 -25
  306. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  307. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  308. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  309. package/fesm2015/ptsecurity-mosaic-list.mjs +19 -19
  310. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  311. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs +17 -17
  312. package/fesm2015/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  313. package/fesm2015/ptsecurity-mosaic-markdown.mjs +12 -12
  314. package/fesm2015/ptsecurity-mosaic-markdown.mjs.map +1 -1
  315. package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
  316. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  317. package/fesm2015/ptsecurity-mosaic-navbar.mjs +50 -50
  318. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  319. package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
  320. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  321. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +8 -8
  322. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  323. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +9 -9
  324. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  325. package/fesm2015/ptsecurity-mosaic-radio.mjs +11 -11
  326. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  327. package/fesm2015/ptsecurity-mosaic-select.mjs +24 -24
  328. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  329. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  330. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  331. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +28 -28
  332. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  333. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  334. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  335. package/fesm2015/ptsecurity-mosaic-table.mjs +8 -8
  336. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  337. package/fesm2015/ptsecurity-mosaic-tabs.mjs +55 -55
  338. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  339. package/fesm2015/ptsecurity-mosaic-tags.mjs +24 -24
  340. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  341. package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
  342. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  343. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +8 -8
  344. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  345. package/fesm2015/ptsecurity-mosaic-timezone.mjs +26 -26
  346. package/fesm2015/ptsecurity-mosaic-timezone.mjs.map +1 -1
  347. package/fesm2015/ptsecurity-mosaic-toast.mjs +15 -15
  348. package/fesm2015/ptsecurity-mosaic-toast.mjs.map +1 -1
  349. package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
  350. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  351. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -17
  352. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  353. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +15 -15
  354. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  355. package/fesm2015/ptsecurity-mosaic-tree.mjs +41 -41
  356. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  357. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
  358. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  359. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  360. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  361. package/fesm2020/ptsecurity-mosaic-button.mjs +11 -11
  362. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  363. package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
  364. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  365. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
  366. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  367. package/fesm2020/ptsecurity-mosaic-code-block.mjs +11 -11
  368. package/fesm2020/ptsecurity-mosaic-code-block.mjs.map +1 -1
  369. package/fesm2020/ptsecurity-mosaic-core.mjs +785 -1900
  370. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  371. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +42 -44
  372. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  373. package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
  374. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  375. package/fesm2020/ptsecurity-mosaic-dl.mjs +14 -14
  376. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -1
  377. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
  378. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  379. package/fesm2020/ptsecurity-mosaic-form-field.mjs +40 -40
  380. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  381. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  382. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  383. package/fesm2020/ptsecurity-mosaic-input.mjs +25 -25
  384. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  385. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  386. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  387. package/fesm2020/ptsecurity-mosaic-list.mjs +19 -19
  388. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  389. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs +17 -17
  390. package/fesm2020/ptsecurity-mosaic-loader-overlay.mjs.map +1 -1
  391. package/fesm2020/ptsecurity-mosaic-markdown.mjs +12 -12
  392. package/fesm2020/ptsecurity-mosaic-markdown.mjs.map +1 -1
  393. package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
  394. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  395. package/fesm2020/ptsecurity-mosaic-navbar.mjs +50 -50
  396. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  397. package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
  398. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  399. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +8 -8
  400. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  401. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +9 -9
  402. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  403. package/fesm2020/ptsecurity-mosaic-radio.mjs +11 -11
  404. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  405. package/fesm2020/ptsecurity-mosaic-select.mjs +24 -24
  406. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  407. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  408. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  409. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +28 -28
  410. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  411. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  412. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  413. package/fesm2020/ptsecurity-mosaic-table.mjs +8 -8
  414. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  415. package/fesm2020/ptsecurity-mosaic-tabs.mjs +55 -55
  416. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  417. package/fesm2020/ptsecurity-mosaic-tags.mjs +24 -24
  418. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  419. package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
  420. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  421. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +8 -8
  422. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  423. package/fesm2020/ptsecurity-mosaic-timezone.mjs +26 -26
  424. package/fesm2020/ptsecurity-mosaic-timezone.mjs.map +1 -1
  425. package/fesm2020/ptsecurity-mosaic-toast.mjs +15 -15
  426. package/fesm2020/ptsecurity-mosaic-toast.mjs.map +1 -1
  427. package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
  428. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  429. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -17
  430. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  431. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +15 -15
  432. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  433. package/fesm2020/ptsecurity-mosaic-tree.mjs +41 -41
  434. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  435. package/form-field/_form-field-theme.scss +133 -0
  436. package/form-field/cleaner.d.ts +1 -1
  437. package/form-field/form-field.d.ts +3 -3
  438. package/form-field/form-field.scss +163 -0
  439. package/form-field/hint.d.ts +1 -1
  440. package/form-field/password-hint.d.ts +1 -1
  441. package/form-field/prefix.d.ts +1 -1
  442. package/form-field/stepper.d.ts +1 -1
  443. package/form-field/suffix.d.ts +1 -1
  444. package/form-field/validate.directive.d.ts +1 -1
  445. package/icon/_icon-theme.scss +152 -0
  446. package/icon/icon.component.d.ts +2 -2
  447. package/icon/icon.scss +30 -0
  448. package/input/_input-base.scss +21 -0
  449. package/input/_input-theme.scss +58 -0
  450. package/input/input-number-validators.d.ts +2 -2
  451. package/input/input-number.d.ts +1 -1
  452. package/input/input-password.d.ts +2 -2
  453. package/input/input.d.ts +2 -2
  454. package/input/input.scss +62 -0
  455. package/link/_link-theme.scss +172 -0
  456. package/link/link.component.d.ts +1 -1
  457. package/list/_list-base.scss +50 -0
  458. package/list/_list-theme.scss +49 -0
  459. package/list/list-selection.component.d.ts +2 -2
  460. package/list/list.component.d.ts +2 -2
  461. package/list/list.scss +52 -0
  462. package/loader-overlay/_loader-overlay-theme.scss +36 -0
  463. package/loader-overlay/loader-overlay.component.d.ts +4 -4
  464. package/loader-overlay/loader-overlay.scss +64 -0
  465. package/markdown/_markdown-theme.scss +142 -0
  466. package/markdown/markdown.component.d.ts +1 -1
  467. package/markdown/markdown.scss +240 -0
  468. package/modal/_modal-animation.scss +114 -0
  469. package/modal/_modal-confirm.scss +53 -0
  470. package/modal/_modal-theme.scss +90 -0
  471. package/modal/modal.component.d.ts +1 -1
  472. package/modal/modal.directive.d.ts +4 -4
  473. package/modal/modal.scss +143 -0
  474. package/navbar/_navbar-theme.scss +125 -0
  475. package/navbar/navbar-brand.scss +70 -0
  476. package/navbar/navbar-divider.scss +18 -0
  477. package/navbar/navbar-item.component.d.ts +10 -10
  478. package/navbar/navbar-item.scss +159 -0
  479. package/navbar/navbar.component.d.ts +3 -3
  480. package/navbar/navbar.scss +20 -0
  481. package/navbar/vertical-navbar.component.d.ts +1 -1
  482. package/navbar/vertical-navbar.scss +46 -0
  483. package/package.json +28 -27
  484. package/popover/_popover-theme.scss +113 -0
  485. package/popover/popover-confirm.component.d.ts +2 -2
  486. package/popover/popover.component.d.ts +2 -2
  487. package/popover/popover.scss +114 -0
  488. package/prebuilt-themes/dark-theme.css +1 -1
  489. package/prebuilt-themes/default-theme.css +1 -1
  490. package/prebuilt-visual/default-visual.css +1 -1
  491. package/progress-bar/_progress-bar-theme.scss +28 -0
  492. package/progress-bar/progress-bar.component.d.ts +1 -1
  493. package/progress-bar/progress-bar.scss +42 -0
  494. package/progress-spinner/_progress-spinner-theme.scss +24 -0
  495. package/progress-spinner/progress-spinner.component.d.ts +1 -1
  496. package/progress-spinner/progress-spinner.scss +70 -0
  497. package/radio/_radio-theme.scss +99 -0
  498. package/radio/radio.component.d.ts +2 -2
  499. package/radio/radio.scss +110 -0
  500. package/select/_select-theme.scss +57 -0
  501. package/select/select-option.directive.d.ts +1 -1
  502. package/select/select.component.d.ts +5 -5
  503. package/select/select.scss +197 -0
  504. package/sidebar/sidebar.component.d.ts +3 -3
  505. package/sidebar/sidebar.scss +12 -0
  506. package/sidepanel/_sidepanel-theme.scss +69 -0
  507. package/sidepanel/sidepanel-container.component.d.ts +1 -1
  508. package/sidepanel/sidepanel-directives.d.ts +5 -5
  509. package/sidepanel/sidepanel.scss +190 -0
  510. package/splitter/_splitter-theme.scss +31 -0
  511. package/splitter/splitter.component.d.ts +4 -4
  512. package/splitter/splitter.scss +48 -0
  513. package/table/_table-theme.scss +67 -0
  514. package/table/table.component.d.ts +1 -1
  515. package/table/table.scss +76 -0
  516. package/tabs/_tabs-common.scss +197 -0
  517. package/tabs/_tabs-theme.scss +241 -0
  518. package/tabs/paginated-tab-header.d.ts +1 -1
  519. package/tabs/tab-body.component.d.ts +2 -2
  520. package/tabs/tab-body.scss +8 -0
  521. package/tabs/tab-content.directive.d.ts +1 -1
  522. package/tabs/tab-group.component.d.ts +6 -6
  523. package/tabs/tab-group.scss +63 -0
  524. package/tabs/tab-header.component.d.ts +1 -1
  525. package/tabs/tab-header.scss +106 -0
  526. package/tabs/tab-label-wrapper.directive.d.ts +1 -1
  527. package/tabs/tab-label.directive.d.ts +1 -1
  528. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +2 -2
  529. package/tabs/tab-nav-bar/tab-nav-bar.scss +54 -0
  530. package/tabs/tab.component.d.ts +1 -1
  531. package/tags/_tag-theme.scss +122 -0
  532. package/tags/tag-input.d.ts +1 -1
  533. package/tags/tag-list.component.d.ts +1 -1
  534. package/tags/tag-list.scss +52 -0
  535. package/tags/tag.component.d.ts +4 -4
  536. package/tags/tag.scss +115 -0
  537. package/textarea/_textarea-base.scss +22 -0
  538. package/textarea/_textarea-theme.scss +40 -0
  539. package/textarea/textarea.component.d.ts +1 -1
  540. package/textarea/textarea.scss +32 -0
  541. package/timepicker/timepicker.directive.d.ts +2 -2
  542. package/timepicker/timepicker.scss +18 -0
  543. package/timezone/_timezone-option-theme.scss +36 -0
  544. package/timezone/timezone-option.component.d.ts +1 -1
  545. package/timezone/timezone-option.component.scss +35 -0
  546. package/timezone/timezone-option.directive.d.ts +1 -1
  547. package/timezone/timezone-select.component.d.ts +2 -2
  548. package/toast/_toast-theme.scss +64 -0
  549. package/toast/toast-container.component.d.ts +1 -1
  550. package/toast/toast-container.component.scss +23 -0
  551. package/toast/toast.component.d.ts +1 -1
  552. package/toast/toast.component.scss +76 -0
  553. package/toggle/_toggle-theme.scss +82 -0
  554. package/toggle/toggle.component.d.ts +1 -1
  555. package/toggle/toggle.scss +124 -0
  556. package/tooltip/_tooltip-theme.scss +104 -0
  557. package/tooltip/tooltip.component.d.ts +4 -4
  558. package/tooltip/tooltip.scss +75 -0
  559. package/tree/_tree-theme.scss +70 -0
  560. package/tree/node.d.ts +1 -1
  561. package/tree/outlet.d.ts +1 -1
  562. package/tree/padding.directive.d.ts +1 -1
  563. package/tree/toggle.d.ts +3 -3
  564. package/tree/toggle.scss +35 -0
  565. package/tree/tree-base.d.ts +2 -2
  566. package/tree/tree-option.component.d.ts +1 -1
  567. package/tree/tree-option.scss +67 -0
  568. package/tree/tree-selection.component.d.ts +1 -1
  569. package/tree/tree-selection.scss +3 -0
  570. package/tree/tree.d.ts +1 -1
  571. package/tree/tree.scss +3 -0
  572. package/tree-select/_tree-select-theme.scss +44 -0
  573. package/tree-select/tree-select.component.d.ts +3 -3
  574. package/tree-select/tree-select.scss +212 -0
  575. package/core/formatters/date/templates/en-US.d.ts +0 -2
  576. package/core/formatters/date/templates/ru-RU.d.ts +0 -2
  577. package/design-tokens/index.d.ts +0 -1
  578. package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
  579. package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
  580. package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -174
  581. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -11
  582. package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -142
  583. package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
  584. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -106
  585. package/design-tokens/legacy-2017/tokens/components/code-block.json5 +0 -704
  586. package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -73
  587. package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -14
  588. package/design-tokens/legacy-2017/tokens/components/dl.json5 +0 -38
  589. package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -48
  590. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -92
  591. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -48
  592. package/design-tokens/legacy-2017/tokens/components/icon.json5 +0 -104
  593. package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -12
  594. package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -50
  595. package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -13
  596. package/design-tokens/legacy-2017/tokens/components/loader-overlay.json5 +0 -23
  597. package/design-tokens/legacy-2017/tokens/components/markdown.json5 +0 -294
  598. package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -81
  599. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -70
  600. package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
  601. package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
  602. package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -69
  603. package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -16
  604. package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
  605. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -16
  606. package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -47
  607. package/design-tokens/legacy-2017/tokens/components/scrollbars.json5 +0 -52
  608. package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -24
  609. package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -44
  610. package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
  611. package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -101
  612. package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -134
  613. package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
  614. package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
  615. package/design-tokens/legacy-2017/tokens/components/timezone.json5 +0 -23
  616. package/design-tokens/legacy-2017/tokens/components/toast.json5 +0 -54
  617. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
  618. package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
  619. package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -15
  620. package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
  621. package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -119
  622. package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
  623. package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -49
  624. package/design-tokens/legacy-2017/tokens/properties/md-typography.json5 +0 -103
  625. package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
  626. package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
  627. package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -184
  628. package/design-tokens/legacy-2017/tokens.d.ts +0 -8520
  629. package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
  630. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
  631. package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -174
  632. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -11
  633. package/design-tokens/pt-2022/tokens/components/button.json5 +0 -142
  634. package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
  635. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -106
  636. package/design-tokens/pt-2022/tokens/components/code-block.json5 +0 -697
  637. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -73
  638. package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -14
  639. package/design-tokens/pt-2022/tokens/components/dl.json5 +0 -38
  640. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -48
  641. package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -92
  642. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -48
  643. package/design-tokens/pt-2022/tokens/components/icon.json5 +0 -104
  644. package/design-tokens/pt-2022/tokens/components/input.json5 +0 -12
  645. package/design-tokens/pt-2022/tokens/components/link.json5 +0 -50
  646. package/design-tokens/pt-2022/tokens/components/list.json5 +0 -13
  647. package/design-tokens/pt-2022/tokens/components/loader-overlay.json5 +0 -23
  648. package/design-tokens/pt-2022/tokens/components/markdown.json5 +0 -294
  649. package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -81
  650. package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -70
  651. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
  652. package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
  653. package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -69
  654. package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -16
  655. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
  656. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -16
  657. package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -48
  658. package/design-tokens/pt-2022/tokens/components/scrollbars.json5 +0 -52
  659. package/design-tokens/pt-2022/tokens/components/select.json5 +0 -24
  660. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -43
  661. package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
  662. package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -101
  663. package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -137
  664. package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
  665. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
  666. package/design-tokens/pt-2022/tokens/components/timezone.json5 +0 -23
  667. package/design-tokens/pt-2022/tokens/components/toast.json5 +0 -54
  668. package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
  669. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
  670. package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -15
  671. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
  672. package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -122
  673. package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
  674. package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -49
  675. package/design-tokens/pt-2022/tokens/properties/md-typography.json5 +0 -103
  676. package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
  677. package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -233
  678. package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -184
  679. package/design-tokens/pt-2022/tokens.d.ts +0 -9851
  680. package/design-tokens/public-api.d.ts +0 -3
  681. package/design-tokens/style-dictionary/build.js +0 -65
  682. package/design-tokens/style-dictionary/configs/css.js +0 -13
  683. package/design-tokens/style-dictionary/configs/index.js +0 -44
  684. package/design-tokens/style-dictionary/configs/js.js +0 -9
  685. package/design-tokens/style-dictionary/configs/scss.js +0 -29
  686. package/design-tokens/style-dictionary/filters/color.js +0 -9
  687. package/design-tokens/style-dictionary/filters/md-typography.js +0 -7
  688. package/design-tokens/style-dictionary/filters/palette.js +0 -7
  689. package/design-tokens/style-dictionary/filters/size.js +0 -7
  690. package/design-tokens/style-dictionary/filters/typography.js +0 -7
  691. package/design-tokens/style-dictionary/formats/palette.js +0 -25
  692. package/design-tokens/style-dictionary/formats/typography.js +0 -52
  693. package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
  694. package/design-tokens/style-dictionary/transformGroups/scss.js +0 -13
  695. package/design-tokens/style-dictionary/transformGroups/ts.js +0 -11
  696. package/design-tokens/style-dictionary/transforms/attribute/md-typography.js +0 -9
  697. package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
  698. package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
  699. package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
  700. package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
  701. package/esm2020/core/formatters/date/templates/en-US.mjs +0 -336
  702. package/esm2020/core/formatters/date/templates/ru-RU.mjs +0 -372
  703. package/esm2020/design-tokens/index.mjs +0 -2
  704. package/esm2020/design-tokens/legacy-2017/tokens.mjs +0 -1814
  705. package/esm2020/design-tokens/pt-2022/tokens.mjs +0 -1883
  706. package/esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs +0 -5
  707. package/esm2020/design-tokens/public-api.mjs +0 -4
  708. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +0 -5517
  709. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
  710. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +0 -5517
  711. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
  712. package/schematics/README.md +0 -35
@@ -0,0 +1,133 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/theming/theming' as *;
5
+ @use '../core/styles/typography/typography-utils' as *;
6
+
7
+ @use '../core/styles/tokens';
8
+
9
+
10
+ $tokens: meta.module-variables(tokens) !default;
11
+
12
+ @mixin mc-form-field-theme($theme) {
13
+ $foreground: map.get($theme, foreground);
14
+ $background: map.get($theme, background);
15
+
16
+ $primary: map.get($theme, primary);
17
+ $secondary: map.get($theme, secondary);
18
+ $error: map.get($theme, error);
19
+
20
+ $form-field: map.get(map.get($theme, components), form-field);
21
+
22
+ .mc-form-field {
23
+ & .mc-form-field__container {
24
+ background-color: map.get($form-field, background);
25
+ }
26
+
27
+ & .mc-form-field__hint {
28
+ color: map.get($foreground, text-less-contrast);
29
+ }
30
+
31
+ &:not(.mc-form-field_without-borders) {
32
+ .mc-form-field__container {
33
+ border-color: map.get($form-field, border);
34
+ }
35
+
36
+ &:hover .mc-form-field__container {
37
+ border-color: map.get($form-field, state-hover-border);
38
+ }
39
+
40
+ &.ng-invalid {
41
+ & .mc-form-field__container {
42
+ border-color: map.get($form-field, state-invalid-border);
43
+ background-color: map.get($form-field, state-invalid-background);
44
+
45
+ .mc-input,
46
+ .mc-textarea {
47
+ color: map.get($foreground, text-error);
48
+ }
49
+ }
50
+ }
51
+
52
+ &.cdk-focused {
53
+ &:not(.ng-invalid) .mc-form-field__container {
54
+ border-color: map.get(map.get($theme, states), focused-color);
55
+ box-shadow: 0 0 0 1px map.get(map.get($theme, states), focused-color);
56
+ }
57
+
58
+ &.ng-invalid .mc-form-field__container {
59
+ box-shadow: 0 0 0 1px mc-color($error);
60
+ }
61
+ }
62
+
63
+ /* stylelint-disable no-descending-specificity */
64
+ &.mc-disabled .mc-form-field__container {
65
+ border-color: map.get($form-field, border);
66
+
67
+ background-color: map.get($background, background-disabled);
68
+
69
+ .mc-icon,
70
+ .mc-input,
71
+ .mc-textarea {
72
+ color: map.get($foreground, text-disabled);
73
+ -webkit-text-fill-color: map.get($foreground, text-disabled);
74
+ }
75
+ }
76
+ /* stylelint-enable no-descending-specificity */
77
+ }
78
+ }
79
+
80
+ .mc-hint {
81
+ &.mc-primary {
82
+ color: mc-color($primary);
83
+ }
84
+
85
+ &.mc-secondary {
86
+ color: mc-color($secondary);
87
+ }
88
+
89
+ &.mc-error {
90
+ color: map.get($foreground, text-error);
91
+ }
92
+ }
93
+
94
+ .mc-password-hint {
95
+ $password-hint: map.get(map.get($theme, components), form-field-password-hint);
96
+
97
+ color: map.get($password-hint, text-color);
98
+
99
+ & .mc-password-hint__icon {
100
+ color: map.get($password-hint, icon-color);
101
+ }
102
+
103
+ &.mc-password-hint_valid {
104
+ color: map.get($password-hint, state-valid-text-color);
105
+
106
+ & .mc-password-hint__icon {
107
+ color: map.get($password-hint, state-valid-icon-color);
108
+ }
109
+ }
110
+
111
+ &.mc-password-hint_invalid {
112
+ color: map.get($password-hint, state-invalid-text-color);
113
+
114
+ & .mc-password-hint__icon {
115
+ color: map.get($password-hint, state-invalid-icon-color);
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ @mixin mc-form-field-typography($config) {
122
+ .mc-form-field {
123
+ @include mc-typography-level-to-styles($config, map.get($tokens, form-field-font-default));
124
+ }
125
+
126
+ .mc-form-field__hint {
127
+ @include mc-typography-level-to-styles($config, map.get($tokens, form-field-hint-font-default));
128
+ }
129
+
130
+ .mc-hint {
131
+ @include mc-typography-level-to-styles($config, caption);
132
+ }
133
+ }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class McCleaner {
4
4
  themePalette: typeof ThemePalette;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<McCleaner, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<McCleaner, "mc-cleaner", ["mcCleaner"], {}, {}, never, never, false>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<McCleaner, "mc-cleaner", ["mcCleaner"], {}, {}, never, never, false, never>;
7
7
  }
@@ -69,11 +69,11 @@ export declare class McFormField extends McFormFieldMixinBase implements AfterCo
69
69
  /** Throws an error if the form field's control is missing. */
70
70
  protected validateControlChild(): void;
71
71
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormField, never>;
72
- 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"], false>;
72
+ 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"], false, never>;
73
73
  }
74
74
  export declare class McFormFieldWithoutBorders {
75
75
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormFieldWithoutBorders, never>;
76
- static ɵdir: i0.ɵɵDirectiveDeclaration<McFormFieldWithoutBorders, "mc-form-field[mcFormFieldWithoutBorders]", ["mcFormFieldWithoutBorders"], {}, {}, never, never, false>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McFormFieldWithoutBorders, "mc-form-field[mcFormFieldWithoutBorders]", ["mcFormFieldWithoutBorders"], {}, {}, never, never, false, never>;
77
77
  }
78
78
  export declare class McTrim {
79
79
  private readonly noTrim;
@@ -83,5 +83,5 @@ export declare class McTrim {
83
83
  trim(value: any): any;
84
84
  private registerOnChange;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<McTrim, [{ attribute: "no-trim"; }, { optional: true; self: true; }]>;
86
- static ɵdir: i0.ɵɵDirectiveDeclaration<McTrim, "[mcInput], [mcTextarea]", ["McTrim"], {}, {}, never, never, false>;
86
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McTrim, "[mcInput], [mcTextarea]", ["McTrim"], {}, {}, never, never, false, never>;
87
87
  }
@@ -0,0 +1,163 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/forms/forms';
5
+
6
+ @use '../core/styles/tokens';
7
+
8
+
9
+ $tokens: meta.module-variables(tokens) !default;
10
+
11
+ .mc-form-field {
12
+ position: relative;
13
+ display: inline-block;
14
+ width: 100%;
15
+ border-radius: var(--mc-form-field-size-border-radius, map.get($tokens, form-field-size-border-radius));
16
+
17
+ &:hover {
18
+ z-index: 1;
19
+ }
20
+
21
+ &.mc-focused {
22
+ z-index: 2;
23
+ }
24
+ }
25
+
26
+ .mc-form-field-type-input-password {
27
+ & .mc-input {
28
+ padding-right: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
29
+ }
30
+ }
31
+
32
+ .mc-hint {
33
+ display: block;
34
+ }
35
+
36
+ .mc-password-hint {
37
+ display: block;
38
+
39
+ padding-left:calc(
40
+ 16px +
41
+ var(--mc-form-field-password-hint-size-icon-margin, map.get($tokens, form-field-password-hint-size-icon-margin))
42
+ );
43
+
44
+ & .mc-icon {
45
+ position: absolute;
46
+
47
+ left: 0;
48
+ }
49
+ }
50
+
51
+ .mc-form-field__hint > .mc-password-hint {
52
+ margin-top: var(
53
+ --mc-form-field-password-hint-size-margin-top, map.get($tokens, form-field-password-hint-size-margin-top)
54
+ );
55
+ }
56
+
57
+ .mc-form-field__hint > .mc-hint {
58
+ margin-top: var(--mc-form-field-hint-size-margin-top, map.get($tokens, form-field-hint-size-margin-top));
59
+ }
60
+
61
+ .mc-form-field__container {
62
+ position: relative;
63
+
64
+ border-width: var(--mc-form-field-size-border-width, map.get($tokens, form-field-size-border-width));
65
+ border-style: solid;
66
+ border-color: transparent;
67
+ border-radius: var(--mc-form-field-size-border-radius, map.get($tokens, form-field-size-border-radius));
68
+ }
69
+
70
+ .mc-form-field_without-borders .mc-form-field__container {
71
+ border: {
72
+ color: transparent;
73
+ }
74
+ }
75
+
76
+ .mc-form-field__prefix,
77
+ .mc-form-field__suffix {
78
+ position: absolute;
79
+ top: 0;
80
+ bottom: 0;
81
+ width: 32px;
82
+
83
+ display: flex;
84
+ flex-direction: row;
85
+ justify-content: center;
86
+ align-items: center;
87
+ }
88
+
89
+ .mc-form-field__prefix {
90
+ left: 0;
91
+ }
92
+
93
+ .mc-form-field__suffix {
94
+ right: 0;
95
+ }
96
+
97
+ .mc-form-field_has-suffix,
98
+ .mc-form-field_has-cleaner,
99
+ .mc-form-field_has-stepper {
100
+ .mc-input {
101
+ padding-right: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
102
+ }
103
+ }
104
+
105
+ .mc-form-field_has-prefix {
106
+ .mc-input {
107
+ padding-left: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
108
+ }
109
+ }
110
+
111
+ .mc-cleaner {
112
+ display: flex;
113
+
114
+ width: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
115
+ height: 100%;
116
+
117
+ cursor: pointer;
118
+
119
+ & .mc-icon {
120
+ display: flex;
121
+ align-items: center;
122
+ justify-content: center;
123
+
124
+ width: 100%;
125
+ height: 100%;
126
+ }
127
+ }
128
+
129
+ .mc-form-field__cleaner {
130
+ .mc-cleaner {
131
+ position: absolute;
132
+
133
+ top: 0;
134
+ bottom: 0;
135
+ right: 0;
136
+ }
137
+ }
138
+
139
+ mc-stepper {
140
+ position: absolute;
141
+
142
+ display: flex;
143
+ flex-direction: column;
144
+ justify-content: center;
145
+ align-items: center;
146
+
147
+ top: 0;
148
+ bottom: 0;
149
+ right: 0;
150
+
151
+ width: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
152
+
153
+ .mc-stepper-step-up,
154
+ .mc-stepper-step-down {
155
+ cursor: pointer;
156
+ width: var(--mc-form-field-size-button-width, map.get($tokens, form-field-size-button-width));
157
+ text-align: center;
158
+ }
159
+
160
+ .mc-stepper-step-up {
161
+ transform: scaleY(-1);
162
+ }
163
+ }
@@ -12,5 +12,5 @@ export declare class McHint extends McHintMixinBase {
12
12
  id: string;
13
13
  constructor(elementRef: ElementRef);
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<McHint, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<McHint, "mc-hint", never, { "color": "color"; "id": "id"; }, {}, never, never, false>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McHint, "mc-hint", never, { "color": "color"; "id": "id"; }, {}, never, never, false, never>;
16
16
  }
@@ -35,5 +35,5 @@ export declare class McPasswordHint implements AfterContentInit {
35
35
  private checkSpecialSymbolsRegexRule;
36
36
  private isValueChanged;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<McPasswordHint, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<McPasswordHint, "mc-password-hint", never, { "id": "id"; "rule": "rule"; "min": "min"; "max": "max"; "regex": "regex"; }, {}, never, ["*"], false, never>;
39
39
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class McPrefix {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<McPrefix, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<McPrefix, "[mcPrefix]", never, {}, {}, never, never, false>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McPrefix, "[mcPrefix]", never, {}, {}, never, never, false, never>;
5
5
  }
@@ -7,5 +7,5 @@ export declare class McStepper {
7
7
  onStepUp($event: MouseEvent): void;
8
8
  onStepDown($event: MouseEvent): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<McStepper, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<McStepper, "mc-stepper", never, {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, false>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<McStepper, "mc-stepper", never, {}, { "stepUp": "stepUp"; "stepDown": "stepDown"; }, never, never, false, never>;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class McSuffix {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<McSuffix, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<McSuffix, "[mcSuffix]", never, {}, {}, never, never, false>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McSuffix, "[mcSuffix]", never, {}, {}, never, never, false, never>;
5
5
  }
@@ -29,5 +29,5 @@ export declare class McValidateDirective implements AfterContentInit {
29
29
  setMosaicValidationForModelControl(): void;
30
30
  setMosaicValidationForFormControl(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<McValidateDirective, [null, { optional: true; self: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<McValidateDirective, " input[mcInput], input[mcInputPassword], input[mcTimepicker], input[mcDatepicker], textarea[mcTextarea], mc-select, mc-tree-select, mc-tag-list ", ["McValidate"], {}, {}, never, never, false>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McValidateDirective, " input[mcInput], input[mcInputPassword], input[mcTimepicker], input[mcDatepicker], textarea[mcTextarea], mc-select, mc-tree-select, mc-tag-list ", ["McValidate"], {}, {}, never, never, false, never>;
33
33
  }
@@ -0,0 +1,152 @@
1
+ @use 'sass:map';
2
+
3
+ @use '../core/styles/theming/theming' as *;
4
+
5
+
6
+ @mixin mc-icon-theme($theme) {
7
+ $foreground: map.get($theme, foreground);
8
+
9
+ $icon: map.get(map.get($theme, components), icon);
10
+
11
+ $primary: map.get($icon, primary);
12
+ $secondary: map.get($icon, secondary);
13
+ $error: map.get($icon, error);
14
+ $success: map.get($icon, success);
15
+ $warning: map.get($icon, warning);
16
+ $info: map.get($icon, info);
17
+
18
+ // Дефолтные серые иконки default-icon: лупа в поле, иконки дропдаунов v, все иконки вне полей.
19
+ .mc-icon {
20
+ color: mc-color($foreground, icon);
21
+
22
+ &.mc-primary {
23
+ color: map.get($primary, default);
24
+ }
25
+
26
+ &.mc-secondary {
27
+ color: map.get($secondary, default);
28
+ }
29
+
30
+ &.mc-error {
31
+ color: map.get($error, default);
32
+ }
33
+
34
+
35
+ &.mc-info {
36
+ color: map.get($info, default);
37
+ }
38
+
39
+ &.mc-warning {
40
+ color: map.get($warning, default);
41
+ }
42
+
43
+ &.mc-success {
44
+ color: map.get($success, default);
45
+ }
46
+
47
+ &[disabled],
48
+ &.mc-disabled {
49
+ cursor: default;
50
+ }
51
+ }
52
+
53
+ // Облегченные серые иконки less-contrast-icon нужны тогда, когда действие, которое они делают не дефолтное и
54
+ // не самое важное. Не используются вне инпутов или селектов.
55
+ .mc-icon.mc-icon_light {
56
+ &.mc-primary {
57
+ &:active,
58
+ &.mc-active {
59
+ color: map.get($primary, state-active);
60
+ }
61
+
62
+ &:not([disabled], .mc-disabled):hover {
63
+ color: map.get($primary, state-hover);
64
+ }
65
+
66
+ &[disabled],
67
+ &.mc-disabled {
68
+ color: map.get($primary, state-disabled);
69
+ }
70
+ }
71
+
72
+ &.mc-secondary {
73
+ &:active,
74
+ &.mc-active {
75
+ color: map.get($secondary, state-active);
76
+ }
77
+
78
+ &:not([disabled], .mc-disabled):hover {
79
+ color: map.get($secondary, state-hover);
80
+ }
81
+
82
+ &[disabled],
83
+ &.mc-disabled {
84
+ color: map.get($secondary, state-disabled);
85
+ }
86
+ }
87
+
88
+ &.mc-error {
89
+ &:active,
90
+ &.mc-active {
91
+ color: map.get($error, state-active);
92
+ }
93
+
94
+ &:not([disabled], .mc-disabled):hover {
95
+ color: map.get($error, state-hover);
96
+ }
97
+
98
+ &[disabled],
99
+ &.mc-disabled {
100
+ color: map.get($error, state-disabled);
101
+ }
102
+ }
103
+
104
+ &.mc-info {
105
+ &:active,
106
+ &.mc-active {
107
+ color: map.get($info, state-active);
108
+ }
109
+
110
+ &:not([disabled], .mc-disabled):hover {
111
+ color: map.get($info, state-hover);
112
+ }
113
+
114
+ &[disabled],
115
+ &.mc-disabled {
116
+ color: map.get($info, state-disabled);
117
+ }
118
+ }
119
+
120
+ &.mc-warning {
121
+ &:active,
122
+ &.mc-active {
123
+ color: map.get($warning, state-active);
124
+ }
125
+
126
+ &:not([disabled], .mc-disabled):hover {
127
+ color: map.get($warning, state-hover);
128
+ }
129
+
130
+ &[disabled],
131
+ &.mc-disabled {
132
+ color: map.get($warning, state-disabled);
133
+ }
134
+ }
135
+
136
+ &.mc-success {
137
+ &:active,
138
+ &.mc-active {
139
+ color: map.get($success, state-active);
140
+ }
141
+
142
+ &:not([disabled], .mc-disabled):hover {
143
+ color: map.get($success, state-hover);
144
+ }
145
+
146
+ &[disabled],
147
+ &.mc-disabled {
148
+ color: map.get($success, state-disabled);
149
+ }
150
+ }
151
+ }
152
+ }
@@ -3,7 +3,7 @@ import { CanColor, CanColorCtor } from '@ptsecurity/mosaic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class McIconCSSStyler {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<McIconCSSStyler, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<McIconCSSStyler, "[mc-icon]", never, {}, {}, never, never, false>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McIconCSSStyler, "[mc-icon]", never, {}, {}, never, never, false, never>;
7
7
  }
8
8
  /** @docs-private */
9
9
  export declare class McIconBase {
@@ -16,5 +16,5 @@ export declare class McIcon extends McIconMixinBase implements CanColor {
16
16
  constructor(elementRef: ElementRef, iconName: string);
17
17
  getHostElement(): any;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<McIcon, [null, { attribute: "mc-icon"; }]>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<McIcon, "[mc-icon]", never, { "color": "color"; }, {}, never, ["*"], false>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<McIcon, "[mc-icon]", never, { "color": "color"; }, {}, never, ["*"], false, never>;
20
20
  }
package/icon/icon.scss ADDED
@@ -0,0 +1,30 @@
1
+ @mixin mc-icon-size($padding, $line-height, $font-size) {
2
+ padding: $padding;
3
+ line-height: $line-height;
4
+ font-size: $font-size;
5
+ }
6
+
7
+
8
+ .mc-icon-rotate_90 {
9
+ transform: rotate(90deg);
10
+ }
11
+
12
+ .mc-icon-rotate_180 {
13
+ transform: rotate(180deg);
14
+ }
15
+
16
+ .mc-icon-rotate_270 {
17
+ transform: rotate(270deg);
18
+ }
19
+
20
+ .mc-icon-flip-h {
21
+ transform: scaleY(-1);
22
+ }
23
+
24
+ .mc-icon-flip-v {
25
+ transform: scaleX(-1);
26
+ }
27
+
28
+ .mc-icon-flip-vh {
29
+ transform: scale(-1);
30
+ }
@@ -0,0 +1,21 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/common/input';
5
+
6
+ @use '../core/styles/tokens';
7
+
8
+
9
+ $tokens: meta.module-variables(tokens) !default;
10
+
11
+ %mc-input-field-base {
12
+ @include input.mc-reset-input();
13
+
14
+ width: var(--mc-input-size-width, map.get($tokens, input-size-width));
15
+ min-height: calc(
16
+ var(--mc-form-field-size-height, map.get($tokens, form-field-size-height)) -
17
+ (var(--mc-form-field-size-border-width, map.get($tokens, form-field-size-border-width)) * 2)
18
+ );
19
+
20
+ padding: var(--mc-input-size-padding, map.get($tokens, input-size-padding));
21
+ }
@@ -0,0 +1,58 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../core/styles/typography/typography-utils' as *;
5
+
6
+ @use '../core/styles/tokens';
7
+
8
+
9
+ $tokens: meta.module-variables(tokens) !default;
10
+
11
+ @mixin mc-input-theme($theme) {
12
+ $foreground: map.get($theme, foreground);
13
+
14
+ .mc-input {
15
+ color: map.get($foreground, text);
16
+
17
+ &::placeholder {
18
+ color: map.get($foreground, text-disabled);
19
+ }
20
+
21
+ &::-ms-input-placeholder {
22
+ color: map.get($foreground, text-disabled);
23
+ }
24
+
25
+ &::-webkit-input-placeholder {
26
+ color: map.get($foreground, text-disabled);
27
+ }
28
+ }
29
+
30
+ .mc-password-toggle {
31
+ color: map.get($foreground, icon);
32
+
33
+ &:hover {
34
+ color: map.get($foreground, text);
35
+ }
36
+
37
+ &[disabled] {
38
+ cursor: default;
39
+
40
+ color: map.get($foreground, text-disabled);
41
+ }
42
+
43
+ &.cdk-keyboard-focused {
44
+ border-color: map.get(map.get($theme, states), focused-color);
45
+ box-shadow: 0 0 0 1px map.get(map.get($theme, states), focused-color);
46
+ }
47
+ }
48
+ }
49
+
50
+ @mixin mc-input-typography($config) {
51
+ .mc-input {
52
+ @include mc-typography-level-to-styles($config, map.get($tokens, input-font-default));
53
+ }
54
+
55
+ .mc-input.mc-input_monospace {
56
+ @include mc-typography-level-to-styles($config, map.get($tokens, input-font-monospace));
57
+ }
58
+ }
@@ -15,7 +15,7 @@ export declare class MinValidator implements Validator, OnChanges {
15
15
  registerOnValidatorChange(fn: () => void): void;
16
16
  private createValidator;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MinValidator, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "[min][formControlName],[min][formControl],[min][ngModel]", never, { "min": "min"; }, {}, never, never, false>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinValidator, "[min][formControlName],[min][formControl],[min][ngModel]", never, { "min": "min"; }, {}, never, never, false, never>;
19
19
  }
20
20
  export declare const MAX_VALIDATOR: Provider;
21
21
  /**
@@ -31,5 +31,5 @@ export declare class MaxValidator implements Validator, OnChanges {
31
31
  registerOnValidatorChange(fn: () => void): void;
32
32
  private createValidator;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MaxValidator, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "[max][formControlName],[max][formControl],[max][ngModel]", never, { "max": "max"; }, {}, never, never, false>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValidator, "[max][formControlName],[max][formControl],[max][ngModel]", never, { "max": "max"; }, {}, never, never, false, never>;
35
35
  }
@@ -29,5 +29,5 @@ export declare class McNumberInput {
29
29
  stepDown(step: number): void;
30
30
  private viewToModelUpdate;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<McNumberInput, [null, { optional: true; self: true; }, { attribute: "step"; }, { attribute: "big-step"; }, { attribute: "min"; }, { attribute: "max"; }]>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<McNumberInput, "input[mcInput][type=\"number\"]", ["mcNumericalInput"], { "bigStep": "bigStep"; "step": "step"; "min": "min"; "max": "max"; }, {}, never, never, false>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McNumberInput, "input[mcInput][type=\"number\"]", ["mcNumericalInput"], { "bigStep": "bigStep"; "step": "step"; "min": "min"; "max": "max"; }, {}, never, never, false, never>;
33
33
  }