@ptsecurity/mosaic 13.0.0 → 13.2.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 (413) hide show
  1. package/_theming.scss +1235 -1004
  2. package/_visual.scss +914 -708
  3. package/core/formatters/date/formatter.d.ts +37 -13
  4. package/core/pop-up/pop-up.d.ts +1 -0
  5. package/core/public-api.d.ts +1 -0
  6. package/core/version.d.ts +2 -0
  7. package/design-tokens/{tokens → legacy-2017/tokens}/components/alert.json5 +0 -0
  8. package/design-tokens/{tokens → legacy-2017/tokens}/components/autocomplete.json5 +0 -0
  9. package/design-tokens/{tokens → legacy-2017/tokens}/components/badge.json5 +28 -38
  10. package/design-tokens/{tokens → legacy-2017/tokens}/components/button-toggle.json5 +0 -0
  11. package/design-tokens/{tokens → legacy-2017/tokens}/components/button.json5 +0 -0
  12. package/design-tokens/{tokens → legacy-2017/tokens}/components/card.json5 +0 -0
  13. package/design-tokens/{tokens → legacy-2017/tokens}/components/checkbox.json5 +2 -2
  14. package/design-tokens/{tokens → legacy-2017/tokens}/components/datepicker.json5 +0 -0
  15. package/design-tokens/{tokens → legacy-2017/tokens}/components/divider.json5 +0 -0
  16. package/design-tokens/legacy-2017/tokens/components/dl.json5 +38 -0
  17. package/design-tokens/{tokens → legacy-2017/tokens}/components/dropdown.json5 +0 -0
  18. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +91 -0
  19. package/design-tokens/{tokens → legacy-2017/tokens}/components/forms.json5 +0 -0
  20. package/design-tokens/{tokens → legacy-2017/tokens}/components/input.json5 +0 -0
  21. package/design-tokens/{tokens → legacy-2017/tokens}/components/link.json5 +0 -0
  22. package/design-tokens/{tokens → legacy-2017/tokens}/components/list.json5 +0 -0
  23. package/design-tokens/{tokens → legacy-2017/tokens}/components/modal.json5 +12 -0
  24. package/design-tokens/{tokens → legacy-2017/tokens}/components/navbar.json5 +2 -0
  25. package/design-tokens/{tokens → legacy-2017/tokens}/components/optgroup.json5 +0 -0
  26. package/design-tokens/{tokens → legacy-2017/tokens}/components/option.json5 +0 -0
  27. package/design-tokens/{tokens → legacy-2017/tokens}/components/popover.json5 +0 -0
  28. package/design-tokens/{tokens → legacy-2017/tokens}/components/popup.json5 +0 -0
  29. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-bar.json5 +0 -0
  30. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-spinner.json5 +0 -0
  31. package/design-tokens/{tokens → legacy-2017/tokens}/components/radio.json5 +0 -1
  32. package/design-tokens/{tokens → legacy-2017/tokens}/components/select.json5 +0 -0
  33. package/design-tokens/{tokens → legacy-2017/tokens}/components/sidepanel.json5 +0 -0
  34. package/design-tokens/{tokens → legacy-2017/tokens}/components/table.json5 +0 -0
  35. package/design-tokens/legacy-2017/tokens/components/tabs.json5 +101 -0
  36. package/design-tokens/{tokens → legacy-2017/tokens}/components/tags.json5 +6 -0
  37. package/design-tokens/{tokens → legacy-2017/tokens}/components/textarea.json5 +0 -0
  38. package/design-tokens/{tokens → legacy-2017/tokens}/components/timepicker.json5 +0 -0
  39. package/design-tokens/{tokens → legacy-2017/tokens}/components/toggle.json5 +24 -0
  40. package/design-tokens/{tokens → legacy-2017/tokens}/components/tooltip.json5 +0 -0
  41. package/design-tokens/{tokens → legacy-2017/tokens}/components/tree.json5 +0 -0
  42. package/design-tokens/{tokens → legacy-2017/tokens}/properties/aliases.json5 +0 -0
  43. package/design-tokens/{tokens → legacy-2017/tokens}/properties/colors.json5 +4 -0
  44. package/design-tokens/{tokens → legacy-2017/tokens}/properties/font.json5 +0 -0
  45. package/design-tokens/{tokens → legacy-2017/tokens}/properties/globals.json5 +20 -1
  46. package/design-tokens/{tokens → legacy-2017/tokens}/properties/padding.json5 +0 -0
  47. package/design-tokens/{tokens → legacy-2017/tokens}/properties/palette.json5 +0 -0
  48. package/design-tokens/{tokens → legacy-2017/tokens}/properties/typography.json5 +0 -0
  49. package/design-tokens/{tokens.d.ts → legacy-2017/tokens.d.ts} +101 -28
  50. package/design-tokens/pt-2022/tokens/components/alert.json5 +83 -0
  51. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +11 -0
  52. package/design-tokens/pt-2022/tokens/components/badge.json5 +174 -0
  53. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +10 -0
  54. package/design-tokens/pt-2022/tokens/components/button.json5 +143 -0
  55. package/design-tokens/pt-2022/tokens/components/card.json5 +51 -0
  56. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +39 -0
  57. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +64 -0
  58. package/design-tokens/pt-2022/tokens/components/divider.json5 +8 -0
  59. package/design-tokens/pt-2022/tokens/components/dl.json5 +38 -0
  60. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +47 -0
  61. package/design-tokens/pt-2022/tokens/components/form-field.json5 +91 -0
  62. package/design-tokens/pt-2022/tokens/components/forms.json5 +52 -0
  63. package/design-tokens/pt-2022/tokens/components/input.json5 +13 -0
  64. package/design-tokens/pt-2022/tokens/components/link.json5 +56 -0
  65. package/design-tokens/pt-2022/tokens/components/list.json5 +15 -0
  66. package/design-tokens/pt-2022/tokens/components/modal.json5 +79 -0
  67. package/design-tokens/pt-2022/tokens/components/navbar.json5 +69 -0
  68. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +10 -0
  69. package/design-tokens/pt-2022/tokens/components/option.json5 +12 -0
  70. package/design-tokens/pt-2022/tokens/components/popover.json5 +68 -0
  71. package/design-tokens/pt-2022/tokens/components/popup.json5 +18 -0
  72. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +13 -0
  73. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +7 -0
  74. package/design-tokens/pt-2022/tokens/components/radio.json5 +44 -0
  75. package/design-tokens/pt-2022/tokens/components/select.json5 +25 -0
  76. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +30 -0
  77. package/design-tokens/pt-2022/tokens/components/table.json5 +15 -0
  78. package/design-tokens/pt-2022/tokens/components/tabs.json5 +101 -0
  79. package/design-tokens/pt-2022/tokens/components/tags.json5 +132 -0
  80. package/design-tokens/pt-2022/tokens/components/textarea.json5 +12 -0
  81. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +7 -0
  82. package/design-tokens/pt-2022/tokens/components/toggle.json5 +79 -0
  83. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +83 -0
  84. package/design-tokens/pt-2022/tokens/components/tree.json5 +12 -0
  85. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +3 -0
  86. package/design-tokens/pt-2022/tokens/properties/colors.json5 +116 -0
  87. package/design-tokens/pt-2022/tokens/properties/font.json5 +15 -0
  88. package/design-tokens/pt-2022/tokens/properties/globals.json5 +49 -0
  89. package/design-tokens/pt-2022/tokens/properties/padding.json5 +3 -0
  90. package/design-tokens/pt-2022/tokens/properties/palette.json5 +226 -0
  91. package/design-tokens/pt-2022/tokens/properties/typography.json5 +140 -0
  92. package/design-tokens/pt-2022/tokens.d.ts +8749 -0
  93. package/design-tokens/public-api.d.ts +3 -1
  94. package/dl/README.md +0 -0
  95. package/dl/dl.component.d.ts +26 -0
  96. package/dl/dl.module.d.ts +10 -0
  97. package/dl/index.d.ts +1 -0
  98. package/dl/package.json +10 -0
  99. package/dl/ptsecurity-mosaic-dl.d.ts +5 -0
  100. package/dl/public-api.d.ts +2 -0
  101. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  102. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  103. package/esm2020/autocomplete/autocomplete.component.mjs +5 -5
  104. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  105. package/esm2020/button/button.component.mjs +7 -7
  106. package/esm2020/button/button.module.mjs +4 -4
  107. package/esm2020/button-toggle/button-toggle.component.mjs +8 -8
  108. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  109. package/esm2020/card/card.component.mjs +4 -4
  110. package/esm2020/card/card.module.mjs +4 -4
  111. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  112. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  113. package/esm2020/checkbox/checkbox.mjs +4 -4
  114. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  115. package/esm2020/core/error/error-options.mjs +6 -6
  116. package/esm2020/core/formatters/date/formatter.mjs +76 -31
  117. package/esm2020/core/formatters/date/templates/en-US.mjs +38 -37
  118. package/esm2020/core/formatters/date/templates/ru-RU.mjs +38 -37
  119. package/esm2020/core/formatters/index.mjs +4 -4
  120. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  121. package/esm2020/core/forms/forms-module.mjs +4 -4
  122. package/esm2020/core/forms/forms.directive.mjs +6 -6
  123. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  124. package/esm2020/core/highlight/index.mjs +4 -4
  125. package/esm2020/core/line/line.mjs +7 -7
  126. package/esm2020/core/option/action.mjs +3 -3
  127. package/esm2020/core/option/optgroup.mjs +4 -4
  128. package/esm2020/core/option/option-module.mjs +4 -4
  129. package/esm2020/core/option/option.mjs +4 -4
  130. package/esm2020/core/pop-up/pop-up-trigger.mjs +7 -14
  131. package/esm2020/core/pop-up/pop-up.mjs +7 -4
  132. package/esm2020/core/public-api.mjs +2 -1
  133. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  134. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  135. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  136. package/esm2020/core/version.mjs +3 -0
  137. package/esm2020/datepicker/calendar-body.component.mjs +4 -4
  138. package/esm2020/datepicker/calendar.component.mjs +7 -7
  139. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  140. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  141. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  142. package/esm2020/datepicker/datepicker-toggle.component.mjs +7 -7
  143. package/esm2020/datepicker/datepicker.component.mjs +8 -8
  144. package/esm2020/datepicker/month-view.component.mjs +3 -3
  145. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  146. package/esm2020/datepicker/year-view.component.mjs +3 -3
  147. package/esm2020/design-tokens/legacy-2017/tokens.mjs +1006 -0
  148. package/esm2020/design-tokens/pt-2022/tokens.mjs +1066 -0
  149. package/esm2020/design-tokens/public-api.mjs +4 -2
  150. package/esm2020/divider/divider.component.mjs +4 -4
  151. package/esm2020/divider/divider.module.mjs +4 -4
  152. package/esm2020/dl/dl.component.mjs +78 -0
  153. package/esm2020/dl/dl.module.mjs +42 -0
  154. package/esm2020/dl/index.mjs +2 -0
  155. package/esm2020/dl/ptsecurity-mosaic-dl.mjs +5 -0
  156. package/esm2020/dl/public-api.mjs +3 -0
  157. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  158. package/esm2020/dropdown/dropdown-item.component.mjs +4 -4
  159. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  160. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  161. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  162. package/esm2020/form-field/cleaner.mjs +5 -5
  163. package/esm2020/form-field/form-field.mjs +48 -28
  164. package/esm2020/form-field/form-field.module.mjs +10 -5
  165. package/esm2020/form-field/hint.mjs +6 -6
  166. package/esm2020/form-field/password-hint.mjs +115 -0
  167. package/esm2020/form-field/prefix.mjs +3 -3
  168. package/esm2020/form-field/public-api.mjs +2 -1
  169. package/esm2020/form-field/stepper.mjs +3 -3
  170. package/esm2020/form-field/suffix.mjs +3 -3
  171. package/esm2020/icon/icon.component.mjs +6 -6
  172. package/esm2020/icon/icon.module.mjs +4 -4
  173. package/esm2020/input/input-number-validators.mjs +6 -6
  174. package/esm2020/input/input-number.mjs +3 -3
  175. package/esm2020/input/input-password.mjs +367 -0
  176. package/esm2020/input/input.mjs +6 -6
  177. package/esm2020/input/input.module.mjs +50 -8
  178. package/esm2020/input/public-api.mjs +2 -1
  179. package/esm2020/link/link.component.mjs +3 -3
  180. package/esm2020/link/link.module.mjs +4 -4
  181. package/esm2020/list/list-selection.component.mjs +22 -28
  182. package/esm2020/list/list.component.mjs +7 -7
  183. package/esm2020/list/list.module.mjs +4 -4
  184. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  185. package/esm2020/modal/modal-control.service.mjs +26 -4
  186. package/esm2020/modal/modal.component.mjs +4 -4
  187. package/esm2020/modal/modal.directive.mjs +12 -12
  188. package/esm2020/modal/modal.module.mjs +4 -4
  189. package/esm2020/modal/modal.service.mjs +3 -3
  190. package/esm2020/navbar/navbar-item.component.mjs +37 -31
  191. package/esm2020/navbar/navbar.component.mjs +10 -10
  192. package/esm2020/navbar/navbar.module.mjs +4 -4
  193. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  194. package/esm2020/popover/popover-confirm.component.mjs +8 -8
  195. package/esm2020/popover/popover.component.mjs +8 -8
  196. package/esm2020/popover/popover.module.mjs +4 -4
  197. package/esm2020/progress-bar/progress-bar.component.mjs +4 -4
  198. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  199. package/esm2020/progress-spinner/progress-spinner.component.mjs +4 -4
  200. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  201. package/esm2020/radio/radio.component.mjs +7 -7
  202. package/esm2020/radio/radio.module.mjs +4 -4
  203. package/esm2020/select/select.component.mjs +15 -15
  204. package/esm2020/select/select.module.mjs +4 -4
  205. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  206. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  207. package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
  208. package/esm2020/sidepanel/sidepanel-directives.mjs +18 -18
  209. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  210. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  211. package/esm2020/splitter/splitter.component.mjs +22 -20
  212. package/esm2020/splitter/splitter.module.mjs +4 -4
  213. package/esm2020/table/table.component.mjs +3 -3
  214. package/esm2020/table/table.module.mjs +4 -4
  215. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  216. package/esm2020/tabs/tab-body.component.mjs +6 -6
  217. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  218. package/esm2020/tabs/tab-group.component.mjs +20 -20
  219. package/esm2020/tabs/tab-header.component.mjs +4 -4
  220. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  221. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  222. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  223. package/esm2020/tabs/tab.component.mjs +3 -3
  224. package/esm2020/tabs/tabs.module.mjs +4 -4
  225. package/esm2020/tags/tag-input.mjs +3 -3
  226. package/esm2020/tags/tag-list.component.mjs +4 -4
  227. package/esm2020/tags/tag.component.mjs +61 -58
  228. package/esm2020/tags/tag.module.mjs +4 -4
  229. package/esm2020/textarea/textarea.component.mjs +3 -3
  230. package/esm2020/textarea/textarea.module.mjs +4 -4
  231. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  232. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  233. package/esm2020/toggle/toggle.component.mjs +6 -6
  234. package/esm2020/toggle/toggle.module.mjs +4 -4
  235. package/esm2020/tooltip/tooltip.component.mjs +17 -14
  236. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  237. package/esm2020/tree/data-source/flat-data-source.mjs +4 -4
  238. package/esm2020/tree/node.mjs +3 -3
  239. package/esm2020/tree/outlet.mjs +3 -3
  240. package/esm2020/tree/padding.directive.mjs +3 -3
  241. package/esm2020/tree/toggle.mjs +11 -11
  242. package/esm2020/tree/tree-base.mjs +6 -6
  243. package/esm2020/tree/tree-option.component.mjs +17 -9
  244. package/esm2020/tree/tree-selection.component.mjs +8 -5
  245. package/esm2020/tree/tree.mjs +3 -3
  246. package/esm2020/tree/tree.module.mjs +4 -4
  247. package/esm2020/tree-select/tree-select.component.mjs +46 -10
  248. package/esm2020/tree-select/tree-select.module.mjs +15 -11
  249. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +15 -15
  250. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  251. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +12 -12
  252. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  253. package/fesm2015/ptsecurity-mosaic-button.mjs +11 -11
  254. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  255. package/fesm2015/ptsecurity-mosaic-card.mjs +8 -8
  256. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -1
  257. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +11 -11
  258. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  259. package/fesm2015/ptsecurity-mosaic-core.mjs +234 -189
  260. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  261. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +44 -44
  262. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  263. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +2647 -502
  264. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  265. package/fesm2015/ptsecurity-mosaic-divider.mjs +8 -8
  266. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -1
  267. package/fesm2015/ptsecurity-mosaic-dl.mjs +124 -0
  268. package/fesm2015/ptsecurity-mosaic-dl.mjs.map +1 -0
  269. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
  270. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  271. package/fesm2015/ptsecurity-mosaic-form-field.mjs +193 -51
  272. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  273. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  274. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -1
  275. package/fesm2015/ptsecurity-mosaic-input.mjs +429 -28
  276. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  277. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  278. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -1
  279. package/fesm2015/ptsecurity-mosaic-list.mjs +33 -38
  280. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  281. package/fesm2015/ptsecurity-mosaic-modal.mjs +51 -29
  282. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  283. package/fesm2015/ptsecurity-mosaic-navbar.mjs +55 -49
  284. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  285. package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
  286. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  287. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +8 -8
  288. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  289. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +8 -8
  290. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  291. package/fesm2015/ptsecurity-mosaic-radio.mjs +11 -11
  292. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -1
  293. package/fesm2015/ptsecurity-mosaic-select.mjs +18 -18
  294. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  295. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  296. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  297. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +28 -28
  298. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  299. package/fesm2015/ptsecurity-mosaic-splitter.mjs +25 -23
  300. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -1
  301. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  302. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -1
  303. package/fesm2015/ptsecurity-mosaic-tabs.mjs +56 -56
  304. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  305. package/fesm2015/ptsecurity-mosaic-tags.mjs +73 -68
  306. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  307. package/fesm2015/ptsecurity-mosaic-textarea.mjs +7 -7
  308. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  309. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  310. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  311. package/fesm2015/ptsecurity-mosaic-toggle.mjs +9 -9
  312. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -1
  313. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +20 -17
  314. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  315. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +59 -19
  316. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  317. package/fesm2015/ptsecurity-mosaic-tree.mjs +58 -47
  318. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  319. package/fesm2015/ptsecurity-mosaic.mjs.map +1 -1
  320. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +15 -15
  321. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -1
  322. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +12 -12
  323. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -1
  324. package/fesm2020/ptsecurity-mosaic-button.mjs +11 -11
  325. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  326. package/fesm2020/ptsecurity-mosaic-card.mjs +8 -8
  327. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -1
  328. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +11 -11
  329. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -1
  330. package/fesm2020/ptsecurity-mosaic-core.mjs +234 -189
  331. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  332. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +44 -44
  333. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -1
  334. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +2647 -502
  335. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  336. package/fesm2020/ptsecurity-mosaic-divider.mjs +8 -8
  337. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -1
  338. package/fesm2020/ptsecurity-mosaic-dl.mjs +124 -0
  339. package/fesm2020/ptsecurity-mosaic-dl.mjs.map +1 -0
  340. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
  341. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  342. package/fesm2020/ptsecurity-mosaic-form-field.mjs +182 -51
  343. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  344. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  345. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -1
  346. package/fesm2020/ptsecurity-mosaic-input.mjs +422 -28
  347. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  348. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  349. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -1
  350. package/fesm2020/ptsecurity-mosaic-list.mjs +32 -38
  351. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  352. package/fesm2020/ptsecurity-mosaic-modal.mjs +51 -29
  353. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  354. package/fesm2020/ptsecurity-mosaic-navbar.mjs +55 -49
  355. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  356. package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
  357. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  358. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +8 -8
  359. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -1
  360. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +8 -8
  361. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -1
  362. package/fesm2020/ptsecurity-mosaic-radio.mjs +11 -11
  363. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -1
  364. package/fesm2020/ptsecurity-mosaic-select.mjs +18 -18
  365. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  366. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  367. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -1
  368. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +28 -28
  369. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  370. package/fesm2020/ptsecurity-mosaic-splitter.mjs +25 -23
  371. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -1
  372. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  373. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -1
  374. package/fesm2020/ptsecurity-mosaic-tabs.mjs +56 -56
  375. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  376. package/fesm2020/ptsecurity-mosaic-tags.mjs +71 -68
  377. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  378. package/fesm2020/ptsecurity-mosaic-textarea.mjs +7 -7
  379. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  380. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  381. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -1
  382. package/fesm2020/ptsecurity-mosaic-toggle.mjs +9 -9
  383. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -1
  384. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +20 -17
  385. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  386. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +58 -19
  387. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  388. package/fesm2020/ptsecurity-mosaic-tree.mjs +58 -47
  389. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  390. package/fesm2020/ptsecurity-mosaic.mjs.map +1 -1
  391. package/form-field/form-field.d.ts +9 -2
  392. package/form-field/form-field.module.d.ts +8 -7
  393. package/form-field/password-hint.d.ts +38 -0
  394. package/form-field/public-api.d.ts +1 -0
  395. package/input/input-password.d.ts +120 -0
  396. package/input/input.module.d.ts +7 -6
  397. package/input/public-api.d.ts +1 -0
  398. package/modal/modal-control.service.d.ts +1 -0
  399. package/navbar/navbar-item.component.d.ts +1 -0
  400. package/package.json +12 -4
  401. package/prebuilt-themes/dark-theme.css +1 -1
  402. package/prebuilt-themes/default-theme.css +1 -1
  403. package/prebuilt-visual/default-visual.css +1 -1
  404. package/tags/tag.component.d.ts +20 -20
  405. package/tree/data-source/flat-data-source.d.ts +2 -2
  406. package/tree/toggle.d.ts +1 -1
  407. package/tree/tree-option.component.d.ts +5 -3
  408. package/tree/tree-selection.component.d.ts +1 -0
  409. package/tree-select/tree-select.component.d.ts +9 -1
  410. package/tree-select/tree-select.module.d.ts +2 -1
  411. package/design-tokens/tokens/components/form-field.json5 +0 -52
  412. package/design-tokens/tokens/components/tabs.json5 +0 -25
  413. package/esm2020/design-tokens/tokens.mjs +0 -933
@@ -37,7 +37,8 @@ export interface FormatterRelativeTemplate {
37
37
  TOMORROW: string;
38
38
  AFTER_TOMORROW: string;
39
39
  }
40
- export interface AbsoluteDateTimeOptions {
40
+ export interface DateTimeOptions {
41
+ seconds?: boolean;
41
42
  milliseconds?: boolean;
42
43
  }
43
44
  export interface FormatterConfig {
@@ -73,7 +74,7 @@ export declare class DateFormatter<D> {
73
74
  * @param template - template
74
75
  * @returns relative date by template
75
76
  */
76
- relativeDate(date: D, template: FormatterRelativeTemplate): string;
77
+ relativeDate(date: D, template: FormatterRelativeTemplate, seconds?: boolean, milliseconds?: boolean): string;
77
78
  /**
78
79
  * @param date - date
79
80
  * @returns relative date in short format
@@ -84,14 +85,27 @@ export declare class DateFormatter<D> {
84
85
  * @returns relative date in long format
85
86
  */
86
87
  relativeLongDate(date: D): string;
88
+ /**
89
+ * @param date - date
90
+ * @param options - DateTimeOptions
91
+ * @returns relative date in short format with time
92
+ */
93
+ relativeShortDateTime(date: D, options?: DateTimeOptions): string;
94
+ /**
95
+ * @param date - date
96
+ * @param options - DateTimeOptions
97
+ * @returns relative date in long format with time
98
+ */
99
+ relativeLongDateTime(date: D, options?: DateTimeOptions): string;
87
100
  /**
88
101
  * @param date - date
89
102
  * @param params - parameters
90
103
  * @param datetime - should time be shown as well
104
+ * @param seconds - should time with seconds be shown as well
91
105
  * @param milliseconds - should time with milliseconds be shown as well
92
106
  * @returns absolute date in common format
93
107
  */
94
- absoluteDate(date: D, params: FormatterAbsoluteTemplate, datetime?: boolean, milliseconds?: boolean): string;
108
+ absoluteDate(date: D, params: FormatterAbsoluteTemplate, datetime?: boolean, seconds?: boolean, milliseconds?: boolean): string;
95
109
  /**
96
110
  * @param date - date
97
111
  * @returns absolute date in short format
@@ -99,10 +113,10 @@ export declare class DateFormatter<D> {
99
113
  absoluteShortDate(date: D): string;
100
114
  /**
101
115
  * @param date - date
102
- * @param options - AbsoluteDateTimeOptions
116
+ * @param options - DateTimeOptions
103
117
  * @returns absolute date in short format with time
104
118
  */
105
- absoluteShortDateTime(date: D, options?: AbsoluteDateTimeOptions): string;
119
+ absoluteShortDateTime(date: D, options?: DateTimeOptions): string;
106
120
  /**
107
121
  * @param date - date
108
122
  * @returns absolute date in long format
@@ -110,10 +124,10 @@ export declare class DateFormatter<D> {
110
124
  absoluteLongDate(date: D): string;
111
125
  /**
112
126
  * @param date - date
113
- * @param options - AbsoluteDateTimeOptions
127
+ * @param options - DateTimeOptions
114
128
  * @returns absolute date in long format with time
115
129
  */
116
- absoluteLongDateTime(date: D, options?: AbsoluteDateTimeOptions): string;
130
+ absoluteLongDateTime(date: D, options?: DateTimeOptions): string;
117
131
  /**
118
132
  * @param startDate - start date
119
133
  * @param endDate - end date
@@ -125,9 +139,11 @@ export declare class DateFormatter<D> {
125
139
  * @param startDate - start date
126
140
  * @param endDate - end date
127
141
  * @param template - template
142
+ * @param seconds - should time with seconds be shown as well
143
+ * @param milliseconds - should time with milliseconds be shown as well
128
144
  * @returns opened date
129
145
  */
130
- openedRangeDateTime(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate): string;
146
+ openedRangeDateTime(startDate: D | null, endDate: D | null, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
131
147
  /**
132
148
  * @param startDate - start date
133
149
  * @param endDate - end date
@@ -141,7 +157,7 @@ export declare class DateFormatter<D> {
141
157
  * @param template - template
142
158
  * @returns range date in template format with time
143
159
  */
144
- rangeDateTime(startDate: D, endDate: D, template: FormatterRangeTemplate): string;
160
+ rangeDateTime(startDate: D, endDate: D, template: FormatterRangeTemplate, seconds?: boolean, milliseconds?: boolean): string;
145
161
  /**
146
162
  * @param startDate - start date
147
163
  * @param endDate - end date
@@ -151,28 +167,36 @@ export declare class DateFormatter<D> {
151
167
  /**
152
168
  * @param startDate - start date
153
169
  * @param endDate - end date
170
+ * @param options - DateTimeOptions
154
171
  * @returns range date in short format with time
155
172
  */
156
- rangeShortDateTime(startDate: D | null, endDate?: D): string;
173
+ rangeShortDateTime(startDate: D | null, endDate?: D | null, options?: DateTimeOptions): string;
157
174
  /**
158
175
  * @param startDate - start date
159
176
  * @param endDate - end date
160
177
  * @returns range date in long format
161
178
  */
162
- rangeLongDate(startDate: D | null, endDate?: D): string;
179
+ rangeLongDate(startDate: D | null, endDate?: D | null): string;
163
180
  /**
164
181
  * @param startDate - start date
165
182
  * @param endDate - end date
183
+ * @param options - DateTimeOptions
166
184
  * @returns range date in long format with time
167
185
  */
168
- rangeLongDateTime(startDate: D | null, endDate?: D): string;
186
+ rangeLongDateTime(startDate: D | null, endDate?: D, options?: DateTimeOptions): string;
169
187
  /**
170
188
  * @param startDate - start date
171
189
  * @param endDate - end date
190
+ * @param options - DateTimeOptions
172
191
  * @returns range middle date with time
173
192
  */
174
- rangeMiddleDateTime(startDate: D, endDate: D): string;
193
+ rangeMiddleDateTime(startDate: D, endDate: D, options?: DateTimeOptions): string;
175
194
  private compileVariables;
195
+ private isBeforeYesterday;
196
+ private isYesterday;
197
+ private isToday;
198
+ private isTomorrow;
199
+ private isAfterTomorrow;
176
200
  private hasSame;
177
201
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFormatter<any>, never>;
178
202
  static ɵprov: i0.ɵɵInjectableDeclaration<DateFormatter<any>>;
@@ -27,6 +27,7 @@ export declare abstract class McPopUp implements OnDestroy {
27
27
  /** Returns an observable that notifies when the tooltip has been hidden from view. */
28
28
  afterHidden(): Observable<void>;
29
29
  markForCheck(): void;
30
+ detectChanges(): void;
30
31
  animationStart(): void;
31
32
  animationDone({ toState }: AnimationEvent): void;
32
33
  handleBodyInteraction(): void;
@@ -1,3 +1,4 @@
1
+ export * from './version';
1
2
  export * from './utils/index';
2
3
  export * from './common-behaviors/index';
3
4
  export * from './line/line';
@@ -0,0 +1,2 @@
1
+ import { Version } from '@angular/core';
2
+ export declare const VERSION: Version;
@@ -1,43 +1,5 @@
1
1
  {
2
2
  badge: {
3
- size: {
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
- }
28
- },
29
- font: {
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
3
  'light-color-scheme': {
42
4
  solid: {
43
5
  primary: {
@@ -180,5 +142,33 @@
180
142
  }
181
143
  }
182
144
  },
145
+ size: {
146
+ default: {
147
+ height: { value: '{size.xxl}' },
148
+ 'min-width': { value: '10px' },
149
+ padding: { value: '0 8px' },
150
+ 'border-width': { value: '1px' },
151
+ 'border-radius': { value: '4px' }
152
+ },
153
+ mini: {
154
+ height: { value: '{size.l}' },
155
+ 'min-width': { value: '10px' },
156
+ 'border-width': { value: '1px' },
157
+ 'border-radius': { value: '2px' },
158
+ padding: { value: '0 4px' }
159
+ }
160
+ },
161
+ font: {
162
+ default: {
163
+ default: { value: 'caption' },
164
+ caps: { value: 'caption-caps' },
165
+ mono: { value: 'caption-mono'}
166
+ },
167
+ mini: {
168
+ default: { value: 'extra-small-text' },
169
+ caps: { value: 'extra-small-text-caps' },
170
+ mono: { value: 'extra-small-text-mono'}
171
+ }
172
+ }
183
173
  }
184
174
  }
@@ -9,7 +9,7 @@
9
9
  },
10
10
  focused: {
11
11
  border: { value: '{light-color-scheme.primary.palette.value.600.value}' },
12
- shadow: { value: 'inset 0 0 0 1px {light-color-scheme.background.background.value}, 0 0 0 1px {light-color-scheme.primary.palette.value.600.value}' }
12
+ shadow: { value: '0 0 0 1px {light-color-scheme.primary.palette.value.600.value}' }
13
13
  }
14
14
  }
15
15
  },
@@ -22,7 +22,7 @@
22
22
  },
23
23
  focused: {
24
24
  border: { value: '{dark-color-scheme.primary.palette.value.400.value}' },
25
- shadow: { value: 'inset 0 0 0 1px {dark-color-scheme.background.background.value}, 0 0 0 1px {dark-color-scheme.primary.palette.value.400.value}' }
25
+ shadow: { value: '0 0 0 1px {dark-color-scheme.primary.palette.value.400.value}' }
26
26
  }
27
27
  }
28
28
  },
@@ -0,0 +1,38 @@
1
+ {
2
+ 'description-list': {
3
+ 'light-color-scheme': {
4
+ dt: { value: '{light-color-scheme.foreground.text-less-contrast.value}' },
5
+ dd: { value: '{light-color-scheme.foreground.text.value}' }
6
+ },
7
+ 'dark-color-scheme': {
8
+ dt: { value: '{dark-color-scheme.foreground.text-less-contrast.value}' },
9
+ dd: { value: '{dark-color-scheme.foreground.text.value}' }
10
+ },
11
+ size: {
12
+ 'grid-template-columns': { value: 'repeat(4, 1fr)' },
13
+
14
+ 'dt-grid-column': { value: '1' },
15
+ 'dd-grid-column': { value: '2 / span 3' },
16
+
17
+ horizontal: {
18
+ 'column-gap': { value: '16px' },
19
+ 'row-gap': { value: '12px' }
20
+ },
21
+ vertical: {
22
+ 'column-gap': { value: '0' },
23
+ 'row-gap': { value: '2px' },
24
+ 'dd-margin-bottom': { value: '16px' }
25
+ },
26
+ },
27
+ font: {
28
+ horizontal: {
29
+ dt: { value: 'body' },
30
+ dd: { value: 'body' },
31
+ },
32
+ vertical: {
33
+ dt: { value: 'caption' },
34
+ dd: { value: 'body' }
35
+ },
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ 'form-field': {
3
+ 'light-color-scheme': {
4
+ border: { value: '{light-color-scheme.second.default.value}' },
5
+ background: { value: '{light-color-scheme.background.background.value}' },
6
+
7
+ states: {
8
+ hover: {
9
+ border: { value: '{light-color-scheme.second.palette.value.400.value}' }
10
+ },
11
+ invalid: {
12
+ border: { value: '{light-color-scheme.error.default.value}' },
13
+ background: { value: 'transparent' }
14
+ }
15
+ }
16
+ },
17
+ 'dark-color-scheme': {
18
+ border: { value: '{dark-color-scheme.second.default.value}' },
19
+ background: { value: '{dark-color-scheme.background.background.value}' },
20
+
21
+ states: {
22
+ hover: {
23
+ border: { value: '{dark-color-scheme.second.palette.value.200.value}' }
24
+ },
25
+ invalid: {
26
+ border: { value: '{dark-color-scheme.error.default.value}' },
27
+ background: { value: 'transparent' }
28
+ }
29
+ }
30
+ },
31
+ size: {
32
+ border: {
33
+ width: { value: '1px' },
34
+ radius: { value: '3px' }
35
+ },
36
+ button: {
37
+ width: { value: '32px' }
38
+ }
39
+ },
40
+ font: {
41
+ default: { value: 'body' }
42
+ }
43
+ },
44
+ 'form-field-hint': {
45
+ size: {
46
+ 'margin-top': { value: '4px' }
47
+ },
48
+ font: {
49
+ default: { value: 'caption' }
50
+ }
51
+ },
52
+ 'form-field-password-hint': {
53
+ 'light-color-scheme': {
54
+ 'text-color': { value: '{light-color-scheme.foreground.text.value}' },
55
+ 'icon-color': { value: '{light-color-scheme.foreground.text.value}' },
56
+
57
+ states: {
58
+ invalid: {
59
+ 'icon-color': { value: '{light-color-scheme.foreground.text-error.value}' },
60
+ 'text-color': { value: '{light-color-scheme.foreground.text.value}' }
61
+ },
62
+ valid: {
63
+ 'text-color': { value: '{light-color-scheme.foreground.text-success.value}' },
64
+ 'icon-color': { value: '{light-color-scheme.foreground.text-success.value}' }
65
+ }
66
+ }
67
+ },
68
+ 'dark-color-scheme': {
69
+ 'text-color': { value: '{dark-color-scheme.foreground.text.value}' },
70
+ 'icon-color': { value: '{dark-color-scheme.foreground.text.value}' },
71
+
72
+ states: {
73
+ invalid: {
74
+ 'icon-color': { value: '{dark-color-scheme.foreground.text-error.value}' },
75
+ 'text-color': { value: '{dark-color-scheme.foreground.text.value}' }
76
+ },
77
+ valid: {
78
+ 'text-color': { value: '{dark-color-scheme.foreground.text-success.value}' },
79
+ 'icon-color': { value: '{dark-color-scheme.foreground.text-success.value}' }
80
+ }
81
+ }
82
+ },
83
+ size: {
84
+ 'margin-top': { value: '8px' },
85
+ 'icon-margin': { value: '4px' }
86
+ },
87
+ font: {
88
+ default: { value: 'caption' }
89
+ }
90
+ }
91
+ }
@@ -36,6 +36,12 @@
36
36
  }
37
37
  },
38
38
  'modal-header': {
39
+ 'light-color-scheme': {
40
+ border: { value: '{light-color-scheme.foreground.divider.value}' }
41
+ },
42
+ 'dark-color-scheme': {
43
+ border: { value: '{dark-color-scheme.foreground.divider.value}' }
44
+ },
39
45
  size: {
40
46
  'border-radius': { value: '4px 4px 0 0' },
41
47
  padding: { value: '14px 16px' }
@@ -54,6 +60,12 @@
54
60
  }
55
61
  },
56
62
  'modal-footer': {
63
+ 'light-color-scheme': {
64
+ border: { value: '{light-color-scheme.foreground.divider.value}' }
65
+ },
66
+ 'dark-color-scheme': {
67
+ border: { value: '{dark-color-scheme.foreground.divider.value}' }
68
+ },
57
69
  size: {
58
70
  'border-radius': { value: '0 0 4px 4px' },
59
71
  padding: { value: '16px {padding.headerFooter-horizontal}' }
@@ -33,6 +33,7 @@
33
33
 
34
34
  states: {
35
35
  active: { value: 'rgba(0, 0, 0, 0.1)' },
36
+ selected: { value: '{light-color-scheme.second.palette.value.700.value}' },
36
37
  hover: { value: 'rgba(255, 255, 255, 0.1)' },
37
38
  progress: { value: '{light-color-scheme.primary.palette.value.800.value}' },
38
39
  'disabled-opacity': { value: 0.3 }
@@ -44,6 +45,7 @@
44
45
 
45
46
  states: {
46
47
  active: { value: 'rgba(0, 0, 0, 0.1)' },
48
+ selected: { value: '{dark-color-scheme.second.palette.value.600.value}' },
47
49
  hover: { value: 'rgba(255, 255, 255, 0.1)' },
48
50
  progress: { value: '{dark-color-scheme.primary.palette.value.800.value}' },
49
51
  'disabled-opacity': { value: 0.3 }
@@ -8,7 +8,6 @@
8
8
  checked: {
9
9
  'outer-circle-border': { value: '{light-color-scheme.primary.palette.value.500.value}' },
10
10
  'inner-circle-border': { value: '{light-color-scheme.primary.palette.value.500.value}' }
11
-
12
11
  },
13
12
  focused: {
14
13
  'outer-circle-border': { value: '{light-color-scheme.states.focused-color.value}' },
@@ -0,0 +1,101 @@
1
+ {
2
+ tabs: {
3
+ 'light-color-scheme': {
4
+ border: { value: '{light-color-scheme.second.palette.value.300.value}' },
5
+
6
+ state: {
7
+ normal: {
8
+ icon: { value: '{light-color-scheme.foreground.icon.value}' },
9
+ text: { value: '{light-color-scheme.foreground.text.value}' }
10
+ },
11
+ hover: {
12
+ icon: { value: '{light-color-scheme.foreground.text.value}' },
13
+ text: { value: '{light-color-scheme.foreground.text.value}' }
14
+ },
15
+ active: {
16
+ 'marker-color': { value: '{light-color-scheme.primary.default.value}' }
17
+ },
18
+ empty: {
19
+ icon: { value: '{light-color-scheme.foreground.text-disabled.value}' },
20
+ text: { value: '{light-color-scheme.foreground.text-disabled.value}' }
21
+ },
22
+ disabled: {
23
+ icon: { value: '{light-color-scheme.foreground.text-disabled.value}' },
24
+ text: { value: '{light-color-scheme.foreground.text-disabled.value}' },
25
+ 'marker-opacity': { value: '0.3' }
26
+ }
27
+ }
28
+ },
29
+ 'dark-color-scheme': {
30
+ border: { value: '{dark-color-scheme.second.palette.value.300.value}' },
31
+
32
+ state: {
33
+ normal: {
34
+ icon: { value: '{dark-color-scheme.foreground.icon.value}' },
35
+ text: { value: '{dark-color-scheme.foreground.text.value}' }
36
+ },
37
+ hover: {
38
+ icon: { value: '{dark-color-scheme.foreground.text.value}' },
39
+ text: { value: '{dark-color-scheme.foreground.text.value}' }
40
+ },
41
+ active: {
42
+ 'marker-color': { value: '{dark-color-scheme.primary.default.value}' }
43
+ },
44
+ empty: {
45
+ icon: { value: '{dark-color-scheme.foreground.text-disabled.value}' },
46
+ text: { value: '{dark-color-scheme.foreground.text-disabled.value}' }
47
+ },
48
+ disabled: {
49
+ icon: { value: '{dark-color-scheme.foreground.text-disabled.value}' },
50
+ text: { value: '{dark-color-scheme.foreground.text-disabled.value}' },
51
+ 'marker-opacity': { value: '0.3' }
52
+ }
53
+ }
54
+ },
55
+ size: {
56
+ height: { value: '40px' },
57
+ 'highlight-height': { value: '4px' },
58
+ 'padding-horizontal': { value: '16px' },
59
+ 'border-width': { value: '1px' },
60
+ 'border-radius': { value: '3px' },
61
+ 'label-icon-margin': { value: '{margin.iconText_M-horizontal}' }
62
+ },
63
+ font: {
64
+ default: { value: 'body' }
65
+ }
66
+ },
67
+ 'vertical-tabs': {
68
+ 'light-color-scheme': {
69
+ state: {
70
+ normal: {
71
+ background: { value: 'transparent' },
72
+ },
73
+ selected: {
74
+ background: { value: '{light-color-scheme.states.selected-color.value}' },
75
+ },
76
+ hover: {
77
+ background: { value: '{light-color-scheme.background.overlay-hover.value}' },
78
+ },
79
+ 'hover-selected': {
80
+ background: { value: 'adjust-color({light-color-scheme.states.selected-color.value}, $saturation:-22%, $lightness:-5%)' },
81
+ }
82
+ }
83
+ },
84
+ 'dark-color-scheme': {
85
+ state: {
86
+ normal: {
87
+ background: { value: 'transparent' },
88
+ },
89
+ selected: {
90
+ background: { value: '{dark-color-scheme.states.selected-color.value}' },
91
+ },
92
+ hover: {
93
+ background: { value: '{dark-color-scheme.background.overlay-hover.value}' },
94
+ },
95
+ 'hover-selected': {
96
+ background: { value: 'adjust-color({dark-color-scheme.states.selected-color.value}, $lightness:-1%)' },
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
@@ -4,6 +4,7 @@
4
4
  primary: {
5
5
  background: { value: '{light-color-scheme.primary.palette.value.100.value}' },
6
6
  border: { value: '{light-color-scheme.primary.palette.value.100.value}' },
7
+ text: { value: '{light-color-scheme.primary.default.value}' },
7
8
  icon: { value: 'mix({light-color-scheme.primary.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
8
9
  states: {
9
10
  hover: {
@@ -19,6 +20,7 @@
19
20
  second: {
20
21
  background: { value: '{light-color-scheme.second.palette.value.100.value}' },
21
22
  border: { value: '{light-color-scheme.second.palette.value.100.value}' },
23
+ text: { value: '{light-color-scheme.foreground.text.value}' },
22
24
  icon: { value: 'mix({light-color-scheme.second.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
23
25
  states: {
24
26
  hover: {
@@ -34,6 +36,7 @@
34
36
  error: {
35
37
  background: { value: '{light-color-scheme.error.palette.value.100.value}' },
36
38
  border: { value: '{light-color-scheme.error.palette.value.100.value}' },
39
+ text: { value: '{light-color-scheme.error.default.value}' },
37
40
  icon: { value: 'mix({light-color-scheme.error.palette.value.400.value}, {light-color-scheme.background.overlay-hover.value})' },
38
41
  states: {
39
42
  hover: {
@@ -51,6 +54,7 @@
51
54
  primary: {
52
55
  background: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
53
56
  border: { value: '{dark-color-scheme.primary.palette.value.700.value}' },
57
+ text: { value: '{dark-color-scheme.primary.palette.value.200.value}' },
54
58
  icon: { value: 'mix({dark-color-scheme.primary.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
55
59
  states: {
56
60
  hover: {
@@ -66,6 +70,7 @@
66
70
  second: {
67
71
  background: { value: '{dark-color-scheme.second.palette.value.700.value}' },
68
72
  border: { value: '{dark-color-scheme.second.palette.value.700.value}' },
73
+ text: { value: '{dark-color-scheme.second.palette.value.200.value}' },
69
74
  icon: { value: 'mix({dark-color-scheme.second.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
70
75
  states: {
71
76
  hover: {
@@ -81,6 +86,7 @@
81
86
  error: {
82
87
  background: { value: '{dark-color-scheme.error.palette.value.700.value}' },
83
88
  border: { value: '{dark-color-scheme.error.palette.value.700.value}' },
89
+ text: { value: '{dark-color-scheme.error.palette.value.200.value}' },
84
90
  icon: { value: 'mix({dark-color-scheme.error.palette.value.400.value}, {dark-color-scheme.background.overlay-hover.value})' },
85
91
  states: {
86
92
  hover: {