@ptsecurity/mosaic 12.0.2 → 12.2.2

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 (336) hide show
  1. package/_theming.scss +475 -101
  2. package/_visual.scss +131 -13
  3. package/bundles/ptsecurity-mosaic-autocomplete.umd.js +18 -20
  4. package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +1 -1
  5. package/bundles/ptsecurity-mosaic-button-toggle.umd.js +15 -17
  6. package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +1 -1
  7. package/bundles/ptsecurity-mosaic-button.umd.js +17 -19
  8. package/bundles/ptsecurity-mosaic-button.umd.js.map +1 -1
  9. package/bundles/ptsecurity-mosaic-card.umd.js +11 -13
  10. package/bundles/ptsecurity-mosaic-card.umd.js.map +1 -1
  11. package/bundles/ptsecurity-mosaic-checkbox.umd.js +14 -16
  12. package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +1 -1
  13. package/bundles/ptsecurity-mosaic-core.umd.js +259 -172
  14. package/bundles/ptsecurity-mosaic-core.umd.js.map +1 -1
  15. package/bundles/ptsecurity-mosaic-datepicker.umd.js +47 -48
  16. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +1 -1
  17. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +231 -26
  18. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +1 -1
  19. package/bundles/ptsecurity-mosaic-divider.umd.js +11 -13
  20. package/bundles/ptsecurity-mosaic-divider.umd.js.map +1 -1
  21. package/bundles/ptsecurity-mosaic-dropdown.umd.js +67 -59
  22. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +1 -1
  23. package/bundles/ptsecurity-mosaic-form-field.umd.js +737 -738
  24. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +1 -1
  25. package/bundles/ptsecurity-mosaic-icon.umd.js +14 -16
  26. package/bundles/ptsecurity-mosaic-icon.umd.js.map +1 -1
  27. package/bundles/ptsecurity-mosaic-input.umd.js +45 -33
  28. package/bundles/ptsecurity-mosaic-input.umd.js.map +1 -1
  29. package/bundles/ptsecurity-mosaic-link.umd.js +11 -13
  30. package/bundles/ptsecurity-mosaic-link.umd.js.map +1 -1
  31. package/bundles/ptsecurity-mosaic-list.umd.js +177 -89
  32. package/bundles/ptsecurity-mosaic-list.umd.js.map +1 -1
  33. package/bundles/ptsecurity-mosaic-modal.umd.js +52 -44
  34. package/bundles/ptsecurity-mosaic-modal.umd.js.map +1 -1
  35. package/bundles/ptsecurity-mosaic-navbar.umd.js +46 -43
  36. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +1 -1
  37. package/bundles/ptsecurity-mosaic-popover.umd.js +215 -34
  38. package/bundles/ptsecurity-mosaic-popover.umd.js.map +1 -1
  39. package/bundles/ptsecurity-mosaic-progress-bar.umd.js +12 -14
  40. package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +1 -1
  41. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +12 -14
  42. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +1 -1
  43. package/bundles/ptsecurity-mosaic-radio.umd.js +14 -16
  44. package/bundles/ptsecurity-mosaic-radio.umd.js.map +1 -1
  45. package/bundles/ptsecurity-mosaic-select.umd.js +22 -24
  46. package/bundles/ptsecurity-mosaic-select.umd.js.map +1 -1
  47. package/bundles/ptsecurity-mosaic-sidebar.umd.js +17 -19
  48. package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +1 -1
  49. package/bundles/ptsecurity-mosaic-sidepanel.umd.js +62 -58
  50. package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +1 -1
  51. package/bundles/ptsecurity-mosaic-splitter.umd.js +31 -21
  52. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +1 -1
  53. package/bundles/ptsecurity-mosaic-table.umd.js +11 -13
  54. package/bundles/ptsecurity-mosaic-table.umd.js.map +1 -1
  55. package/bundles/ptsecurity-mosaic-tabs.umd.js +150 -74
  56. package/bundles/ptsecurity-mosaic-tabs.umd.js.map +1 -1
  57. package/bundles/ptsecurity-mosaic-tags.umd.js +28 -29
  58. package/bundles/ptsecurity-mosaic-tags.umd.js.map +1 -1
  59. package/bundles/ptsecurity-mosaic-textarea.umd.js +12 -14
  60. package/bundles/ptsecurity-mosaic-textarea.umd.js.map +1 -1
  61. package/bundles/ptsecurity-mosaic-timepicker.umd.js +16 -17
  62. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +1 -1
  63. package/bundles/ptsecurity-mosaic-toggle.umd.js +11 -13
  64. package/bundles/ptsecurity-mosaic-toggle.umd.js.map +1 -1
  65. package/bundles/ptsecurity-mosaic-tooltip.umd.js +72 -23
  66. package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +1 -1
  67. package/bundles/ptsecurity-mosaic-tree-select.umd.js +24 -29
  68. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +1 -1
  69. package/bundles/ptsecurity-mosaic-tree.umd.js +1018 -261
  70. package/bundles/ptsecurity-mosaic-tree.umd.js.map +1 -1
  71. package/bundles/ptsecurity-mosaic.umd.js +2 -2
  72. package/core/option/action.d.ts +42 -0
  73. package/core/option/index.d.ts +1 -0
  74. package/core/option/option-module.d.ts +4 -3
  75. package/core/pop-up/pop-up-trigger.d.ts +9 -12
  76. package/design-tokens/style-dictionary/build.js +6 -0
  77. package/design-tokens/style-dictionary/configs/index.js +2 -1
  78. package/design-tokens/tokens/components/badge.json5 +177 -7
  79. package/design-tokens/tokens/components/list.json5 +0 -4
  80. package/design-tokens/tokens/components/tree.json5 +3 -3
  81. package/design-tokens/tokens/properties/globals.json5 +1 -1
  82. package/design-tokens/tokens/properties/typography.json5 +16 -0
  83. package/design-tokens/tokens.d.ts +115 -13
  84. package/dropdown/dropdown-item.component.d.ts +1 -0
  85. package/dropdown/dropdown-trigger.directive.d.ts +3 -8
  86. package/dropdown/dropdown.component.d.ts +1 -0
  87. package/esm2015/autocomplete/autocomplete-origin.directive.js +4 -4
  88. package/esm2015/autocomplete/autocomplete-trigger.directive.js +4 -4
  89. package/esm2015/autocomplete/autocomplete.component.js +4 -4
  90. package/esm2015/autocomplete/autocomplete.module.js +5 -5
  91. package/esm2015/button/button.component.js +10 -10
  92. package/esm2015/button/button.module.js +5 -5
  93. package/esm2015/button-toggle/button-toggle.component.js +7 -7
  94. package/esm2015/button-toggle/button-toggle.module.js +5 -5
  95. package/esm2015/card/card.component.js +4 -4
  96. package/esm2015/card/card.module.js +5 -5
  97. package/esm2015/checkbox/checkbox-module.js +5 -5
  98. package/esm2015/checkbox/checkbox-required-validator.js +4 -4
  99. package/esm2015/checkbox/checkbox.js +4 -4
  100. package/esm2015/core/common-behaviors/common-module.js +5 -5
  101. package/esm2015/core/error/error-options.js +7 -7
  102. package/esm2015/core/formatters/date/formatter.js +6 -5
  103. package/esm2015/core/formatters/index.js +5 -5
  104. package/esm2015/core/formatters/number/formatter.js +5 -5
  105. package/esm2015/core/forms/forms-module.js +5 -5
  106. package/esm2015/core/forms/forms.directive.js +7 -7
  107. package/esm2015/core/highlight/highlight.pipe.js +4 -4
  108. package/esm2015/core/highlight/index.js +5 -5
  109. package/esm2015/core/line/line.js +8 -8
  110. package/esm2015/core/option/action.js +131 -0
  111. package/esm2015/core/option/index.js +2 -1
  112. package/esm2015/core/option/optgroup.js +4 -4
  113. package/esm2015/core/option/option-module.js +8 -7
  114. package/esm2015/core/option/option.js +4 -4
  115. package/esm2015/core/pop-up/pop-up-trigger.js +32 -64
  116. package/esm2015/core/pop-up/pop-up.js +4 -4
  117. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +4 -4
  118. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +5 -5
  119. package/esm2015/core/services/measure-scrollbar.service.js +4 -4
  120. package/esm2015/datepicker/calendar-body.component.js +4 -4
  121. package/esm2015/datepicker/calendar.component.js +7 -7
  122. package/esm2015/datepicker/datepicker-input.directive.js +6 -5
  123. package/esm2015/datepicker/datepicker-intl.js +4 -4
  124. package/esm2015/datepicker/datepicker-module.js +5 -5
  125. package/esm2015/datepicker/datepicker-toggle.component.js +7 -7
  126. package/esm2015/datepicker/datepicker.component.js +7 -7
  127. package/esm2015/datepicker/month-view.component.js +4 -4
  128. package/esm2015/datepicker/multi-year-view.component.js +4 -4
  129. package/esm2015/datepicker/year-view.component.js +4 -4
  130. package/esm2015/design-tokens/tokens.js +116 -14
  131. package/esm2015/divider/divider.component.js +4 -4
  132. package/esm2015/divider/divider.module.js +5 -5
  133. package/esm2015/dropdown/dropdown-content.directive.js +4 -4
  134. package/esm2015/dropdown/dropdown-item.component.js +11 -4
  135. package/esm2015/dropdown/dropdown-trigger.directive.js +39 -39
  136. package/esm2015/dropdown/dropdown.component.js +9 -5
  137. package/esm2015/dropdown/dropdown.module.js +5 -5
  138. package/esm2015/form-field/cleaner.js +9 -5
  139. package/esm2015/form-field/form-field.js +7 -7
  140. package/esm2015/form-field/form-field.module.js +5 -5
  141. package/esm2015/form-field/hint.js +4 -4
  142. package/esm2015/form-field/prefix.js +4 -4
  143. package/esm2015/form-field/stepper.js +4 -4
  144. package/esm2015/form-field/suffix.js +4 -4
  145. package/esm2015/icon/icon.component.js +7 -7
  146. package/esm2015/icon/icon.module.js +5 -5
  147. package/esm2015/input/input-number-validators.js +28 -14
  148. package/esm2015/input/input-number.js +4 -4
  149. package/esm2015/input/input.js +7 -7
  150. package/esm2015/input/input.module.js +5 -5
  151. package/esm2015/link/link.component.js +4 -4
  152. package/esm2015/link/link.module.js +5 -5
  153. package/esm2015/list/list-selection.component.js +155 -66
  154. package/esm2015/list/list.component.js +7 -7
  155. package/esm2015/list/list.module.js +5 -5
  156. package/esm2015/modal/css-unit.pipe.js +4 -4
  157. package/esm2015/modal/modal-control.service.js +4 -4
  158. package/esm2015/modal/modal.component.js +6 -4
  159. package/esm2015/modal/modal.directive.js +13 -13
  160. package/esm2015/modal/modal.module.js +9 -7
  161. package/esm2015/modal/modal.service.js +16 -9
  162. package/esm2015/navbar/navbar-item.component.js +21 -21
  163. package/esm2015/navbar/navbar.component.js +7 -7
  164. package/esm2015/navbar/navbar.module.js +5 -5
  165. package/esm2015/navbar/vertical-navbar.component.js +14 -9
  166. package/esm2015/popover/popover-confirm.component.js +116 -0
  167. package/esm2015/popover/popover.component.js +63 -20
  168. package/esm2015/popover/popover.module.js +13 -10
  169. package/esm2015/popover/public-api.js +2 -1
  170. package/esm2015/progress-bar/progress-bar.component.js +4 -4
  171. package/esm2015/progress-bar/progress-bar.module.js +5 -5
  172. package/esm2015/progress-spinner/progress-spinner.component.js +4 -4
  173. package/esm2015/progress-spinner/progress-spinner.module.js +5 -5
  174. package/esm2015/radio/radio.component.js +7 -7
  175. package/esm2015/radio/radio.module.js +5 -5
  176. package/esm2015/select/select.component.js +14 -14
  177. package/esm2015/select/select.module.js +5 -5
  178. package/esm2015/sidebar/sidebar.component.js +10 -10
  179. package/esm2015/sidebar/sidebar.module.js +5 -5
  180. package/esm2015/sidepanel/sidepanel-container.component.js +14 -13
  181. package/esm2015/sidepanel/sidepanel-directives.js +22 -18
  182. package/esm2015/sidepanel/sidepanel.module.js +12 -8
  183. package/esm2015/sidepanel/sidepanel.service.js +6 -5
  184. package/esm2015/splitter/splitter.component.js +24 -13
  185. package/esm2015/splitter/splitter.module.js +5 -5
  186. package/esm2015/table/table.component.js +4 -4
  187. package/esm2015/table/table.module.js +5 -5
  188. package/esm2015/tabs/paginated-tab-header.js +5 -5
  189. package/esm2015/tabs/tab-body.component.js +7 -7
  190. package/esm2015/tabs/tab-content.directive.js +4 -4
  191. package/esm2015/tabs/tab-group.component.js +56 -26
  192. package/esm2015/tabs/tab-header.component.js +4 -4
  193. package/esm2015/tabs/tab-label-wrapper.directive.js +21 -6
  194. package/esm2015/tabs/tab-label.directive.js +4 -4
  195. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +7 -7
  196. package/esm2015/tabs/tab.component.js +36 -13
  197. package/esm2015/tabs/tabs.module.js +5 -5
  198. package/esm2015/tags/tag-input.js +4 -4
  199. package/esm2015/tags/tag-list.component.js +4 -4
  200. package/esm2015/tags/tag.component.js +14 -13
  201. package/esm2015/tags/tag.module.js +5 -5
  202. package/esm2015/textarea/textarea.component.js +4 -4
  203. package/esm2015/textarea/textarea.module.js +5 -5
  204. package/esm2015/timepicker/timepicker.directive.js +9 -8
  205. package/esm2015/timepicker/timepicker.module.js +5 -5
  206. package/esm2015/toggle/toggle.component.js +4 -4
  207. package/esm2015/toggle/toggle.module.js +5 -5
  208. package/esm2015/tooltip/tooltip.component.js +55 -16
  209. package/esm2015/tooltip/tooltip.module.js +5 -5
  210. package/esm2015/tree/control/base-tree-control.js +60 -0
  211. package/esm2015/tree/control/flat-tree-control.js +123 -0
  212. package/esm2015/tree/control/nested-tree-control.js +41 -0
  213. package/esm2015/tree/control/tree-control.js +2 -0
  214. package/esm2015/tree/data-source/flat-data-source.js +1 -1
  215. package/esm2015/tree/node.js +31 -0
  216. package/esm2015/tree/outlet.js +15 -0
  217. package/esm2015/tree/padding.directive.js +90 -23
  218. package/esm2015/tree/public-api.js +9 -2
  219. package/esm2015/tree/toggle.js +46 -52
  220. package/esm2015/tree/tree-base.js +243 -0
  221. package/esm2015/tree/tree-errors.js +36 -0
  222. package/esm2015/tree/tree-option.component.js +75 -32
  223. package/esm2015/tree/tree-selection.component.js +122 -73
  224. package/esm2015/tree/tree.js +23 -0
  225. package/esm2015/tree/tree.module.js +24 -13
  226. package/esm2015/tree-select/tree-select.component.js +11 -12
  227. package/esm2015/tree-select/tree-select.module.js +5 -9
  228. package/fesm2015/ptsecurity-mosaic-autocomplete.js +13 -13
  229. package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +1 -1
  230. package/fesm2015/ptsecurity-mosaic-button-toggle.js +10 -10
  231. package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +1 -1
  232. package/fesm2015/ptsecurity-mosaic-button.js +13 -13
  233. package/fesm2015/ptsecurity-mosaic-button.js.map +1 -1
  234. package/fesm2015/ptsecurity-mosaic-card.js +7 -7
  235. package/fesm2015/ptsecurity-mosaic-card.js.map +1 -1
  236. package/fesm2015/ptsecurity-mosaic-checkbox.js +10 -10
  237. package/fesm2015/ptsecurity-mosaic-checkbox.js.map +1 -1
  238. package/fesm2015/ptsecurity-mosaic-core.js +231 -140
  239. package/fesm2015/ptsecurity-mosaic-core.js.map +1 -1
  240. package/fesm2015/ptsecurity-mosaic-datepicker.js +42 -41
  241. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +1 -1
  242. package/fesm2015/ptsecurity-mosaic-design-tokens.js +116 -14
  243. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +1 -1
  244. package/fesm2015/ptsecurity-mosaic-divider.js +7 -7
  245. package/fesm2015/ptsecurity-mosaic-divider.js.map +1 -1
  246. package/fesm2015/ptsecurity-mosaic-dropdown.js +63 -52
  247. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +1 -1
  248. package/fesm2015/ptsecurity-mosaic-form-field.js +30 -27
  249. package/fesm2015/ptsecurity-mosaic-form-field.js.map +1 -1
  250. package/fesm2015/ptsecurity-mosaic-icon.js +10 -10
  251. package/fesm2015/ptsecurity-mosaic-icon.js.map +1 -1
  252. package/fesm2015/ptsecurity-mosaic-input.js +40 -26
  253. package/fesm2015/ptsecurity-mosaic-input.js.map +1 -1
  254. package/fesm2015/ptsecurity-mosaic-link.js +7 -7
  255. package/fesm2015/ptsecurity-mosaic-link.js.map +1 -1
  256. package/fesm2015/ptsecurity-mosaic-list.js +164 -76
  257. package/fesm2015/ptsecurity-mosaic-list.js.map +1 -1
  258. package/fesm2015/ptsecurity-mosaic-modal.js +46 -35
  259. package/fesm2015/ptsecurity-mosaic-modal.js.map +1 -1
  260. package/fesm2015/ptsecurity-mosaic-navbar.js +43 -38
  261. package/fesm2015/ptsecurity-mosaic-navbar.js.map +1 -1
  262. package/fesm2015/ptsecurity-mosaic-popover.js +179 -30
  263. package/fesm2015/ptsecurity-mosaic-popover.js.map +1 -1
  264. package/fesm2015/ptsecurity-mosaic-progress-bar.js +7 -7
  265. package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +1 -1
  266. package/fesm2015/ptsecurity-mosaic-progress-spinner.js +7 -7
  267. package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +1 -1
  268. package/fesm2015/ptsecurity-mosaic-radio.js +10 -10
  269. package/fesm2015/ptsecurity-mosaic-radio.js.map +1 -1
  270. package/fesm2015/ptsecurity-mosaic-select.js +17 -17
  271. package/fesm2015/ptsecurity-mosaic-select.js.map +1 -1
  272. package/fesm2015/ptsecurity-mosaic-sidebar.js +13 -13
  273. package/fesm2015/ptsecurity-mosaic-sidebar.js.map +1 -1
  274. package/fesm2015/ptsecurity-mosaic-sidepanel.js +50 -41
  275. package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +1 -1
  276. package/fesm2015/ptsecurity-mosaic-splitter.js +27 -16
  277. package/fesm2015/ptsecurity-mosaic-splitter.js.map +1 -1
  278. package/fesm2015/ptsecurity-mosaic-table.js +7 -7
  279. package/fesm2015/ptsecurity-mosaic-table.js.map +1 -1
  280. package/fesm2015/ptsecurity-mosaic-tabs.js +240 -174
  281. package/fesm2015/ptsecurity-mosaic-tabs.js.map +1 -1
  282. package/fesm2015/ptsecurity-mosaic-tags.js +23 -22
  283. package/fesm2015/ptsecurity-mosaic-tags.js.map +1 -1
  284. package/fesm2015/ptsecurity-mosaic-textarea.js +7 -7
  285. package/fesm2015/ptsecurity-mosaic-textarea.js.map +1 -1
  286. package/fesm2015/ptsecurity-mosaic-timepicker.js +12 -11
  287. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +1 -1
  288. package/fesm2015/ptsecurity-mosaic-toggle.js +7 -7
  289. package/fesm2015/ptsecurity-mosaic-toggle.js.map +1 -1
  290. package/fesm2015/ptsecurity-mosaic-tooltip.js +57 -18
  291. package/fesm2015/ptsecurity-mosaic-tooltip.js.map +1 -1
  292. package/fesm2015/ptsecurity-mosaic-tree-select.js +14 -18
  293. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +1 -1
  294. package/fesm2015/ptsecurity-mosaic-tree.js +874 -190
  295. package/fesm2015/ptsecurity-mosaic-tree.js.map +1 -1
  296. package/form-field/cleaner.d.ts +2 -0
  297. package/input/input-number-validators.d.ts +2 -2
  298. package/list/list-selection.component.d.ts +28 -6
  299. package/modal/modal.component.d.ts +2 -0
  300. package/modal/modal.module.d.ts +1 -1
  301. package/package.json +5 -5
  302. package/popover/popover-confirm.component.d.ts +33 -0
  303. package/popover/popover.component.d.ts +14 -4
  304. package/popover/popover.module.d.ts +6 -3
  305. package/popover/public-api.d.ts +1 -0
  306. package/prebuilt-themes/dark-theme.css +1 -1
  307. package/prebuilt-themes/default-theme.css +1 -1
  308. package/prebuilt-visual/default-visual.css +1 -1
  309. package/select/select.component.d.ts +2 -7
  310. package/sidepanel/sidepanel-directives.d.ts +2 -0
  311. package/sidepanel/sidepanel.module.d.ts +2 -1
  312. package/splitter/splitter.component.d.ts +6 -3
  313. package/tabs/tab-group.component.d.ts +11 -4
  314. package/tabs/tab-label-wrapper.directive.d.ts +7 -1
  315. package/tabs/tab.component.d.ts +10 -4
  316. package/tooltip/tooltip.component.d.ts +12 -3
  317. package/tree/control/base-tree-control.d.ts +40 -0
  318. package/tree/control/flat-tree-control.d.ts +48 -0
  319. package/tree/control/nested-tree-control.d.ts +19 -0
  320. package/tree/control/tree-control.d.ts +44 -0
  321. package/tree/data-source/flat-data-source.d.ts +2 -1
  322. package/tree/node.d.ts +34 -0
  323. package/tree/outlet.d.ts +9 -0
  324. package/tree/padding.directive.d.ts +35 -7
  325. package/tree/public-api.d.ts +8 -1
  326. package/tree/toggle.d.ts +17 -17
  327. package/tree/tree-base.d.ts +97 -0
  328. package/tree/tree-errors.d.ts +25 -0
  329. package/tree/tree-option.component.d.ts +13 -5
  330. package/tree/tree-selection.component.d.ts +32 -13
  331. package/tree/tree.d.ts +6 -0
  332. package/tree/tree.module.d.ts +10 -8
  333. package/tree-select/tree-select.component.d.ts +2 -7
  334. package/tree-select/tree-select.module.d.ts +5 -6
  335. package/esm2015/tree/node.directive.js +0 -19
  336. package/tree/node.directive.d.ts +0 -7
@@ -0,0 +1,42 @@
1
+ import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
2
+ import { AfterViewInit, ElementRef, EventEmitter, InjectionToken, OnDestroy } from '@angular/core';
3
+ import { CanDisableCtor, HasTabIndexCtor } from '../common-behaviors/index';
4
+ import * as i0 from "@angular/core";
5
+ export interface McOptionActionParent {
6
+ dropdownTrigger: {
7
+ opened: boolean;
8
+ restoreFocus: boolean;
9
+ dropdownClosed: EventEmitter<void>;
10
+ lastDestroyReason: void | 'click' | 'keydown' | 'tab';
11
+ openedBy: Exclude<FocusOrigin, 'program' | null> | undefined;
12
+ toggle(): void;
13
+ };
14
+ tooltipTrigger: {
15
+ disabled: boolean;
16
+ };
17
+ focus(): void;
18
+ }
19
+ export declare const MC_OPTION_ACTION_PARENT: InjectionToken<McOptionActionParent>;
20
+ export declare class McOptionActionBase {
21
+ }
22
+ export declare const McOptionActionMixinBase: HasTabIndexCtor & CanDisableCtor & typeof McOptionActionBase;
23
+ export declare class McOptionActionComponent extends McOptionActionMixinBase implements AfterViewInit, OnDestroy {
24
+ private elementRef;
25
+ private focusMonitor;
26
+ private option;
27
+ customIcon: ElementRef;
28
+ hasFocus: boolean;
29
+ get active(): boolean;
30
+ private readonly destroy;
31
+ constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, option: McOptionActionParent);
32
+ ngAfterViewInit(): void;
33
+ ngOnDestroy(): void;
34
+ focus(origin?: FocusOrigin, options?: FocusOptions): void;
35
+ onFocus($event: any): void;
36
+ onBlur(): void;
37
+ onClick($event: any): void;
38
+ onKeyDown($event: any): void;
39
+ private preventShowingTooltip;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<McOptionActionComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<McOptionActionComponent, "mc-option-action", ["mcOptionAction"], { "disabled": "disabled"; }, {}, ["customIcon"], ["[mc-icon]"]>;
42
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './option';
2
2
  export * from './optgroup';
3
+ export * from './action';
3
4
  export * from './option-module';
@@ -1,10 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./option";
3
3
  import * as i2 from "./optgroup";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
4
+ import * as i3 from "./action";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../selection/pseudo-checkbox/pseudo-checkbox.module";
6
7
  export declare class McOptionModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<McOptionModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<McOptionModule, [typeof i1.McOption, typeof i2.McOptgroup], [typeof i3.CommonModule, typeof i4.McPseudoCheckboxModule], [typeof i1.McOption, typeof i2.McOptgroup]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<McOptionModule, [typeof i1.McOption, typeof i2.McOptgroup, typeof i3.McOptionActionComponent], [typeof i4.CommonModule, typeof i5.McPseudoCheckboxModule], [typeof i1.McOption, typeof i2.McOptgroup, typeof i3.McOptionActionComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<McOptionModule>;
10
11
  }
@@ -17,23 +17,17 @@ export declare abstract class McPopUpTrigger<T> {
17
17
  isOpen: boolean;
18
18
  enterDelay: number;
19
19
  leaveDelay: number;
20
- placementChange: EventEmitter<string>;
21
- visibleChange: EventEmitter<boolean>;
22
- get placementPriority(): string | string[] | null;
23
- set placementPriority(value: string | string[] | null);
24
- private _placementPriority;
25
- get placement(): PopUpPlacements;
26
- set placement(value: PopUpPlacements);
27
- private _placement;
28
- get visible(): boolean;
29
- set visible(externalValue: boolean);
30
- private _visible;
31
20
  abstract disabled: boolean;
32
21
  abstract trigger: string;
33
22
  abstract customClass: string;
34
23
  abstract content: string | TemplateRef<any>;
24
+ abstract placementChange: EventEmitter<string>;
25
+ abstract visibleChange: EventEmitter<boolean>;
35
26
  protected abstract originSelector: string;
36
27
  protected abstract overlayConfig: OverlayConfig;
28
+ protected placement: PopUpPlacements;
29
+ protected placementPriority: string | string[] | null;
30
+ protected visible: boolean;
37
31
  protected _content: string | TemplateRef<any>;
38
32
  protected _disabled: boolean;
39
33
  protected _customClass: string;
@@ -52,6 +46,9 @@ export declare abstract class McPopUpTrigger<T> {
52
46
  abstract getOverlayHandleComponentType(): Type<T>;
53
47
  ngOnInit(): void;
54
48
  ngOnDestroy(): void;
49
+ updatePlacement(value: PopUpPlacements): void;
50
+ updatePlacementPriority(value: any): void;
51
+ updateVisible(externalValue: boolean): void;
55
52
  handleKeydown(event: KeyboardEvent): void;
56
53
  handleTouchend(): void;
57
54
  show(delay?: number): void;
@@ -69,5 +66,5 @@ export declare abstract class McPopUpTrigger<T> {
69
66
  private addEventListener;
70
67
  private removeEventListener;
71
68
  static ɵfac: i0.ɵɵFactoryDeclaration<McPopUpTrigger<any>, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, { "enterDelay": "mcEnterDelay"; "leaveDelay": "mcLeaveDelay"; "placementPriority": "mcPlacementPriority"; "placement": "mcPlacement"; "visible": "mcVisible"; }, { "placementChange": "mcPlacementChange"; "visibleChange": "mcVisibleChange"; }, never>;
69
+ static ɵdir: i0.ɵɵDirectiveDeclaration<McPopUpTrigger<any>, never, never, {}, {}, never>;
73
70
  }
@@ -26,6 +26,12 @@ console.log('Build started...');
26
26
  console.log('==============================================');
27
27
 
28
28
  module.exports = (themeConfig) => {
29
+ StyleDictionary.registerFileHeader({
30
+ name: 'customHeader',
31
+ fileHeader: () => {
32
+ return [`Do not edit directly`];
33
+ }
34
+ });
29
35
  console.log('themeConfig: ', themeConfig);
30
36
 
31
37
  if (!themeConfig || themeConfig.length === 0) {
@@ -6,7 +6,8 @@ const cssConfig = require('./css');
6
6
 
7
7
  const filterObj = {
8
8
  options: {
9
- showFileHeader: true
9
+ showFileHeader: true,
10
+ fileHeader: 'customHeader'
10
11
  }
11
12
  };
12
13
 
@@ -1,14 +1,184 @@
1
1
  {
2
2
  badge: {
3
3
  size: {
4
- 'min-width': { value: '10px' },
5
- padding: { value: '4px {padding.badge_tag-horizontal}' },
6
- 'border-width': { value: '1px' },
7
- 'border-radius': { value: '4px' }
4
+ default: {
5
+ 'min-width': { value: '10px' },
6
+ padding: { value: '0 8px' },
7
+ 'border-width': { value: '1px' },
8
+ 'border-radius': { value: '4px' },
9
+ height: { value: '24px' },
10
+ font: {
11
+ default: { value: 'caption' },
12
+ caps: { value: 'caption-caps' },
13
+ mono: { value: 'caption-mono'}
14
+ }
15
+ },
16
+ mini: {
17
+ height: { value: '16px' },
18
+ 'min-width': { value: '10px' },
19
+ 'border-width': { value: '1px' },
20
+ 'border-radius': { value: '2px' },
21
+ padding: { value: '0 4px' },
22
+ font: {
23
+ default: { value: 'extra-small-text' },
24
+ caps: { value: 'extra-small-text-caps' },
25
+ mono: { value: 'extra-small-text-mono'}
26
+ }
27
+ }
8
28
  },
9
29
  font: {
10
- default: { value: 'caption' },
11
- caps: { value: 'caption-caps' }
12
- }
30
+ default: {
31
+ default: { value: 'caption' },
32
+ caps: { value: 'caption-caps' },
33
+ mono: { value: 'caption-mono'}
34
+ },
35
+ mini: {
36
+ default: { value: 'extra-small-text' },
37
+ caps: { value: 'extra-small-text-caps' },
38
+ mono: { value: 'extra-small-text-mono'}
39
+ }
40
+ },
41
+ 'light-color-scheme': {
42
+ solid: {
43
+ primary: {
44
+ background: { value: '{light-color-scheme.primary.palette.value.500.value}' },
45
+ color: { value: 'white' },
46
+ border: { value: '{light-color-scheme.primary.palette.value.500.value}' },
47
+ },
48
+ info: {
49
+ border: { value: '{light-color-scheme.primary.palette.value.500.value}' },
50
+ background: { value: '{light-color-scheme.primary.palette.value.500.value}' },
51
+ color: { value: 'white' }
52
+ },
53
+ success: {
54
+ border: { value: '{light-color-scheme.success.palette.value.500.value}' },
55
+ background: { value: '{light-color-scheme.success.palette.value.500.value}' },
56
+ color: { value: 'white' }
57
+ },
58
+ warning: {
59
+ border: { value: '{light-color-scheme.warning.palette.value.500.value}' },
60
+ background: { value: '{light-color-scheme.warning.palette.value.500.value}' },
61
+ color: { value: 'white' }
62
+ },
63
+ error: {
64
+ border: { value: '{light-color-scheme.error.palette.value.500.value}' },
65
+ background: { value: '{light-color-scheme.error.palette.value.500.value}' },
66
+ color: { value: 'white' }
67
+ },
68
+ transparent: {
69
+ border: { value: '{light-color-scheme.second.palette.value.200.value}' },
70
+ color: { value: '{light-color-scheme.primary.palette.value.contrast.300.value}' },
71
+ background: { value: 'transparent' }
72
+ },
73
+ light: {
74
+ border: { value: '{light-color-scheme.second.palette.value.100.value}' },
75
+ background: { value: '{light-color-scheme.second.palette.value.100.value}' },
76
+ color: { value: '{light-color-scheme.primary.palette.value.contrast.300.value}' }
77
+ },
78
+ second: {
79
+ border: { value: '{light-color-scheme.second.palette.value.600.value}' },
80
+ background: { value: '{light-color-scheme.second.palette.value.600.value}' },
81
+ color: { value: 'white' }
82
+ }
83
+ },
84
+ pastel: {
85
+ primary: {
86
+ background: { value: '{light-color-scheme.primary.palette.value.40.value}' },
87
+ border: { value: '{light-color-scheme.primary.palette.value.200.value}' },
88
+ color: { value: '{light-color-scheme.primary.palette.value.500.value}' }
89
+ },
90
+ info: {
91
+ background: { value: '{light-color-scheme.info.palette.value.40.value}' },
92
+ border: { value: '{light-color-scheme.primary.palette.value.200.value}' },
93
+ color: { value: '{light-color-scheme.info.palette.value.500.value}' }
94
+ },
95
+ success: {
96
+ background: { value: '{light-color-scheme.success.palette.value.40.value}' },
97
+ border: { value: '{light-color-scheme.success.palette.value.200.value}' },
98
+ color: { value: '{light-color-scheme.success.palette.value.560.value}' }
99
+ },
100
+ warning: {
101
+ background: { value: '{light-color-scheme.warning.palette.value.40.value}' },
102
+ border: { value: '{light-color-scheme.warning.palette.value.200.value}' },
103
+ color: { value: '{light-color-scheme.warning.palette.value.560.value}' }
104
+ },
105
+ error: {
106
+ background: { value: '{light-color-scheme.error.palette.value.40.value}' },
107
+ border: { value: '{light-color-scheme.error.palette.value.200.value}' },
108
+ color: { value: '{light-color-scheme.error.palette.value.500.value}' }
109
+ }
110
+ }
111
+ },
112
+ 'dark-color-scheme': {
113
+ pastel: {
114
+ primary: {
115
+ background: { value: '{light-color-scheme.primary.palette.value.A100.value}' },
116
+ color: { value: '{light-color-scheme.primary.palette.value.100.value}' },
117
+ border: { value: '{light-color-scheme.primary.palette.value.700.value}' },
118
+ },
119
+ info: {
120
+ background: { value: '{light-color-scheme.primary.palette.value.100.value}' },
121
+ color: { value: '{light-color-scheme.primary.palette.value.100.value}' },
122
+ border: { value: '{light-color-scheme.primary.palette.value.A100.value}' }
123
+ },
124
+ success: {
125
+ border: { value: '{light-color-scheme.success.palette.value.700.value}' },
126
+ background: { value: '{light-color-scheme.success.palette.value.A100.value}' },
127
+ color: { value: '{light-color-scheme.success.palette.value.100.value}' }
128
+ },
129
+ warning: {
130
+ border: { value: '{light-color-scheme.warning.palette.value.700.value}' },
131
+ background: { value: '{light-color-scheme.warning.palette.value.A100.value}' },
132
+ color: { value: '{light-color-scheme.warning.palette.value.100.value}' }
133
+ },
134
+ error: {
135
+ border: { value: '{light-color-scheme.error.palette.value.700.value}' },
136
+ background: { value: '{light-color-scheme.error.palette.value.A100.value}' },
137
+ color: { value: '{light-color-scheme.error.palette.value.100.value}' }
138
+ }
139
+ },
140
+ solid: {
141
+ primary: {
142
+ background: { value: '{light-color-scheme.primary.palette.value.700.value}' },
143
+ color: { value: 'white' },
144
+ border: { value: '{light-color-scheme.primary.palette.value.700.value}' },
145
+ },
146
+ info: {
147
+ border: { value: '{light-color-scheme.primary.palette.value.800.value}' },
148
+ background: { value: '{light-color-scheme.primary.palette.value.800.value}' },
149
+ color: { value: 'white' }
150
+ },
151
+ success: {
152
+ border: { value: '{light-color-scheme.success.palette.value.700.value}' },
153
+ background: { value: '{light-color-scheme.success.palette.value.700.value}' },
154
+ color: { value: 'white' }
155
+ },
156
+ warning: {
157
+ border: { value: '{light-color-scheme.warning.palette.value.700.value}' },
158
+ background: { value: '{light-color-scheme.warning.palette.value.700.value}' },
159
+ color: { value: 'white' }
160
+ },
161
+ error: {
162
+ border: { value: '{light-color-scheme.error.palette.value.700.value}' },
163
+ background: { value: '{light-color-scheme.error.palette.value.700.value}' },
164
+ color: { value: 'white' }
165
+ },
166
+ transparent: {
167
+ border: { value: '{light-color-scheme.second.palette.value.500.value}' },
168
+ color: { value: '{light-color-scheme.second.palette.value.40.value}' },
169
+ background: { value: 'transparent' }
170
+ },
171
+ light: {
172
+ border: { value: '{light-color-scheme.second.palette.value.400.value}' },
173
+ background: { value: '{light-color-scheme.second.palette.value.400.value}' },
174
+ color: { value: 'white' }
175
+ },
176
+ second: {
177
+ border: { value: '{light-color-scheme.second.palette.value.700.value}' },
178
+ background: { value: '{light-color-scheme.second.palette.value.700.value}' },
179
+ color: { value: 'white' }
180
+ }
181
+ }
182
+ },
13
183
  }
14
184
  }
@@ -6,10 +6,6 @@
6
6
 
7
7
  'item-height': { value: '{size.option-height}' },
8
8
 
9
- 'two-line-height': { value: '72px' },
10
- 'three-line-height': { value: '88px' },
11
- 'multi-line-padding': { value: '16px' },
12
-
13
9
  'icon-width': { value: '24px' }
14
10
  },
15
11
  font: {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  tree: {
3
3
  size: {
4
- 'padding-right': { value: '{padding.option-horizontal}' },
5
- 'border-width': { value: '2px' },
6
- 'node-height': { value: '{size.option-height}' }
4
+ 'node-height': { value: '32px' },
5
+ 'padding-left': { value: '8px' },
6
+ 'padding-right': { value: '16px' },
7
7
  },
8
8
  font: {
9
9
  node: { value: 'body' }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  size: {
3
- 'option-height': '28px',
3
+ 'option-height': '32px',
4
4
  'panel-height': '48px',
5
5
  // у radio и checkbox в макетах 20px, у тоггла есть две модификации на 16px и 14px
6
6
  'control_S-height': '16px',
@@ -119,6 +119,22 @@
119
119
  "font-weight": { value: 'normal' },
120
120
  "font-family": { value: '{font.family.base.value}' },
121
121
  "text-transform": { value: 'null' }
122
+ },
123
+ "extra-small-text-caps": {
124
+ "font-size": { value: '11px' },
125
+ "line-height": { value: '16px' },
126
+ "letter-spacing": { value: '1px' },
127
+ "font-weight": { value: 'normal' },
128
+ "font-family": { value: '{font.family.base.value}' },
129
+ "text-transform": { value: 'uppercase' }
130
+ },
131
+ "extra-small-text-mono": {
132
+ "font-size": { value: '11px' },
133
+ "line-height": { value: '16px' },
134
+ "letter-spacing": { value: '0px' },
135
+ "font-weight": { value: 'normal' },
136
+ "font-family": { value: '{font.family.monospace.value}' },
137
+ "text-transform": { value: 'null' }
122
138
  }
123
139
  }
124
140
  }
@@ -1,6 +1,5 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 07 Oct 2021 08:29:06 GMT
4
3
  */
5
4
  export declare const LightColorSchemePrimaryDefault = "#338FCC";
6
5
  export declare const LightColorSchemePrimaryPalette: {
@@ -6986,6 +6985,18 @@ export declare const TypographyExtraSmallTextLetterSpacing = "0.22px";
6986
6985
  export declare const TypographyExtraSmallTextFontWeight = "normal";
6987
6986
  export declare const TypographyExtraSmallTextFontFamily = "Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif";
6988
6987
  export declare const TypographyExtraSmallTextTextTransform = "null";
6988
+ export declare const TypographyExtraSmallTextCapsFontSize = "11px";
6989
+ export declare const TypographyExtraSmallTextCapsLineHeight = "16px";
6990
+ export declare const TypographyExtraSmallTextCapsLetterSpacing = "1px";
6991
+ export declare const TypographyExtraSmallTextCapsFontWeight = "normal";
6992
+ export declare const TypographyExtraSmallTextCapsFontFamily = "Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif";
6993
+ export declare const TypographyExtraSmallTextCapsTextTransform = "uppercase";
6994
+ export declare const TypographyExtraSmallTextMonoFontSize = "11px";
6995
+ export declare const TypographyExtraSmallTextMonoLineHeight = "16px";
6996
+ export declare const TypographyExtraSmallTextMonoLetterSpacing = "0px";
6997
+ export declare const TypographyExtraSmallTextMonoFontWeight = "normal";
6998
+ export declare const TypographyExtraSmallTextMonoFontFamily = "'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace";
6999
+ export declare const TypographyExtraSmallTextMonoTextTransform = "null";
6989
7000
  export declare const AlertLightColorSchemeErrorBackground = "#FCEFEC";
6990
7001
  export declare const AlertLightColorSchemeErrorBorder = "#E76E5C";
6991
7002
  export declare const AlertLightColorSchemeErrorIcon = "#E76E5C";
@@ -7030,12 +7041,106 @@ export declare const AlertFontSmallBody = "caption";
7030
7041
  export declare const AutocompleteSizePanelPadding = "4px 0";
7031
7042
  export declare const AutocompleteSizePanelMaxHeight = "256px";
7032
7043
  export declare const AutocompleteSizePanelBorderRadius = "3px";
7033
- export declare const BadgeSizeMinWidth = "10px";
7034
- export declare const BadgeSizePadding = "4px 8px";
7035
- export declare const BadgeSizeBorderWidth = "1px";
7036
- export declare const BadgeSizeBorderRadius = "4px";
7037
- export declare const BadgeFontDefault = "caption";
7038
- export declare const BadgeFontCaps = "caption-caps";
7044
+ export declare const BadgeSizeDefaultMinWidth = "10px";
7045
+ export declare const BadgeSizeDefaultPadding = "0 8px";
7046
+ export declare const BadgeSizeDefaultBorderWidth = "1px";
7047
+ export declare const BadgeSizeDefaultBorderRadius = "4px";
7048
+ export declare const BadgeSizeDefaultHeight = "24px";
7049
+ export declare const BadgeSizeDefaultFontDefault = "caption";
7050
+ export declare const BadgeSizeDefaultFontCaps = "caption-caps";
7051
+ export declare const BadgeSizeDefaultFontMono = "caption-mono";
7052
+ export declare const BadgeSizeMiniHeight = "16px";
7053
+ export declare const BadgeSizeMiniMinWidth = "10px";
7054
+ export declare const BadgeSizeMiniBorderWidth = "1px";
7055
+ export declare const BadgeSizeMiniBorderRadius = "2px";
7056
+ export declare const BadgeSizeMiniPadding = "0 4px";
7057
+ export declare const BadgeSizeMiniFontDefault = "extra-small-text";
7058
+ export declare const BadgeSizeMiniFontCaps = "extra-small-text-caps";
7059
+ export declare const BadgeSizeMiniFontMono = "extra-small-text-mono";
7060
+ export declare const BadgeFontDefaultDefault = "caption";
7061
+ export declare const BadgeFontDefaultCaps = "caption-caps";
7062
+ export declare const BadgeFontDefaultMono = "caption-mono";
7063
+ export declare const BadgeFontMiniDefault = "extra-small-text";
7064
+ export declare const BadgeFontMiniCaps = "extra-small-text-caps";
7065
+ export declare const BadgeFontMiniMono = "extra-small-text-mono";
7066
+ export declare const BadgeLightColorSchemeSolidPrimaryBackground = "#338FCC";
7067
+ export declare const BadgeLightColorSchemeSolidPrimaryColor = "white";
7068
+ export declare const BadgeLightColorSchemeSolidPrimaryBorder = "#338FCC";
7069
+ export declare const BadgeLightColorSchemeSolidInfoBorder = "#338FCC";
7070
+ export declare const BadgeLightColorSchemeSolidInfoBackground = "#338FCC";
7071
+ export declare const BadgeLightColorSchemeSolidInfoColor = "white";
7072
+ export declare const BadgeLightColorSchemeSolidSuccessBorder = "#52A832";
7073
+ export declare const BadgeLightColorSchemeSolidSuccessBackground = "#52A832";
7074
+ export declare const BadgeLightColorSchemeSolidSuccessColor = "white";
7075
+ export declare const BadgeLightColorSchemeSolidWarningBorder = "#D6930D";
7076
+ export declare const BadgeLightColorSchemeSolidWarningBackground = "#D6930D";
7077
+ export declare const BadgeLightColorSchemeSolidWarningColor = "white";
7078
+ export declare const BadgeLightColorSchemeSolidErrorBorder = "#E04D36";
7079
+ export declare const BadgeLightColorSchemeSolidErrorBackground = "#E04D36";
7080
+ export declare const BadgeLightColorSchemeSolidErrorColor = "white";
7081
+ export declare const BadgeLightColorSchemeSolidTransparentBorder = "#CCCCCC";
7082
+ export declare const BadgeLightColorSchemeSolidTransparentColor = "#4D4D4D";
7083
+ export declare const BadgeLightColorSchemeSolidTransparentBackground = "transparent";
7084
+ export declare const BadgeLightColorSchemeSolidLightBorder = "#E6E6E6";
7085
+ export declare const BadgeLightColorSchemeSolidLightBackground = "#E6E6E6";
7086
+ export declare const BadgeLightColorSchemeSolidLightColor = "#4D4D4D";
7087
+ export declare const BadgeLightColorSchemeSolidSecondBorder = "#666666";
7088
+ export declare const BadgeLightColorSchemeSolidSecondBackground = "#666666";
7089
+ export declare const BadgeLightColorSchemeSolidSecondColor = "white";
7090
+ export declare const BadgeLightColorSchemePastelPrimaryBackground = "#F5FAFD";
7091
+ export declare const BadgeLightColorSchemePastelPrimaryBorder = "#AAD1EC";
7092
+ export declare const BadgeLightColorSchemePastelPrimaryColor = "#338FCC";
7093
+ export declare const BadgeLightColorSchemePastelInfoBackground = "#F5FAFD";
7094
+ export declare const BadgeLightColorSchemePastelInfoBorder = "#AAD1EC";
7095
+ export declare const BadgeLightColorSchemePastelInfoColor = "#338FCC";
7096
+ export declare const BadgeLightColorSchemePastelSuccessBackground = "#F6FBF4";
7097
+ export declare const BadgeLightColorSchemePastelSuccessBorder = "#B4DEA4";
7098
+ export declare const BadgeLightColorSchemePastelSuccessColor = "#449327";
7099
+ export declare const BadgeLightColorSchemePastelWarningBackground = "#FDFAF3";
7100
+ export declare const BadgeLightColorSchemePastelWarningBorder = "#F0D49B";
7101
+ export declare const BadgeLightColorSchemePastelWarningColor = "#BB800A";
7102
+ export declare const BadgeLightColorSchemePastelErrorBackground = "#FEF7F6";
7103
+ export declare const BadgeLightColorSchemePastelErrorBorder = "#F4B7AE";
7104
+ export declare const BadgeLightColorSchemePastelErrorColor = "#E04D36";
7105
+ export declare const BadgeDarkColorSchemePastelPrimaryBackground = "rgba(0, 153, 255, 0.15)";
7106
+ export declare const BadgeDarkColorSchemePastelPrimaryColor = "#D8EAF7";
7107
+ export declare const BadgeDarkColorSchemePastelPrimaryBorder = "#114E77";
7108
+ export declare const BadgeDarkColorSchemePastelInfoBackground = "#D8EAF7";
7109
+ export declare const BadgeDarkColorSchemePastelInfoColor = "#D8EAF7";
7110
+ export declare const BadgeDarkColorSchemePastelInfoBorder = "rgba(0, 153, 255, 0.15)";
7111
+ export declare const BadgeDarkColorSchemePastelSuccessBorder = "#276211";
7112
+ export declare const BadgeDarkColorSchemePastelSuccessBackground = "rgba(68, 255, 0, 0.15)";
7113
+ export declare const BadgeDarkColorSchemePastelSuccessColor = "#DCF1D4";
7114
+ export declare const BadgeDarkColorSchemePastelWarningBorder = "#7D5504";
7115
+ export declare const BadgeDarkColorSchemePastelWarningBackground = "rgba(255, 170, 0, 0.15)";
7116
+ export declare const BadgeDarkColorSchemePastelWarningColor = "#F8EBD1";
7117
+ export declare const BadgeDarkColorSchemePastelErrorBorder = "#832112";
7118
+ export declare const BadgeDarkColorSchemePastelErrorBackground = "rgba(224, 79, 56, 0.15)";
7119
+ export declare const BadgeDarkColorSchemePastelErrorColor = "#FADEDA";
7120
+ export declare const BadgeDarkColorSchemeSolidPrimaryBackground = "#114E77";
7121
+ export declare const BadgeDarkColorSchemeSolidPrimaryColor = "white";
7122
+ export declare const BadgeDarkColorSchemeSolidPrimaryBorder = "#114E77";
7123
+ export declare const BadgeDarkColorSchemeSolidInfoBorder = "#07314D";
7124
+ export declare const BadgeDarkColorSchemeSolidInfoBackground = "#07314D";
7125
+ export declare const BadgeDarkColorSchemeSolidInfoColor = "white";
7126
+ export declare const BadgeDarkColorSchemeSolidSuccessBorder = "#276211";
7127
+ export declare const BadgeDarkColorSchemeSolidSuccessBackground = "#276211";
7128
+ export declare const BadgeDarkColorSchemeSolidSuccessColor = "white";
7129
+ export declare const BadgeDarkColorSchemeSolidWarningBorder = "#7D5504";
7130
+ export declare const BadgeDarkColorSchemeSolidWarningBackground = "#7D5504";
7131
+ export declare const BadgeDarkColorSchemeSolidWarningColor = "white";
7132
+ export declare const BadgeDarkColorSchemeSolidErrorBorder = "#832112";
7133
+ export declare const BadgeDarkColorSchemeSolidErrorBackground = "#832112";
7134
+ export declare const BadgeDarkColorSchemeSolidErrorColor = "white";
7135
+ export declare const BadgeDarkColorSchemeSolidTransparentBorder = "#808080";
7136
+ export declare const BadgeDarkColorSchemeSolidTransparentColor = "#F5F5F5";
7137
+ export declare const BadgeDarkColorSchemeSolidTransparentBackground = "transparent";
7138
+ export declare const BadgeDarkColorSchemeSolidLightBorder = "#999999";
7139
+ export declare const BadgeDarkColorSchemeSolidLightBackground = "#999999";
7140
+ export declare const BadgeDarkColorSchemeSolidLightColor = "white";
7141
+ export declare const BadgeDarkColorSchemeSolidSecondBorder = "#4D4D4D";
7142
+ export declare const BadgeDarkColorSchemeSolidSecondBackground = "#4D4D4D";
7143
+ export declare const BadgeDarkColorSchemeSolidSecondColor = "white";
7039
7144
  export declare const ButtonToggleSizeBorderSize = "1px";
7040
7145
  export declare const ButtonToggleSizeBorderRadius = "3px";
7041
7146
  export declare const ButtonLightColorSchemeActiveShadow = "inset 0 1px 2px 0 rgba(black, 0.2)";
@@ -7242,10 +7347,7 @@ export declare const LinkAnimationStateHoverTransition = "color 0ms";
7242
7347
  export declare const LinkFontDefault = "body";
7243
7348
  export declare const ListSizeHorizontalPadding = "16px";
7244
7349
  export declare const ListSizeIconPadding = "4px";
7245
- export declare const ListSizeItemHeight = "28px";
7246
- export declare const ListSizeTwoLineHeight = "72px";
7247
- export declare const ListSizeThreeLineHeight = "88px";
7248
- export declare const ListSizeMultiLinePadding = "16px";
7350
+ export declare const ListSizeItemHeight = "32px";
7249
7351
  export declare const ListSizeIconWidth = "24px";
7250
7352
  export declare const ListFontItem = "body";
7251
7353
  export declare const ModalLightColorSchemeShadow = "(0 0 0 1px #B3B3B3, 0 6px 12px 0 rgba(0, 0, 0, 0.5))";
@@ -7528,7 +7630,7 @@ export declare const ExtendedTooltipHeaderDarkColorSchemeBackground = "#4D4D4D";
7528
7630
  export declare const ExtendedTooltipHeaderSizeHeight = "40px";
7529
7631
  export declare const ExtendedTooltipHeaderSizePadding = "10px 16px";
7530
7632
  export declare const ExtendedTooltipHeaderFontDefault = "subheading";
7633
+ export declare const TreeSizeNodeHeight = "32px";
7634
+ export declare const TreeSizePaddingLeft = "8px";
7531
7635
  export declare const TreeSizePaddingRight = "16px";
7532
- export declare const TreeSizeBorderWidth = "2px";
7533
- export declare const TreeSizeNodeHeight = "28px";
7534
7636
  export declare const TreeFontNode = "body";
@@ -43,6 +43,7 @@ export declare class McDropdownItem extends McDropdownItemMixinBase implements I
43
43
  handleMouseEnter(): void;
44
44
  /** Gets the label to be used when determining whether the option should be focused. */
45
45
  getLabel(): string;
46
+ haltDisabledEvents(event: Event): void;
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<McDropdownItem, [null, null, { optional: true; }]>;
47
48
  static ɵcmp: i0.ɵɵComponentDeclaration<McDropdownItem, "mc-dropdown-item, [mc-dropdown-item]", ["mcDropdownItem"], { "disabled": "disabled"; }, {}, ["icon"], ["*"]>;
48
49
  }
@@ -4,7 +4,7 @@ import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
4
4
  import { AfterContentInit, ElementRef, EventEmitter, InjectionToken, OnDestroy, ViewContainerRef } from '@angular/core';
5
5
  import { McDropdownItem } from './dropdown-item.component';
6
6
  import { McDropdown } from './dropdown.component';
7
- import { McDropdownPanel } from './dropdown.types';
7
+ import { DropdownCloseReason, McDropdownPanel } from './dropdown.types';
8
8
  import * as i0 from "@angular/core";
9
9
  /** Injection token that determines the scroll handling while the dropdown is open. */
10
10
  export declare const MC_DROPDOWN_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
@@ -32,6 +32,7 @@ export declare class McDropdownTrigger implements AfterContentInit, OnDestroy {
32
32
  private dropdownItemInstance;
33
33
  private _dir;
34
34
  private focusMonitor?;
35
+ lastDestroyReason: DropdownCloseReason;
35
36
  /** Data to be passed along to any lazily-rendered content. */
36
37
  data: any;
37
38
  openByArrowDown: boolean;
@@ -72,9 +73,8 @@ export declare class McDropdownTrigger implements AfterContentInit, OnDestroy {
72
73
  close(): void;
73
74
  /**
74
75
  * Focuses the dropdown trigger.
75
- * @param origin Source of the dropdown trigger's focus.
76
76
  */
77
- focus(origin?: FocusOrigin): void;
77
+ focus(origin?: FocusOrigin, options?: FocusOptions): void;
78
78
  /** Handles mouse presses on the trigger. */
79
79
  handleMousedown(event: MouseEvent): void;
80
80
  /** Handles key presses on the trigger. */
@@ -93,11 +93,6 @@ export declare class McDropdownTrigger implements AfterContentInit, OnDestroy {
93
93
  * the dropdown was opened via the keyboard.
94
94
  */
95
95
  private init;
96
- /**
97
- * This method resets the dropdown when it's closed, most importantly restoring
98
- * focus to the dropdown trigger if the dropdown was opened via the keyboard.
99
- */
100
- private reset;
101
96
  private setIsOpened;
102
97
  /**
103
98
  * This method checks that a valid instance of McDropdown has been passed into
@@ -108,6 +108,7 @@ export declare class McDropdown implements AfterContentInit, McDropdownPanel, On
108
108
  /** Callback that is invoked when the panel animation completes. */
109
109
  onAnimationDone(event: AnimationEvent): void;
110
110
  onAnimationStart(event: AnimationEvent): void;
111
+ close(): void;
111
112
  /**
112
113
  * Sets up a stream that will keep track of any newly-added menu items and will update the list
113
114
  * of direct descendants. We collect the descendants this way, because `_allItems` can include
@@ -9,13 +9,13 @@ export class McAutocompleteOrigin {
9
9
  this.elementRef = elementRef;
10
10
  }
11
11
  }
12
- /** @nocollapse */ McAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0, type: McAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
13
- /** @nocollapse */ McAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McAutocompleteOrigin, selector: "[mcAutocompleteOrigin]", exportAs: ["mcAutocompleteOrigin"], ngImport: i0 });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0, type: McAutocompleteOrigin, decorators: [{
12
+ /** @nocollapse */ McAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
13
+ /** @nocollapse */ McAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McAutocompleteOrigin, selector: "[mcAutocompleteOrigin]", exportAs: ["mcAutocompleteOrigin"], ngImport: i0 });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McAutocompleteOrigin, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  selector: '[mcAutocompleteOrigin]',
18
18
  exportAs: 'mcAutocompleteOrigin'
19
19
  }]
20
20
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLW9yaWdpbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvYXV0b2NvbXBsZXRlL2F1dG9jb21wbGV0ZS1vcmlnaW4uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUd0RDs7O0dBR0c7QUFLSCxNQUFNLE9BQU8sb0JBQW9CO0lBQzdCLFlBQW1CLFVBQW1DO1FBQW5DLGVBQVUsR0FBVixVQUFVLENBQXlCO0lBQUcsQ0FBQzs7b0lBRGpELG9CQUFvQjt3SEFBcEIsb0JBQW9COzJGQUFwQixvQkFBb0I7a0JBSmhDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLHdCQUF3QjtvQkFDbEMsUUFBUSxFQUFFLHNCQUFzQjtpQkFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG4vKipcbiAqIERpcmVjdGl2ZSBhcHBsaWVkIHRvIGFuIGVsZW1lbnQgdG8gbWFrZSBpdCB1c2FibGVcbiAqIGFzIGEgY29ubmVjdGlvbiBwb2ludCBmb3IgYW4gYXV0b2NvbXBsZXRlIHBhbmVsLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1ttY0F1dG9jb21wbGV0ZU9yaWdpbl0nLFxuICAgIGV4cG9ydEFzOiAnbWNBdXRvY29tcGxldGVPcmlnaW4nXG59KVxuZXhwb3J0IGNsYXNzIE1jQXV0b2NvbXBsZXRlT3JpZ2luIHtcbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZjxIVE1MRWxlbWVudD4pIHt9XG59XG4iXX0=
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLW9yaWdpbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9tb3NhaWMvYXV0b2NvbXBsZXRlL2F1dG9jb21wbGV0ZS1vcmlnaW4uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUd0RDs7O0dBR0c7QUFLSCxNQUFNLE9BQU8sb0JBQW9CO0lBQzdCLFlBQW1CLFVBQW1DO1FBQW5DLGVBQVUsR0FBVixVQUFVLENBQXlCO0lBQUcsQ0FBQzs7cUlBRGpELG9CQUFvQjt5SEFBcEIsb0JBQW9COzRGQUFwQixvQkFBb0I7a0JBSmhDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLHdCQUF3QjtvQkFDbEMsUUFBUSxFQUFFLHNCQUFzQjtpQkFDbkMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG4vKipcbiAqIERpcmVjdGl2ZSBhcHBsaWVkIHRvIGFuIGVsZW1lbnQgdG8gbWFrZSBpdCB1c2FibGVcbiAqIGFzIGEgY29ubmVjdGlvbiBwb2ludCBmb3IgYW4gYXV0b2NvbXBsZXRlIHBhbmVsLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1ttY0F1dG9jb21wbGV0ZU9yaWdpbl0nLFxuICAgIGV4cG9ydEFzOiAnbWNBdXRvY29tcGxldGVPcmlnaW4nXG59KVxuZXhwb3J0IGNsYXNzIE1jQXV0b2NvbXBsZXRlT3JpZ2luIHtcbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZjxIVE1MRWxlbWVudD4pIHt9XG59XG4iXX0=