@ptsecurity/mosaic 13.2.0 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/_theming.scss +143 -44
  2. package/_visual.scss +340 -213
  3. package/button/button.component.d.ts +1 -1
  4. package/core/option/option.d.ts +1 -0
  5. package/core/validation/validation.d.ts +3 -3
  6. package/design-tokens/legacy-2017/tokens.d.ts +82 -36
  7. package/design-tokens/pt-2022/tokens.d.ts +78 -32
  8. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  9. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  10. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  11. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  12. package/esm2020/button/button.component.mjs +29 -21
  13. package/esm2020/button/button.module.mjs +4 -4
  14. package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
  15. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  16. package/esm2020/card/card.component.mjs +3 -3
  17. package/esm2020/card/card.module.mjs +4 -4
  18. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  19. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  20. package/esm2020/checkbox/checkbox.mjs +3 -3
  21. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  22. package/esm2020/core/error/error-options.mjs +6 -6
  23. package/esm2020/core/formatters/date/formatter.mjs +3 -3
  24. package/esm2020/core/formatters/index.mjs +4 -4
  25. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  26. package/esm2020/core/forms/forms-module.mjs +4 -4
  27. package/esm2020/core/forms/forms.directive.mjs +6 -6
  28. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  29. package/esm2020/core/highlight/index.mjs +4 -4
  30. package/esm2020/core/line/line.mjs +7 -7
  31. package/esm2020/core/option/action.mjs +3 -3
  32. package/esm2020/core/option/optgroup.mjs +3 -3
  33. package/esm2020/core/option/option-module.mjs +4 -4
  34. package/esm2020/core/option/option.mjs +10 -7
  35. package/esm2020/core/pop-up/pop-up-trigger.mjs +3 -3
  36. package/esm2020/core/pop-up/pop-up.mjs +3 -3
  37. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  38. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  39. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  40. package/esm2020/core/validation/validation.mjs +10 -5
  41. package/esm2020/datepicker/calendar-body.component.mjs +3 -3
  42. package/esm2020/datepicker/calendar.component.mjs +6 -6
  43. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  44. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  45. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  46. package/esm2020/datepicker/datepicker-toggle.component.mjs +6 -6
  47. package/esm2020/datepicker/datepicker.component.mjs +6 -6
  48. package/esm2020/datepicker/month-view.component.mjs +3 -3
  49. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  50. package/esm2020/datepicker/year-view.component.mjs +3 -3
  51. package/esm2020/design-tokens/legacy-2017/tokens.mjs +83 -37
  52. package/esm2020/design-tokens/pt-2022/tokens.mjs +79 -33
  53. package/esm2020/divider/divider.component.mjs +3 -3
  54. package/esm2020/divider/divider.module.mjs +4 -4
  55. package/esm2020/dl/dl.component.mjs +9 -9
  56. package/esm2020/dl/dl.module.mjs +4 -4
  57. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  58. package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
  59. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  60. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  61. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  62. package/esm2020/form-field/cleaner.mjs +3 -3
  63. package/esm2020/form-field/form-field.mjs +7 -7
  64. package/esm2020/form-field/form-field.module.mjs +4 -4
  65. package/esm2020/form-field/hint.mjs +3 -3
  66. package/esm2020/form-field/password-hint.mjs +34 -15
  67. package/esm2020/form-field/prefix.mjs +3 -3
  68. package/esm2020/form-field/stepper.mjs +3 -3
  69. package/esm2020/form-field/suffix.mjs +3 -3
  70. package/esm2020/icon/icon.component.mjs +6 -6
  71. package/esm2020/icon/icon.module.mjs +4 -4
  72. package/esm2020/input/input-number-validators.mjs +6 -6
  73. package/esm2020/input/input-number.mjs +3 -3
  74. package/esm2020/input/input-password.mjs +12 -11
  75. package/esm2020/input/input.mjs +12 -11
  76. package/esm2020/input/input.module.mjs +4 -4
  77. package/esm2020/link/link.component.mjs +3 -3
  78. package/esm2020/link/link.module.mjs +4 -4
  79. package/esm2020/list/list-selection.component.mjs +11 -11
  80. package/esm2020/list/list.component.mjs +7 -7
  81. package/esm2020/list/list.module.mjs +4 -4
  82. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  83. package/esm2020/modal/modal-control.service.mjs +3 -3
  84. package/esm2020/modal/modal.component.mjs +4 -4
  85. package/esm2020/modal/modal.directive.mjs +12 -12
  86. package/esm2020/modal/modal.module.mjs +4 -4
  87. package/esm2020/modal/modal.service.mjs +3 -3
  88. package/esm2020/navbar/navbar-item.component.mjs +80 -79
  89. package/esm2020/navbar/navbar.component.mjs +10 -10
  90. package/esm2020/navbar/navbar.module.mjs +4 -4
  91. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  92. package/esm2020/popover/popover-confirm.component.mjs +8 -8
  93. package/esm2020/popover/popover.component.mjs +8 -8
  94. package/esm2020/popover/popover.module.mjs +4 -4
  95. package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
  96. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  97. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -3
  98. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  99. package/esm2020/radio/radio.component.mjs +6 -6
  100. package/esm2020/radio/radio.module.mjs +4 -4
  101. package/esm2020/select/public-api.mjs +2 -1
  102. package/esm2020/select/select-option.directive.mjs +65 -0
  103. package/esm2020/select/select.component.mjs +16 -16
  104. package/esm2020/select/select.module.mjs +19 -10
  105. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  106. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  107. package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
  108. package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
  109. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  110. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  111. package/esm2020/splitter/splitter.component.mjs +12 -12
  112. package/esm2020/splitter/splitter.module.mjs +4 -4
  113. package/esm2020/table/table.component.mjs +3 -3
  114. package/esm2020/table/table.module.mjs +4 -4
  115. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  116. package/esm2020/tabs/tab-body.component.mjs +6 -6
  117. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  118. package/esm2020/tabs/tab-group.component.mjs +19 -19
  119. package/esm2020/tabs/tab-header.component.mjs +3 -3
  120. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  121. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  122. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  123. package/esm2020/tabs/tab.component.mjs +3 -3
  124. package/esm2020/tabs/tabs.module.mjs +4 -4
  125. package/esm2020/tags/tag-input.mjs +3 -3
  126. package/esm2020/tags/tag-list.component.mjs +6 -6
  127. package/esm2020/tags/tag.component.mjs +60 -60
  128. package/esm2020/tags/tag.module.mjs +4 -4
  129. package/esm2020/textarea/textarea.component.mjs +9 -8
  130. package/esm2020/textarea/textarea.module.mjs +4 -4
  131. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  132. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  133. package/esm2020/toggle/toggle.component.mjs +3 -3
  134. package/esm2020/toggle/toggle.module.mjs +4 -4
  135. package/esm2020/tooltip/tooltip.component.mjs +14 -13
  136. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  137. package/esm2020/tree/node.mjs +3 -3
  138. package/esm2020/tree/outlet.mjs +3 -3
  139. package/esm2020/tree/padding.directive.mjs +12 -9
  140. package/esm2020/tree/toggle.mjs +10 -10
  141. package/esm2020/tree/tree-base.mjs +6 -6
  142. package/esm2020/tree/tree-option.component.mjs +9 -9
  143. package/esm2020/tree/tree-selection.component.mjs +8 -6
  144. package/esm2020/tree/tree.mjs +3 -3
  145. package/esm2020/tree/tree.module.mjs +4 -4
  146. package/esm2020/tree-select/tree-select.component.mjs +14 -14
  147. package/esm2020/tree-select/tree-select.module.mjs +4 -4
  148. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
  149. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
  150. package/fesm2015/ptsecurity-mosaic-button.mjs +32 -24
  151. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  152. package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
  153. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
  154. package/fesm2015/ptsecurity-mosaic-core.mjs +89 -81
  155. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  156. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +40 -40
  157. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +218 -80
  158. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  159. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  160. package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
  161. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
  162. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  163. package/fesm2015/ptsecurity-mosaic-form-field.mjs +60 -38
  164. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  165. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  166. package/fesm2015/ptsecurity-mosaic-input.mjs +33 -31
  167. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  168. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  169. package/fesm2015/ptsecurity-mosaic-list.mjs +21 -21
  170. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  171. package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
  172. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  173. package/fesm2015/ptsecurity-mosaic-navbar.mjs +97 -96
  174. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  175. package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
  176. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  177. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
  178. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  179. package/fesm2015/ptsecurity-mosaic-radio.mjs +10 -10
  180. package/fesm2015/ptsecurity-mosaic-select.mjs +99 -33
  181. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  182. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  183. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +26 -26
  184. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  185. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  186. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  187. package/fesm2015/ptsecurity-mosaic-tabs.mjs +53 -53
  188. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  189. package/fesm2015/ptsecurity-mosaic-tags.mjs +74 -74
  190. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  191. package/fesm2015/ptsecurity-mosaic-textarea.mjs +11 -10
  192. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  193. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  194. package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
  195. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -16
  196. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  197. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +17 -17
  198. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  199. package/fesm2015/ptsecurity-mosaic-tree.mjs +158 -155
  200. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  201. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
  202. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
  203. package/fesm2020/ptsecurity-mosaic-button.mjs +32 -24
  204. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  205. package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
  206. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
  207. package/fesm2020/ptsecurity-mosaic-core.mjs +89 -81
  208. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  209. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +40 -40
  210. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +218 -80
  211. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  212. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  213. package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
  214. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
  215. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  216. package/fesm2020/ptsecurity-mosaic-form-field.mjs +57 -38
  217. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  218. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  219. package/fesm2020/ptsecurity-mosaic-input.mjs +33 -31
  220. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  221. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  222. package/fesm2020/ptsecurity-mosaic-list.mjs +21 -21
  223. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  224. package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
  225. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  226. package/fesm2020/ptsecurity-mosaic-navbar.mjs +97 -96
  227. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  228. package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
  229. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  230. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
  231. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  232. package/fesm2020/ptsecurity-mosaic-radio.mjs +10 -10
  233. package/fesm2020/ptsecurity-mosaic-select.mjs +96 -32
  234. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  235. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  236. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +26 -26
  237. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  238. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  239. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  240. package/fesm2020/ptsecurity-mosaic-tabs.mjs +53 -53
  241. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  242. package/fesm2020/ptsecurity-mosaic-tags.mjs +72 -72
  243. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  244. package/fesm2020/ptsecurity-mosaic-textarea.mjs +11 -10
  245. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  246. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  247. package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
  248. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -16
  249. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  250. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +17 -17
  251. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  252. package/fesm2020/ptsecurity-mosaic-tree.mjs +155 -152
  253. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  254. package/form-field/password-hint.d.ts +3 -1
  255. package/input/input-password.d.ts +4 -3
  256. package/input/input.d.ts +4 -3
  257. package/list/list-selection.component.d.ts +1 -1
  258. package/navbar/navbar-item.component.d.ts +18 -18
  259. package/package.json +4 -4
  260. package/prebuilt-themes/dark-theme.css +1 -1
  261. package/prebuilt-themes/default-theme.css +1 -1
  262. package/prebuilt-visual/default-visual.css +1 -1
  263. package/select/public-api.d.ts +1 -0
  264. package/select/select-option.directive.d.ts +20 -0
  265. package/select/select.module.d.ts +9 -7
  266. package/tags/tag.component.d.ts +20 -20
  267. package/textarea/textarea.component.d.ts +4 -3
  268. package/toggle/README.md +0 -0
  269. package/tree/padding.directive.d.ts +7 -5
  270. package/tree/tree-option.component.d.ts +2 -2
  271. package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
  272. package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
  273. package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -174
  274. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -10
  275. package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -143
  276. package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
  277. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -39
  278. package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -64
  279. package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -8
  280. package/design-tokens/legacy-2017/tokens/components/dl.json5 +0 -38
  281. package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -47
  282. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -91
  283. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -52
  284. package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -13
  285. package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -56
  286. package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -15
  287. package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -79
  288. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -69
  289. package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
  290. package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
  291. package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -68
  292. package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -18
  293. package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
  294. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -7
  295. package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -44
  296. package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -25
  297. package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -30
  298. package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
  299. package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -101
  300. package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -132
  301. package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
  302. package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
  303. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
  304. package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
  305. package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -12
  306. package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
  307. package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -114
  308. package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
  309. package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -49
  310. package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
  311. package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
  312. package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -140
  313. package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
  314. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
  315. package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -174
  316. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -10
  317. package/design-tokens/pt-2022/tokens/components/button.json5 +0 -143
  318. package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
  319. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -39
  320. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -64
  321. package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -8
  322. package/design-tokens/pt-2022/tokens/components/dl.json5 +0 -38
  323. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -47
  324. package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -91
  325. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -52
  326. package/design-tokens/pt-2022/tokens/components/input.json5 +0 -13
  327. package/design-tokens/pt-2022/tokens/components/link.json5 +0 -56
  328. package/design-tokens/pt-2022/tokens/components/list.json5 +0 -15
  329. package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -79
  330. package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -69
  331. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
  332. package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
  333. package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -68
  334. package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -18
  335. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
  336. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -7
  337. package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -44
  338. package/design-tokens/pt-2022/tokens/components/select.json5 +0 -25
  339. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -30
  340. package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
  341. package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -101
  342. package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -132
  343. package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
  344. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
  345. package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
  346. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
  347. package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -12
  348. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
  349. package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -116
  350. package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
  351. package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -49
  352. package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
  353. package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -226
  354. package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -140
  355. package/design-tokens/style-dictionary/build.js +0 -62
  356. package/design-tokens/style-dictionary/configs/css.js +0 -13
  357. package/design-tokens/style-dictionary/configs/index.js +0 -48
  358. package/design-tokens/style-dictionary/configs/js.js +0 -9
  359. package/design-tokens/style-dictionary/configs/scss.js +0 -23
  360. package/design-tokens/style-dictionary/filters/color.js +0 -7
  361. package/design-tokens/style-dictionary/filters/palette.js +0 -7
  362. package/design-tokens/style-dictionary/filters/size.js +0 -7
  363. package/design-tokens/style-dictionary/filters/typography.js +0 -7
  364. package/design-tokens/style-dictionary/formats/palette.js +0 -25
  365. package/design-tokens/style-dictionary/formats/typography.js +0 -52
  366. package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
  367. package/design-tokens/style-dictionary/transformGroups/scss.js +0 -12
  368. package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
  369. package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
  370. package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
  371. package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
@@ -28,9 +28,9 @@ export class McProgressSpinner extends McProgressSpinnerMixinBase {
28
28
  return `${MAX_DASH_ARRAY - this.percentage * MAX_DASH_ARRAY}%`;
29
29
  }
30
30
  }
31
- /** @nocollapse */ /** @nocollapse */ McProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinner, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
32
- /** @nocollapse */ /** @nocollapse */ McProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: McProgressSpinner, selector: "mc-progress-spinner", inputs: { color: "color", id: "id", value: "value", mode: "mode" }, host: { properties: { "attr.id": "id" }, classAttribute: "mc-progress-spinner" }, usesInheritance: true, ngImport: i0, template: "<div class=\"mc-progress-spinner__inner\"\n [ngClass]=\"{'mc-progress-spinner__inner--indeterminate': mode === 'indeterminate'}\">\n <svg focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 100 100\"\n class=\"mc-progress-spinner__svg\">\n <circle cx=\"50%\"\n cy=\"50%\"\n r=\"42.5%\"\n class=\"mc-progress-spinner__circle\"\n [ngStyle]=\"{'stroke-dashoffset': mode === 'determinate' ? dashOffsetPercent : null}\">\n </circle>\n </svg>\n</div>\n\n", styles: ["@keyframes mc-progress-spinner-indeterminate{to{transform:rotate(270deg)}}.mc-progress-spinner{display:inline-block;width:var(--mc-progress-spinner-size-size, 16px);height:var(--mc-progress-spinner-size-size, 16px);overflow:hidden}.mc-progress-spinner__circle{fill:none;stroke:#000;stroke-dasharray:273%;stroke-width:13%;transition:stroke-dashoffset .3s;transform-origin:center center}.mc-progress-spinner__inner{width:100%;height:100%;transform:rotate(-90deg)}.mc-progress-spinner__inner--indeterminate{animation:mc-progress-spinner-indeterminate 1.5s cubic-bezier(.455,.03,.515,.955) infinite}.mc-progress-spinner__inner--indeterminate .mc-progress-spinner__circle{stroke-dashoffset:80%}.mc-progress-spinner__svg{width:100%;height:100%}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinner, decorators: [{
31
+ /** @nocollapse */ /** @nocollapse */ McProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinner, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
32
+ /** @nocollapse */ /** @nocollapse */ McProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.4", type: McProgressSpinner, selector: "mc-progress-spinner", inputs: { color: "color", id: "id", value: "value", mode: "mode" }, host: { properties: { "attr.id": "id" }, classAttribute: "mc-progress-spinner" }, usesInheritance: true, ngImport: i0, template: "<div class=\"mc-progress-spinner__inner\"\n [ngClass]=\"{'mc-progress-spinner__inner--indeterminate': mode === 'indeterminate'}\">\n <svg focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n viewBox=\"0 0 100 100\"\n class=\"mc-progress-spinner__svg\">\n <circle cx=\"50%\"\n cy=\"50%\"\n r=\"42.5%\"\n class=\"mc-progress-spinner__circle\"\n [ngStyle]=\"{'stroke-dashoffset': mode === 'determinate' ? dashOffsetPercent : null}\">\n </circle>\n </svg>\n</div>\n\n", styles: ["@keyframes mc-progress-spinner-indeterminate{to{transform:rotate(270deg)}}.mc-progress-spinner{display:inline-block;width:var(--mc-progress-spinner-size-size, 16px);height:var(--mc-progress-spinner-size-size, 16px);overflow:hidden}.mc-progress-spinner__circle{fill:none;stroke:#000;stroke-dasharray:273%;stroke-width:13%;transition:stroke-dashoffset .3s;transform-origin:center center}.mc-progress-spinner__inner{width:100%;height:100%;transform:rotate(-90deg)}.mc-progress-spinner__inner--indeterminate{animation:mc-progress-spinner-indeterminate 1.5s cubic-bezier(.455,.03,.515,.955) infinite}.mc-progress-spinner__inner--indeterminate .mc-progress-spinner__circle{stroke-dashoffset:80%}.mc-progress-spinner__svg{width:100%;height:100%}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinner, decorators: [{
34
34
  type: Component,
35
35
  args: [{ selector: 'mc-progress-spinner', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, inputs: ['color'], host: {
36
36
  class: 'mc-progress-spinner',
@@ -5,14 +5,14 @@ import { McProgressSpinner } from './progress-spinner.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export class McProgressSpinnerModule {
7
7
  }
8
- /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinnerModule, declarations: [McProgressSpinner], imports: [CommonModule,
8
+ /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinnerModule, declarations: [McProgressSpinner], imports: [CommonModule,
10
10
  PlatformModule], exports: [McProgressSpinner] });
11
- /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinnerModule, imports: [[
11
+ /** @nocollapse */ /** @nocollapse */ McProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinnerModule, imports: [[
12
12
  CommonModule,
13
13
  PlatformModule
14
14
  ]] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McProgressSpinnerModule, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McProgressSpinnerModule, decorators: [{
16
16
  type: NgModule,
17
17
  args: [{
18
18
  imports: [
@@ -209,9 +209,9 @@ export class McRadioGroup extends McRadioGroupMixinBase {
209
209
  }
210
210
  }
211
211
  }
212
- /** @nocollapse */ /** @nocollapse */ McRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
213
- /** @nocollapse */ /** @nocollapse */ McRadioGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: McRadioGroup, selector: "mc-radio-group", inputs: { name: "name", labelPosition: "labelPosition", value: "value", selected: "selected", disabled: "disabled", required: "required" }, outputs: { change: "change" }, host: { attributes: { "role": "radiogroup" }, classAttribute: "mc-radio-group" }, providers: [MC_RADIO_GROUP_CONTROL_VALUE_ACCESSOR], queries: [{ propertyName: "radios", predicate: i0.forwardRef(function () { return McRadioButton; }), descendants: true }], exportAs: ["mcRadioGroup"], usesInheritance: true, ngImport: i0 });
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioGroup, decorators: [{
212
+ /** @nocollapse */ /** @nocollapse */ McRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioGroup, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
213
+ /** @nocollapse */ /** @nocollapse */ McRadioGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.4", type: McRadioGroup, selector: "mc-radio-group", inputs: { name: "name", labelPosition: "labelPosition", value: "value", selected: "selected", disabled: "disabled", required: "required" }, outputs: { change: "change" }, host: { attributes: { "role": "radiogroup" }, classAttribute: "mc-radio-group" }, providers: [MC_RADIO_GROUP_CONTROL_VALUE_ACCESSOR], queries: [{ propertyName: "radios", predicate: i0.forwardRef(function () { return McRadioButton; }), descendants: true }], exportAs: ["mcRadioGroup"], usesInheritance: true, ngImport: i0 });
214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioGroup, decorators: [{
215
215
  type: Directive,
216
216
  args: [{
217
217
  selector: 'mc-radio-group',
@@ -412,9 +412,9 @@ export class McRadioButton extends McRadioButtonMixinBase {
412
412
  this.change.emit(new McRadioChange(this, this._value));
413
413
  }
414
414
  }
415
- /** @nocollapse */ /** @nocollapse */ McRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioButton, deps: [{ token: McRadioGroup, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }], target: i0.ɵɵFactoryTarget.Component });
416
- /** @nocollapse */ /** @nocollapse */ McRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: McRadioButton, selector: "mc-radio-button", inputs: { color: "color", tabIndex: "tabIndex", checked: "checked", value: "value", disabled: "disabled", required: "required", labelPosition: "labelPosition", name: "name", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], ariaDescribedby: ["aria-describedby", "ariaDescribedby"], isFocused: "isFocused", id: "id" }, outputs: { change: "change" }, host: { properties: { "attr.id": "id", "class.mc-selected": "checked", "class.mc-disabled": "disabled" }, classAttribute: "mc-radio-button" }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }], exportAs: ["mcRadioButton"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-radio-label\" [attr.for]=\"inputId\" #label>\n <input type=\"radio\"\n class=\"mc-radio-input cdk-visually-hidden\"\n #input\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [tabIndex]=\"tabIndex\"\n [attr.name]=\"name\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"onInputChange($event)\"\n (click)=\"onInputClick($event)\">\n\n <div class=\"mc-radio-label-content\" [class.mc-radio-label-before]=\"labelPosition == 'before'\">\n <div class=\"mc-radio-button__outer-circle\"></div>\n <div class=\"mc-radio-button__inner-circle\"></div>\n <ng-content></ng-content>\n </div>\n</label>\n", styles: [".mc-radio-button{display:inline-block}.mc-radio-label{display:inline-flex;align-items:center;vertical-align:middle;cursor:pointer;white-space:nowrap;width:100%}.mc-radio-label-content{display:inline-block;position:relative;order:0;line-height:inherit;padding-left:calc(var(--mc-radio-size-size, 14px) + var(--mc-radio-size-padding, 8px));padding-right:0}.mc-radio-label-content .mc-radio-button__outer-circle,.mc-radio-label-content .mc-radio-button__inner-circle{box-sizing:content-box;position:absolute;content:\"\";border-style:solid;border-radius:50%}.mc-radio-label-content .mc-radio-button__outer-circle{left:0;top:calc(50% - 8px);width:var(--mc-radio-size-size, 14px);height:var(--mc-radio-size-size, 14px);border-width:1px}.mc-radio-label-content .mc-radio-button__inner-circle{display:none;left:1px;top:calc(50% - 7px);width:6px;height:6px;border-width:4px}[dir=rtl] .mc-radio-label-content{padding-right:var(--mc-radio-size-padding, 8px);padding-left:0}.mc-radio-input{position:absolute;outline:none;opacity:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioButton, decorators: [{
415
+ /** @nocollapse */ /** @nocollapse */ McRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioButton, deps: [{ token: McRadioGroup, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }], target: i0.ɵɵFactoryTarget.Component });
416
+ /** @nocollapse */ /** @nocollapse */ McRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.4", type: McRadioButton, selector: "mc-radio-button", inputs: { color: "color", tabIndex: "tabIndex", checked: "checked", value: "value", disabled: "disabled", required: "required", labelPosition: "labelPosition", name: "name", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], ariaDescribedby: ["aria-describedby", "ariaDescribedby"], isFocused: "isFocused", id: "id" }, outputs: { change: "change" }, host: { properties: { "attr.id": "id", "class.mc-selected": "checked", "class.mc-disabled": "disabled" }, classAttribute: "mc-radio-button" }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["input"], descendants: true }], exportAs: ["mcRadioButton"], usesInheritance: true, ngImport: i0, template: "<label class=\"mc-radio-label\" [attr.for]=\"inputId\" #label>\n <input type=\"radio\"\n class=\"mc-radio-input cdk-visually-hidden\"\n #input\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [tabIndex]=\"tabIndex\"\n [attr.name]=\"name\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"onInputChange($event)\"\n (click)=\"onInputClick($event)\">\n\n <div class=\"mc-radio-label-content\" [class.mc-radio-label-before]=\"labelPosition == 'before'\">\n <div class=\"mc-radio-button__outer-circle\"></div>\n <div class=\"mc-radio-button__inner-circle\"></div>\n <ng-content></ng-content>\n </div>\n</label>\n", styles: [".mc-radio-button{display:inline-block}.mc-radio-label{display:inline-flex;align-items:center;vertical-align:middle;cursor:pointer;white-space:nowrap;width:100%}.mc-radio-label-content{display:inline-block;position:relative;order:0;line-height:inherit;padding-left:calc(var(--mc-radio-size-size, 14px) + var(--mc-radio-size-padding, 8px));padding-right:0}.mc-radio-label-content .mc-radio-button__outer-circle,.mc-radio-label-content .mc-radio-button__inner-circle{box-sizing:content-box;position:absolute;content:\"\";border-style:solid;border-radius:50%}.mc-radio-label-content .mc-radio-button__outer-circle{left:0;top:calc(50% - 8px);width:var(--mc-radio-size-size, 14px);height:var(--mc-radio-size-size, 14px);border-width:1px}.mc-radio-label-content .mc-radio-button__inner-circle{display:none;left:1px;top:calc(50% - 7px);width:6px;height:6px;border-width:4px}[dir=rtl] .mc-radio-label-content{padding-right:var(--mc-radio-size-padding, 8px);padding-left:0}.mc-radio-input{position:absolute;outline:none;opacity:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioButton, decorators: [{
418
418
  type: Component,
419
419
  args: [{ selector: 'mc-radio-button', inputs: ['color', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'mcRadioButton', host: {
420
420
  class: 'mc-radio-button',
@@ -6,10 +6,10 @@ import { McRadioButton, McRadioGroup } from './radio.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export class McRadioModule {
8
8
  }
9
- /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioModule, declarations: [McRadioGroup, McRadioButton], imports: [CommonModule, A11yModule, McCommonModule], exports: [McRadioGroup, McRadioButton] });
11
- /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioModule, imports: [[CommonModule, A11yModule, McCommonModule]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: McRadioModule, decorators: [{
9
+ /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioModule, declarations: [McRadioGroup, McRadioButton], imports: [CommonModule, A11yModule, McCommonModule], exports: [McRadioGroup, McRadioButton] });
11
+ /** @nocollapse */ /** @nocollapse */ McRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioModule, imports: [[CommonModule, A11yModule, McCommonModule]] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McRadioModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  imports: [CommonModule, A11yModule, McCommonModule],
@@ -1,3 +1,4 @@
1
1
  export * from './select.module';
2
2
  export * from './select.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9zZWxlY3QvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlbGVjdC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3QuY29tcG9uZW50JztcbiJdfQ==
3
+ export * from './select-option.directive';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL21vc2FpYy9zZWxlY3QvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VsZWN0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlbGVjdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWxlY3Qtb3B0aW9uLmRpcmVjdGl2ZSc7XG4iXX0=
@@ -0,0 +1,65 @@
1
+ import { Directionality } from '@angular/cdk/bidi';
2
+ import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
3
+ import { Directive, ElementRef, Inject, NgZone, Optional, ViewContainerRef } from '@angular/core';
4
+ import { McOption } from '@ptsecurity/mosaic/core';
5
+ import { McTooltipTrigger, MC_TOOLTIP_SCROLL_STRATEGY } from '@ptsecurity/mosaic/tooltip';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@ptsecurity/mosaic/core";
8
+ import * as i2 from "@angular/cdk/overlay";
9
+ import * as i3 from "@angular/cdk/bidi";
10
+ export class McOptionTooltip extends McTooltipTrigger {
11
+ constructor(option, overlay, elementRef, ngZone, scrollDispatcher, hostView, scrollStrategy, direction) {
12
+ super(overlay, elementRef, ngZone, scrollDispatcher, hostView, scrollStrategy, direction);
13
+ this.option = option;
14
+ }
15
+ get textElement() {
16
+ return this.option.textElement.nativeElement;
17
+ }
18
+ get isOverflown() {
19
+ return this.textElement.clientWidth < this.textElement.scrollWidth;
20
+ }
21
+ ngAfterViewInit() {
22
+ this.content = this.option.viewValue;
23
+ this.resizeObserver = new ResizeObserver(() => this.disabled = !this.isOverflown);
24
+ this.mutationObserver = new MutationObserver(() => this.content = this.option.viewValue);
25
+ this.mutationObserver.observe(this.textElement, {
26
+ characterData: true, attributes: false, childList: true, subtree: true
27
+ });
28
+ }
29
+ ngOnDestroy() {
30
+ super.ngOnDestroy();
31
+ if (this.resizeObserver) {
32
+ this.resizeObserver.unobserve(this.textElement);
33
+ this.resizeObserver.disconnect();
34
+ }
35
+ if (this.mutationObserver) {
36
+ this.mutationObserver.disconnect();
37
+ }
38
+ }
39
+ onMouseEnter() {
40
+ this.resizeObserver.observe(this.textElement);
41
+ this.disabled = !this.isOverflown;
42
+ }
43
+ onMouseLeave() {
44
+ this.resizeObserver.unobserve(this.textElement);
45
+ this.disabled = true;
46
+ }
47
+ }
48
+ /** @nocollapse */ /** @nocollapse */ McOptionTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McOptionTooltip, deps: [{ token: i1.McOption }, { token: i2.Overlay }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: MC_TOOLTIP_SCROLL_STRATEGY }, { token: i3.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
49
+ /** @nocollapse */ /** @nocollapse */ McOptionTooltip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.4", type: McOptionTooltip, selector: "mc-option", host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, usesInheritance: true, ngImport: i0 });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.4", ngImport: i0, type: McOptionTooltip, decorators: [{
51
+ type: Directive,
52
+ args: [{
53
+ selector: 'mc-option',
54
+ host: {
55
+ '(mouseenter)': 'onMouseEnter()',
56
+ '(mouseleave)': 'onMouseLeave()'
57
+ }
58
+ }]
59
+ }], ctorParameters: function () { return [{ type: i1.McOption }, { type: i2.Overlay }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i2.ScrollDispatcher }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
60
+ type: Inject,
61
+ args: [MC_TOOLTIP_SCROLL_STRATEGY]
62
+ }] }, { type: i3.Directionality, decorators: [{
63
+ type: Optional
64
+ }] }]; } });
65
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW9wdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvc2VsZWN0L3NlbGVjdC1vcHRpb24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsT0FBTyxFQUFFLGdCQUF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