@ptsecurity/mosaic 14.7.1 → 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 (727) 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 -78
  682. package/design-tokens/style-dictionary/configs/css.js +0 -13
  683. package/design-tokens/style-dictionary/configs/figma.js +0 -11
  684. package/design-tokens/style-dictionary/configs/index.js +0 -46
  685. package/design-tokens/style-dictionary/configs/js.js +0 -9
  686. package/design-tokens/style-dictionary/configs/scss.js +0 -29
  687. package/design-tokens/style-dictionary/figma-types.js +0 -41
  688. package/design-tokens/style-dictionary/filters/color.js +0 -9
  689. package/design-tokens/style-dictionary/filters/md-typography.js +0 -7
  690. package/design-tokens/style-dictionary/filters/palette.js +0 -7
  691. package/design-tokens/style-dictionary/filters/size.js +0 -7
  692. package/design-tokens/style-dictionary/filters/typography.js +0 -7
  693. package/design-tokens/style-dictionary/formats/figma.js +0 -104
  694. package/design-tokens/style-dictionary/formats/palette.js +0 -25
  695. package/design-tokens/style-dictionary/formats/typography.js +0 -52
  696. package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
  697. package/design-tokens/style-dictionary/transformGroups/figma.js +0 -21
  698. package/design-tokens/style-dictionary/transformGroups/scss.js +0 -13
  699. package/design-tokens/style-dictionary/transformGroups/ts.js +0 -11
  700. package/design-tokens/style-dictionary/transforms/attribute/figma-border.js +0 -18
  701. package/design-tokens/style-dictionary/transforms/attribute/figma-color.js +0 -25
  702. package/design-tokens/style-dictionary/transforms/attribute/figma-default.js +0 -10
  703. package/design-tokens/style-dictionary/transforms/attribute/figma-font.js +0 -31
  704. package/design-tokens/style-dictionary/transforms/attribute/figma-group.js +0 -17
  705. package/design-tokens/style-dictionary/transforms/attribute/figma-opacity.js +0 -10
  706. package/design-tokens/style-dictionary/transforms/attribute/figma-shadow.js +0 -66
  707. package/design-tokens/style-dictionary/transforms/attribute/figma-sizing.js +0 -16
  708. package/design-tokens/style-dictionary/transforms/attribute/figma-spacing.js +0 -15
  709. package/design-tokens/style-dictionary/transforms/attribute/figma-typography.js +0 -24
  710. package/design-tokens/style-dictionary/transforms/attribute/md-typography.js +0 -9
  711. package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
  712. package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
  713. package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
  714. package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
  715. package/design-tokens/style-dictionary/transforms/value/figma-values.js +0 -7
  716. package/esm2020/core/formatters/date/templates/en-US.mjs +0 -336
  717. package/esm2020/core/formatters/date/templates/ru-RU.mjs +0 -372
  718. package/esm2020/design-tokens/index.mjs +0 -2
  719. package/esm2020/design-tokens/legacy-2017/tokens.mjs +0 -1814
  720. package/esm2020/design-tokens/pt-2022/tokens.mjs +0 -1883
  721. package/esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs +0 -5
  722. package/esm2020/design-tokens/public-api.mjs +0 -4
  723. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +0 -5517
  724. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
  725. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +0 -5517
  726. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +0 -1
  727. package/schematics/README.md +0 -35
@@ -1,270 +1,9 @@
1
- import { DateAdapter, DurationUnit } from '@ptsecurity/cdk/datetime';
1
+ import { DateAdapter } from '@mosaic-design/date-adapter';
2
+ import { DateFormatter as BaseDateFormatter } from '@mosaic-design/date-formatter';
2
3
  import * as i0 from "@angular/core";
3
- /**
4
- * interface for absolute date or datetime formatter template
5
- */
6
- export interface FormatterAbsoluteTemplate {
7
- variables?: {
8
- [name: string]: string;
9
- };
10
- DATE: string;
11
- DATETIME: string;
12
- }
13
- /**
14
- * interface for range date or datetime formatter template
15
- */
16
- export interface FormatterRangeTemplate {
17
- variables?: {
18
- [name: string]: string;
19
- };
20
- START_DATE: string;
21
- END_DATE: string;
22
- DATE: string;
23
- START_DATETIME: string;
24
- END_DATETIME: string;
25
- DATETIME: string;
26
- }
27
- /**
28
- * interface for relative date or datetime formatter template
29
- */
30
- export interface FormatterRelativeTemplate {
31
- variables?: {
32
- [name: string]: string;
33
- };
34
- BEFORE_YESTERDAY: string;
35
- YESTERDAY: string;
36
- TODAY: string;
37
- TOMORROW: string;
38
- AFTER_TOMORROW: string;
39
- }
40
- /**
41
- * interface for duration of dates numeric formatter template
42
- */
43
- export interface FormatterDurationNumbersTemplate {
44
- variables?: {
45
- [name: string]: string;
46
- };
47
- FULL: string;
48
- ONLY_MINUTES: string;
49
- }
50
- /**
51
- * interface for duration of dates text formatter template
52
- */
53
- export interface FormatterDurationTemplate {
54
- variables?: {
55
- [name: string]: string;
56
- };
57
- YEARS: string;
58
- MONTHS: string;
59
- WEEKS: string;
60
- DAYS: string;
61
- HOURS: string;
62
- MINUTES: string;
63
- SECONDS: string;
64
- SEPARATOR: string;
65
- YEARS_FRACTION: string;
66
- MONTHS_FRACTION: string;
67
- }
68
- export interface DateTimeOptions {
69
- seconds?: boolean;
70
- milliseconds?: boolean;
71
- currYear?: boolean;
72
- }
73
- export interface FormatterConfig {
74
- relativeTemplates: {
75
- short: FormatterRelativeTemplate;
76
- long: FormatterRelativeTemplate;
77
- };
78
- absoluteTemplates: {
79
- short: FormatterAbsoluteTemplate;
80
- long: FormatterAbsoluteTemplate;
81
- };
82
- rangeTemplates: {
83
- closedRange: {
84
- short: FormatterRangeTemplate;
85
- middle: FormatterRangeTemplate;
86
- long: FormatterRangeTemplate;
87
- };
88
- openedRange: {
89
- short: FormatterRangeTemplate;
90
- long: FormatterRangeTemplate;
91
- };
92
- };
93
- durationTemplates: {
94
- shortest: FormatterDurationNumbersTemplate;
95
- short: FormatterDurationTemplate;
96
- long: FormatterDurationTemplate;
97
- };
98
- }
99
- export declare class DateFormatter<D> {
100
- private readonly adapter;
101
- config: FormatterConfig;
102
- private readonly invalidDateErrorText;
103
- private messageFormat;
4
+ export declare class DateFormatter<D> extends BaseDateFormatter<D> {
5
+ readonly adapter: DateAdapter<D>;
104
6
  constructor(adapter: DateAdapter<D>, locale: string);
105
- setLocale(locale: string): void;
106
- /**
107
- * @param date - date
108
- * @param template - template
109
- * @param seconds - use seconds
110
- * @param milliseconds - use milliseconds
111
- * @returns relative date by template
112
- */
113
- relativeDate(date: D, template: FormatterRelativeTemplate, seconds?: boolean, milliseconds?: boolean): string;
114
- /**
115
- * @param date - date
116
- * @returns relative date in short format
117
- */
118
- relativeShortDate(date: D): string;
119
- /**
120
- * @param date - date
121
- * @returns relative date in long format
122
- */
123
- relativeLongDate(date: D): string;
124
- /**
125
- * @param date - date
126
- * @param options - DateTimeOptions
127
- * @returns relative date in short format with time
128
- */
129
- relativeShortDateTime(date: D, options?: DateTimeOptions): string;
130
- /**
131
- * @param date - date
132
- * @param options - DateTimeOptions
133
- * @returns relative date in long format with time
134
- */
135
- relativeLongDateTime(date: D, options?: DateTimeOptions): string;
136
- /**
137
- * @param date - date
138
- * @param params - parameters
139
- * @param datetime - should time be shown as well
140
- * @param seconds - should time with seconds be shown as well
141
- * @param milliseconds - should time with milliseconds be shown as well
142
- * @param currYear - should current year be shown as well
143
- */
144
- absoluteDate(date: D, params: FormatterAbsoluteTemplate, datetime?: boolean, seconds?: boolean, milliseconds?: boolean, currYear?: boolean): string;
145
- /**
146
- * @param date - date
147
- * @param currYear - should the year be shown forced
148
- * @returns absolute date in short format
149
- */
150
- absoluteShortDate(date: D, currYear?: boolean): string;
151
- /**
152
- * @param date - date
153
- * @param options - DateTimeOptions
154
- * @returns absolute date in short format with time
155
- */
156
- absoluteShortDateTime(date: D, options?: DateTimeOptions): string;
157
- /**
158
- * @param date - date
159
- * @param currYear - should the year be shown forced
160
- * @returns absolute date in long format
161
- */
162
- absoluteLongDate(date: D, currYear?: boolean): string;
163
- /**
164
- * @param date - date
165
- * @param options - DateTimeOptions
166
- * @returns absolute date in long format with time
167
- */
168
- absoluteLongDateTime(date: D, options?: DateTimeOptions): string;
169
- /**
170
- * @param startDate - start date
171
- * @param endDate - end date
172
- * @param template - template
173
- * @returns opened date
174
- */
175
- openedRangeDate(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate): string;
176
- /**
177
- * @param startDate - start date
178
- * @param endDate - end date
179
- * @param template - template
180
- * @param seconds - should time with seconds be shown as well
181
- * @param milliseconds - should time with milliseconds be shown as well
182
- * @returns opened date
183
- */
184
- openedRangeDateTime(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
185
- /**
186
- * @param startDate - start date
187
- * @param endDate - end date
188
- * @param template - template
189
- * @returns range date in template format
190
- */
191
- rangeDate(startDate: D, endDate: D, template: FormatterRangeTemplate): string;
192
- /**
193
- * @param startDate - start date
194
- * @param endDate - end date
195
- * @param template - template
196
- * @param seconds - use seconds
197
- * @param milliseconds - use milliseconds
198
- * @returns range date in template format with time
199
- */
200
- rangeDateTime(startDate: D, endDate: D, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
201
- /**
202
- * @param startDate - start date
203
- * @param endDate - end date
204
- * @returns range date in short format
205
- */
206
- rangeShortDate(startDate: D | null, endDate?: D): string;
207
- /**
208
- * @param startDate - start date
209
- * @param endDate - end date
210
- * @param options - DateTimeOptions
211
- * @returns range date in short format with time
212
- */
213
- rangeShortDateTime(startDate: D | null, endDate?: D | null, options?: DateTimeOptions): string;
214
- /**
215
- * @param startDate - start date
216
- * @param endDate - end date
217
- * @returns range date in long format
218
- */
219
- rangeLongDate(startDate: D | null, endDate?: D | null): string;
220
- /**
221
- * @param startDate - start date
222
- * @param endDate - end date
223
- * @param options - DateTimeOptions
224
- * @returns range date in long format with time
225
- */
226
- rangeLongDateTime(startDate: D | null, endDate?: D, options?: DateTimeOptions): string;
227
- /**
228
- * @param startDate - start date
229
- * @param endDate - end date
230
- * @param options - DateTimeOptions
231
- * @returns range middle date with time
232
- */
233
- rangeMiddleDateTime(startDate: D, endDate: D, options?: DateTimeOptions): string;
234
- /**
235
- * @param startDate - start date
236
- * @param endDate - end date
237
- * @param seconds - add seconds to formatted value
238
- * @param milliseconds - add milliseconds to formatted value
239
- * @returns formatted duration as string like 48:02:25
240
- */
241
- durationShortest(startDate: D, endDate: D, seconds?: boolean, milliseconds?: boolean): string;
242
- /**
243
- * @param startDate - start date
244
- * @param endDate - end date
245
- * @param units - if defined, units to show will be specified
246
- * @param fraction - shows fraction part for years and months
247
- * @param template - specify template
248
- * @returns formatted duration as string
249
- */
250
- duration(startDate: D, endDate: D, units: DurationUnit[], fraction: any, template: FormatterDurationTemplate): string;
251
- durationLong(startDate: D, endDate: D, units?: DurationUnit[], fraction?: boolean): string;
252
- durationShort(startDate: D, endDate: D, units?: DurationUnit[], fraction?: boolean): string;
253
- private checkDates;
254
- private compileMessage;
255
- /**
256
- * @param date - date for compile
257
- * @param variables - date template variables
258
- * @param currYearForced - param for absolute days formatting
259
- * @returns compiledVariables
260
- */
261
- private compileVariables;
262
- private isBeforeYesterday;
263
- private isYesterday;
264
- private isToday;
265
- private isTomorrow;
266
- private isAfterTomorrow;
267
- private hasSame;
268
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, never>;
269
8
  static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
270
9
  }
@@ -1,6 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { DateAdapter } from '@ptsecurity/cdk/datetime';
3
- import { DateFormatter, DateTimeOptions } from './formatter';
2
+ import { DateTimeOptions } from '@mosaic-design/date-formatter';
3
+ import { DateAdapter } from '../../datetime';
4
+ import { DateFormatter } from './formatter';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AbsoluteDateFormatterPipe<D> implements PipeTransform {
6
7
  private adapter;
@@ -0,0 +1,32 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../styles/typography' as *;
5
+ @use '../styles/tokens';
6
+
7
+
8
+ $tokens: meta.module-variables(tokens) !default;
9
+
10
+ @mixin mc-forms-theme($theme) {
11
+ $foreground: map.get($theme, foreground);
12
+
13
+ $forms: map.get(map.get($theme, components), forms);
14
+
15
+ .mc-form__label {
16
+ color: map.get($forms, label);
17
+ }
18
+
19
+ .mc-form__legend {
20
+ color: map.get($forms, legend);
21
+ }
22
+ }
23
+
24
+ @mixin mc-forms-typography($config) {
25
+ .mc-form__label {
26
+ @include mc-typography-level-to-styles($config, map.get($tokens, forms-font-default-label));
27
+ }
28
+
29
+ .mc-form__legend {
30
+ @include mc-typography-level-to-styles($config, map.get($tokens, forms-font-default-legend));
31
+ }
32
+ }
@@ -0,0 +1,109 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../styles/common/vendor-prefixes';
5
+ @use '../styles/typography/typography' as *;
6
+ @use '../styles/typography/typography-utils' as *;
7
+ @use '../styles/tokens';
8
+
9
+ $tokens: meta.module-variables(tokens) !default;
10
+
11
+ .mc-form {
12
+ display: flex;
13
+ flex-direction: column;
14
+ }
15
+
16
+ .mc-form__row {
17
+ display: flex;
18
+ flex-direction: row;
19
+ }
20
+
21
+ .mc-form-horizontal {
22
+ $config: mc-typography-config($tokens);
23
+
24
+ $line-height: mc-line-height($config, body);
25
+
26
+ $form-field-size-height: map.get($tokens, form-field-size-height);
27
+
28
+ $label-padding-top: calc(($form-field-size-height - $line-height) / 2);
29
+
30
+ & .mc-form-row_margin {
31
+ margin-bottom: var(
32
+ --mc-forms-size-horizontal-row-margin-bottom, #{map.get($tokens, forms-size-horizontal-row-margin-bottom)}
33
+ );
34
+ }
35
+
36
+ & .mc-form__label {
37
+ padding-top: var(--mc-forms-size-horizontal-label-padding-top, #{$label-padding-top});
38
+
39
+ text-align: end;
40
+ }
41
+
42
+ & .mc-form__control {
43
+ padding-left: var(
44
+ --mc-forms-size-horizontal-control-padding-left,
45
+ #{map.get($tokens, forms-size-horizontal-control-padding-left)}
46
+ );
47
+ }
48
+
49
+ & .mc-form__legend {
50
+ margin-top: var(
51
+ --mc-forms-size-horizontal-legend-margin-top, #{map.get($tokens, forms-size-horizontal-legend-margin-top)}
52
+ );
53
+ margin-bottom: var(
54
+ --mc-forms-size-horizontal-legend-margin-bottom,
55
+ #{map.get($tokens, forms-size-horizontal-legend-margin-bottom)}
56
+ );
57
+ }
58
+ }
59
+
60
+ .mc-form-vertical {
61
+ & .mc-form__row {
62
+ flex-direction: column;
63
+ }
64
+
65
+ & .mc-form-row_margin {
66
+ margin-bottom: var(
67
+ --mc-forms-size-vertical-row-margin-bottom, #{map.get($tokens, forms-size-vertical-row-margin-bottom)}
68
+ );
69
+ }
70
+
71
+ & .mc-form__label {
72
+ padding-top: var(
73
+ --mc-forms-size-vertical-label-padding-top, #{map.get($tokens, forms-size-vertical-label-padding-top)}
74
+ );
75
+ padding-bottom: var(
76
+ --mc-forms-size-vertical-label-padding-bottom, #{map.get($tokens, forms-size-vertical-label-padding-bottom)}
77
+ );
78
+
79
+ text-align: start;
80
+ }
81
+
82
+ & .mc-form__control {
83
+ padding-left: 0;
84
+ }
85
+
86
+ & .mc-form__legend {
87
+ margin-top: var(
88
+ --mc-forms-size-vertical-legend-margin-top, #{map.get($tokens, forms-size-vertical-legend-margin-top)}
89
+ );
90
+ margin-bottom: var(
91
+ --mc-forms-size-vertical-legend-margin-bottom, #{map.get($tokens, forms-size-vertical-legend-margin-bottom)}
92
+ );
93
+ }
94
+ }
95
+
96
+ .mc-form__fieldset {
97
+ display: flex;
98
+ flex-direction: column;
99
+ }
100
+
101
+ .mc-form__fieldset.mc-horizontal {
102
+ flex-direction: row;
103
+
104
+ & .mc-form__row:not(:first-child) {
105
+ padding-left: var(
106
+ --mc-forms-size-vertical-control-padding-left, #{map.get($tokens, forms-size-vertical-control-padding-left)}
107
+ );
108
+ }
109
+ }
@@ -11,12 +11,12 @@ export declare class McFormElement implements AfterContentInit {
11
11
  constructor(element: ElementRef<HTMLElement>);
12
12
  ngAfterContentInit(): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<McFormElement, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McFormElement, ".mc-form__row, .mc-form__fieldset, .mc-form__legend", ["mcFormElement"], {}, {}, ["elements"], never, false, never>;
15
15
  }
16
16
  export declare class McForm implements AfterContentInit {
17
17
  elements: QueryList<McFormElement>;
18
18
  ngAfterContentInit(): void;
19
19
  handleElements(elements: QueryList<McFormElement>): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<McForm, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McForm, ".mc-form-vertical, .mc-form-horizontal", ["mcForm"], {}, {}, ["elements"], never, false, never>;
22
22
  }
@@ -0,0 +1,10 @@
1
+
2
+
3
+ @mixin mc-highlight-theme($theme) {
4
+ .mc-highlight {
5
+ color: inherit;
6
+
7
+ font-weight: bold;
8
+ background-color: transparent;
9
+ }
10
+ }
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class McLine {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<McLine, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McLine, "[mc-line], [mcLine]", never, {}, {}, never, never, false, never>;
11
11
  }
12
12
  /**
13
13
  * Helper that takes a query list of lines and sets the correct class on the host.
@@ -0,0 +1,26 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../styles/typography' as *;
5
+ @use '../styles/tokens';
6
+
7
+
8
+ $tokens: meta.module-variables(tokens) !default;
9
+
10
+ @mixin mc-optgroup-theme($theme) {
11
+ $foreground: map.get($theme, foreground);
12
+
13
+ .mc-optgroup-label {
14
+ color: map.get($foreground, text);
15
+ }
16
+
17
+ .mc-disabled .mc-optgroup-label {
18
+ color: map.get($foreground, text-disabled);
19
+ }
20
+ }
21
+
22
+ @mixin mc-optgroup-typography($config) {
23
+ .mc-optgroup-label {
24
+ @include mc-typography-level-to-styles($config, map.get($tokens, optgroup-font-default));
25
+ }
26
+ }
@@ -0,0 +1,41 @@
1
+ @use 'sass:map';
2
+
3
+ @use '../styles/theming/theming' as *;
4
+ @use '../styles/typography/typography-utils' as *;
5
+
6
+
7
+ @mixin mc-option-action-theme($theme) {
8
+ $foreground: map.get($theme, foreground);
9
+ $background: map.get($theme, background);
10
+
11
+ $secondary: map.get($theme, secondary);
12
+
13
+ $is-dark: map.get($theme, is-dark);
14
+
15
+ .mc-option-action {
16
+ &.cdk-keyboard-focused {
17
+ border-color: map.get(map.get($theme, states), focused-color);
18
+ }
19
+
20
+ &:active,
21
+ &.mc-pressed {
22
+ & .mc-icon {
23
+ color: mc-color($secondary, if($is-dark, 300, 700));
24
+ }
25
+
26
+ background-color: mc-color($secondary, A100);
27
+ }
28
+
29
+ &:hover .mc-icon {
30
+ color: mc-color($secondary, if($is-dark, 300, 700));
31
+ }
32
+
33
+ &[disabled] {
34
+ & .mc-icon {
35
+ color: mc-color($secondary, if($is-dark, 700, 300));
36
+ }
37
+
38
+ background-color: transparent;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,46 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../styles/typography' as *;
5
+
6
+ @use '../styles/tokens';
7
+
8
+
9
+ $tokens: meta.module-variables(tokens) !default;
10
+
11
+ @mixin mc-option-theme($theme) {
12
+ $foreground: map.get($theme, foreground);
13
+ $background: map.get($theme, background);
14
+
15
+ $primary: map.get($theme, primary);
16
+
17
+ .mc-option {
18
+ color: map.get($foreground, text);
19
+
20
+ &:hover:not(.mc-disabled) {
21
+ .mc-option-overlay {
22
+ background: map.get($background, overlay-hover);
23
+ }
24
+ }
25
+
26
+ &.mc-active {
27
+ border-color: map.get(map.get($theme, states), focused-color);
28
+ }
29
+
30
+ &.mc-selected {
31
+ background: map.get(map.get($theme, states), selected-color);
32
+ }
33
+
34
+ &.mc-disabled {
35
+ background: transparent;
36
+
37
+ color: map.get($foreground, text-disabled);
38
+ }
39
+ }
40
+ }
41
+
42
+ @mixin mc-option-typography($config) {
43
+ .mc-option {
44
+ @include mc-typography-level-to-styles($config, map.get($tokens, option-font-default));
45
+ }
46
+ }
@@ -40,5 +40,5 @@ export declare class McOptionActionComponent extends McOptionActionMixinBase imp
40
40
  onKeyDown($event: any): void;
41
41
  private preventShowingTooltip;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"], false, never>;
44
44
  }
@@ -0,0 +1,28 @@
1
+ .mc-option-action {
2
+ box-sizing: unset;
3
+
4
+ position: relative;
5
+
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ flex-shrink: 0;
10
+
11
+ margin-right: -2px;
12
+
13
+ //width 28px for total width 32px (left border + right border);
14
+ width: 28px;
15
+ height: 100%;
16
+
17
+ cursor: pointer;
18
+
19
+ outline: none;
20
+
21
+ border: 2px solid transparent;
22
+
23
+ background: transparent;
24
+
25
+ &[disabled] {
26
+ cursor: default;
27
+ }
28
+ }
@@ -12,5 +12,5 @@ export declare class McOptgroup extends McOptgroupMixinBase implements CanDisabl
12
12
  /** Unique id for the underlying label. */
13
13
  labelId: string;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<McOptgroup, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOptgroup, "mc-optgroup", ["mcOptgroup"], { "disabled": "disabled"; "label": "label"; }, {}, never, ["mc-option, mc-list-option, mc-timezone-option, ng-container"], false, never>;
16
16
  }
@@ -0,0 +1,16 @@
1
+ @use 'sass:meta';
2
+ @use 'sass:map';
3
+
4
+ @use '../styles/common/vendor-prefixes';
5
+ @use '../styles/tokens';
6
+
7
+
8
+ $tokens: meta.module-variables(tokens) !default;
9
+
10
+ .mc-optgroup-label {
11
+ padding-left: var(--mc-optgroup-size-padding-left, map.get($tokens, optgroup-size-padding-left));
12
+
13
+ @include vendor-prefixes.user-select(none);
14
+
15
+ cursor: default;
16
+ }
@@ -94,7 +94,7 @@ export declare class McOption implements AfterViewChecked, OnDestroy {
94
94
  /** Emits the selection change event. */
95
95
  private emitSelectionChangeEvent;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<McOption, [null, null, { optional: true; }, { optional: true; }]>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOption, "mc-option", ["mcOption"], { "value": "value"; "showCheckbox": "showCheckbox"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], false, never>;
98
98
  }
99
99
  /**
100
100
  * Counts the amount of option group labels that precede the specified option.