@ptsecurity/mosaic 13.2.0 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/_theming.scss +143 -44
  2. package/_visual.scss +340 -213
  3. package/button/button.component.d.ts +1 -1
  4. package/core/option/option.d.ts +1 -0
  5. package/core/validation/validation.d.ts +3 -3
  6. package/design-tokens/legacy-2017/tokens.d.ts +82 -36
  7. package/design-tokens/pt-2022/tokens.d.ts +78 -32
  8. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +3 -3
  9. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +3 -3
  10. package/esm2020/autocomplete/autocomplete.component.mjs +3 -3
  11. package/esm2020/autocomplete/autocomplete.module.mjs +4 -4
  12. package/esm2020/button/button.component.mjs +29 -21
  13. package/esm2020/button/button.module.mjs +4 -4
  14. package/esm2020/button-toggle/button-toggle.component.mjs +6 -6
  15. package/esm2020/button-toggle/button-toggle.module.mjs +4 -4
  16. package/esm2020/card/card.component.mjs +3 -3
  17. package/esm2020/card/card.module.mjs +4 -4
  18. package/esm2020/checkbox/checkbox-module.mjs +4 -4
  19. package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
  20. package/esm2020/checkbox/checkbox.mjs +3 -3
  21. package/esm2020/core/common-behaviors/common-module.mjs +4 -4
  22. package/esm2020/core/error/error-options.mjs +6 -6
  23. package/esm2020/core/formatters/date/formatter.mjs +3 -3
  24. package/esm2020/core/formatters/index.mjs +4 -4
  25. package/esm2020/core/formatters/number/formatter.mjs +4 -4
  26. package/esm2020/core/forms/forms-module.mjs +4 -4
  27. package/esm2020/core/forms/forms.directive.mjs +6 -6
  28. package/esm2020/core/highlight/highlight.pipe.mjs +3 -3
  29. package/esm2020/core/highlight/index.mjs +4 -4
  30. package/esm2020/core/line/line.mjs +7 -7
  31. package/esm2020/core/option/action.mjs +3 -3
  32. package/esm2020/core/option/optgroup.mjs +3 -3
  33. package/esm2020/core/option/option-module.mjs +4 -4
  34. package/esm2020/core/option/option.mjs +10 -7
  35. package/esm2020/core/pop-up/pop-up-trigger.mjs +3 -3
  36. package/esm2020/core/pop-up/pop-up.mjs +3 -3
  37. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  38. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +4 -4
  39. package/esm2020/core/services/measure-scrollbar.service.mjs +3 -3
  40. package/esm2020/core/validation/validation.mjs +10 -5
  41. package/esm2020/datepicker/calendar-body.component.mjs +3 -3
  42. package/esm2020/datepicker/calendar.component.mjs +6 -6
  43. package/esm2020/datepicker/datepicker-input.directive.mjs +3 -3
  44. package/esm2020/datepicker/datepicker-intl.mjs +3 -3
  45. package/esm2020/datepicker/datepicker-module.mjs +4 -4
  46. package/esm2020/datepicker/datepicker-toggle.component.mjs +6 -6
  47. package/esm2020/datepicker/datepicker.component.mjs +6 -6
  48. package/esm2020/datepicker/month-view.component.mjs +3 -3
  49. package/esm2020/datepicker/multi-year-view.component.mjs +3 -3
  50. package/esm2020/datepicker/year-view.component.mjs +3 -3
  51. package/esm2020/design-tokens/legacy-2017/tokens.mjs +83 -37
  52. package/esm2020/design-tokens/pt-2022/tokens.mjs +79 -33
  53. package/esm2020/divider/divider.component.mjs +3 -3
  54. package/esm2020/divider/divider.module.mjs +4 -4
  55. package/esm2020/dl/dl.component.mjs +9 -9
  56. package/esm2020/dl/dl.module.mjs +4 -4
  57. package/esm2020/dropdown/dropdown-content.directive.mjs +3 -3
  58. package/esm2020/dropdown/dropdown-item.component.mjs +5 -5
  59. package/esm2020/dropdown/dropdown-trigger.directive.mjs +3 -3
  60. package/esm2020/dropdown/dropdown.component.mjs +6 -6
  61. package/esm2020/dropdown/dropdown.module.mjs +4 -4
  62. package/esm2020/form-field/cleaner.mjs +3 -3
  63. package/esm2020/form-field/form-field.mjs +7 -7
  64. package/esm2020/form-field/form-field.module.mjs +4 -4
  65. package/esm2020/form-field/hint.mjs +3 -3
  66. package/esm2020/form-field/password-hint.mjs +34 -15
  67. package/esm2020/form-field/prefix.mjs +3 -3
  68. package/esm2020/form-field/stepper.mjs +3 -3
  69. package/esm2020/form-field/suffix.mjs +3 -3
  70. package/esm2020/icon/icon.component.mjs +6 -6
  71. package/esm2020/icon/icon.module.mjs +4 -4
  72. package/esm2020/input/input-number-validators.mjs +6 -6
  73. package/esm2020/input/input-number.mjs +3 -3
  74. package/esm2020/input/input-password.mjs +12 -11
  75. package/esm2020/input/input.mjs +12 -11
  76. package/esm2020/input/input.module.mjs +4 -4
  77. package/esm2020/link/link.component.mjs +3 -3
  78. package/esm2020/link/link.module.mjs +4 -4
  79. package/esm2020/list/list-selection.component.mjs +11 -11
  80. package/esm2020/list/list.component.mjs +7 -7
  81. package/esm2020/list/list.module.mjs +4 -4
  82. package/esm2020/modal/css-unit.pipe.mjs +3 -3
  83. package/esm2020/modal/modal-control.service.mjs +3 -3
  84. package/esm2020/modal/modal.component.mjs +4 -4
  85. package/esm2020/modal/modal.directive.mjs +12 -12
  86. package/esm2020/modal/modal.module.mjs +4 -4
  87. package/esm2020/modal/modal.service.mjs +3 -3
  88. package/esm2020/navbar/navbar-item.component.mjs +80 -79
  89. package/esm2020/navbar/navbar.component.mjs +10 -10
  90. package/esm2020/navbar/navbar.module.mjs +4 -4
  91. package/esm2020/navbar/vertical-navbar.component.mjs +6 -6
  92. package/esm2020/popover/popover-confirm.component.mjs +8 -8
  93. package/esm2020/popover/popover.component.mjs +8 -8
  94. package/esm2020/popover/popover.module.mjs +4 -4
  95. package/esm2020/progress-bar/progress-bar.component.mjs +3 -3
  96. package/esm2020/progress-bar/progress-bar.module.mjs +4 -4
  97. package/esm2020/progress-spinner/progress-spinner.component.mjs +3 -3
  98. package/esm2020/progress-spinner/progress-spinner.module.mjs +4 -4
  99. package/esm2020/radio/radio.component.mjs +6 -6
  100. package/esm2020/radio/radio.module.mjs +4 -4
  101. package/esm2020/select/public-api.mjs +2 -1
  102. package/esm2020/select/select-option.directive.mjs +65 -0
  103. package/esm2020/select/select.component.mjs +16 -16
  104. package/esm2020/select/select.module.mjs +19 -10
  105. package/esm2020/sidebar/sidebar.component.mjs +9 -9
  106. package/esm2020/sidebar/sidebar.module.mjs +4 -4
  107. package/esm2020/sidepanel/sidepanel-container.component.mjs +5 -5
  108. package/esm2020/sidepanel/sidepanel-directives.mjs +15 -15
  109. package/esm2020/sidepanel/sidepanel.module.mjs +4 -4
  110. package/esm2020/sidepanel/sidepanel.service.mjs +3 -3
  111. package/esm2020/splitter/splitter.component.mjs +12 -12
  112. package/esm2020/splitter/splitter.module.mjs +4 -4
  113. package/esm2020/table/table.component.mjs +3 -3
  114. package/esm2020/table/table.module.mjs +4 -4
  115. package/esm2020/tabs/paginated-tab-header.mjs +3 -3
  116. package/esm2020/tabs/tab-body.component.mjs +6 -6
  117. package/esm2020/tabs/tab-content.directive.mjs +3 -3
  118. package/esm2020/tabs/tab-group.component.mjs +19 -19
  119. package/esm2020/tabs/tab-header.component.mjs +3 -3
  120. package/esm2020/tabs/tab-label-wrapper.directive.mjs +3 -3
  121. package/esm2020/tabs/tab-label.directive.mjs +3 -3
  122. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +6 -6
  123. package/esm2020/tabs/tab.component.mjs +3 -3
  124. package/esm2020/tabs/tabs.module.mjs +4 -4
  125. package/esm2020/tags/tag-input.mjs +3 -3
  126. package/esm2020/tags/tag-list.component.mjs +6 -6
  127. package/esm2020/tags/tag.component.mjs +60 -60
  128. package/esm2020/tags/tag.module.mjs +4 -4
  129. package/esm2020/textarea/textarea.component.mjs +9 -8
  130. package/esm2020/textarea/textarea.module.mjs +4 -4
  131. package/esm2020/timepicker/timepicker.directive.mjs +3 -3
  132. package/esm2020/timepicker/timepicker.module.mjs +4 -4
  133. package/esm2020/toggle/toggle.component.mjs +3 -3
  134. package/esm2020/toggle/toggle.module.mjs +4 -4
  135. package/esm2020/tooltip/tooltip.component.mjs +14 -13
  136. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  137. package/esm2020/tree/node.mjs +3 -3
  138. package/esm2020/tree/outlet.mjs +3 -3
  139. package/esm2020/tree/padding.directive.mjs +12 -9
  140. package/esm2020/tree/toggle.mjs +10 -10
  141. package/esm2020/tree/tree-base.mjs +6 -6
  142. package/esm2020/tree/tree-option.component.mjs +9 -9
  143. package/esm2020/tree/tree-selection.component.mjs +8 -6
  144. package/esm2020/tree/tree.mjs +3 -3
  145. package/esm2020/tree/tree.module.mjs +4 -4
  146. package/esm2020/tree-select/tree-select.component.mjs +14 -14
  147. package/esm2020/tree-select/tree-select.module.mjs +4 -4
  148. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +13 -13
  149. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +10 -10
  150. package/fesm2015/ptsecurity-mosaic-button.mjs +32 -24
  151. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -1
  152. package/fesm2015/ptsecurity-mosaic-card.mjs +7 -7
  153. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +10 -10
  154. package/fesm2015/ptsecurity-mosaic-core.mjs +89 -81
  155. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -1
  156. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +40 -40
  157. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +218 -80
  158. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  159. package/fesm2015/ptsecurity-mosaic-divider.mjs +7 -7
  160. package/fesm2015/ptsecurity-mosaic-dl.mjs +13 -13
  161. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +19 -19
  162. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  163. package/fesm2015/ptsecurity-mosaic-form-field.mjs +60 -38
  164. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -1
  165. package/fesm2015/ptsecurity-mosaic-icon.mjs +10 -10
  166. package/fesm2015/ptsecurity-mosaic-input.mjs +33 -31
  167. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -1
  168. package/fesm2015/ptsecurity-mosaic-link.mjs +7 -7
  169. package/fesm2015/ptsecurity-mosaic-list.mjs +21 -21
  170. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -1
  171. package/fesm2015/ptsecurity-mosaic-modal.mjs +29 -29
  172. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -1
  173. package/fesm2015/ptsecurity-mosaic-navbar.mjs +97 -96
  174. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -1
  175. package/fesm2015/ptsecurity-mosaic-popover.mjs +18 -18
  176. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -1
  177. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +7 -7
  178. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  179. package/fesm2015/ptsecurity-mosaic-radio.mjs +10 -10
  180. package/fesm2015/ptsecurity-mosaic-select.mjs +99 -33
  181. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -1
  182. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +13 -13
  183. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +26 -26
  184. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  185. package/fesm2015/ptsecurity-mosaic-splitter.mjs +16 -16
  186. package/fesm2015/ptsecurity-mosaic-table.mjs +7 -7
  187. package/fesm2015/ptsecurity-mosaic-tabs.mjs +53 -53
  188. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -1
  189. package/fesm2015/ptsecurity-mosaic-tags.mjs +74 -74
  190. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -1
  191. package/fesm2015/ptsecurity-mosaic-textarea.mjs +11 -10
  192. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -1
  193. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +7 -7
  194. package/fesm2015/ptsecurity-mosaic-toggle.mjs +7 -7
  195. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +17 -16
  196. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  197. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +17 -17
  198. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  199. package/fesm2015/ptsecurity-mosaic-tree.mjs +158 -155
  200. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -1
  201. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +13 -13
  202. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +10 -10
  203. package/fesm2020/ptsecurity-mosaic-button.mjs +32 -24
  204. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -1
  205. package/fesm2020/ptsecurity-mosaic-card.mjs +7 -7
  206. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +10 -10
  207. package/fesm2020/ptsecurity-mosaic-core.mjs +89 -81
  208. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -1
  209. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +40 -40
  210. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +218 -80
  211. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -1
  212. package/fesm2020/ptsecurity-mosaic-divider.mjs +7 -7
  213. package/fesm2020/ptsecurity-mosaic-dl.mjs +13 -13
  214. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +19 -19
  215. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -1
  216. package/fesm2020/ptsecurity-mosaic-form-field.mjs +57 -38
  217. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -1
  218. package/fesm2020/ptsecurity-mosaic-icon.mjs +10 -10
  219. package/fesm2020/ptsecurity-mosaic-input.mjs +33 -31
  220. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -1
  221. package/fesm2020/ptsecurity-mosaic-link.mjs +7 -7
  222. package/fesm2020/ptsecurity-mosaic-list.mjs +21 -21
  223. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -1
  224. package/fesm2020/ptsecurity-mosaic-modal.mjs +29 -29
  225. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -1
  226. package/fesm2020/ptsecurity-mosaic-navbar.mjs +97 -96
  227. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -1
  228. package/fesm2020/ptsecurity-mosaic-popover.mjs +18 -18
  229. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -1
  230. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +7 -7
  231. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +7 -7
  232. package/fesm2020/ptsecurity-mosaic-radio.mjs +10 -10
  233. package/fesm2020/ptsecurity-mosaic-select.mjs +96 -32
  234. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -1
  235. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +13 -13
  236. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +26 -26
  237. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -1
  238. package/fesm2020/ptsecurity-mosaic-splitter.mjs +16 -16
  239. package/fesm2020/ptsecurity-mosaic-table.mjs +7 -7
  240. package/fesm2020/ptsecurity-mosaic-tabs.mjs +53 -53
  241. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -1
  242. package/fesm2020/ptsecurity-mosaic-tags.mjs +72 -72
  243. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -1
  244. package/fesm2020/ptsecurity-mosaic-textarea.mjs +11 -10
  245. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -1
  246. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +7 -7
  247. package/fesm2020/ptsecurity-mosaic-toggle.mjs +7 -7
  248. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +17 -16
  249. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -1
  250. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +17 -17
  251. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -1
  252. package/fesm2020/ptsecurity-mosaic-tree.mjs +155 -152
  253. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -1
  254. package/form-field/password-hint.d.ts +3 -1
  255. package/input/input-password.d.ts +4 -3
  256. package/input/input.d.ts +4 -3
  257. package/list/list-selection.component.d.ts +1 -1
  258. package/navbar/navbar-item.component.d.ts +18 -18
  259. package/package.json +4 -4
  260. package/prebuilt-themes/dark-theme.css +1 -1
  261. package/prebuilt-themes/default-theme.css +1 -1
  262. package/prebuilt-visual/default-visual.css +1 -1
  263. package/select/public-api.d.ts +1 -0
  264. package/select/select-option.directive.d.ts +20 -0
  265. package/select/select.module.d.ts +9 -7
  266. package/tags/tag.component.d.ts +20 -20
  267. package/textarea/textarea.component.d.ts +4 -3
  268. package/toggle/README.md +0 -0
  269. package/tree/padding.directive.d.ts +7 -5
  270. package/tree/tree-option.component.d.ts +2 -2
  271. package/design-tokens/legacy-2017/tokens/components/alert.json5 +0 -83
  272. package/design-tokens/legacy-2017/tokens/components/autocomplete.json5 +0 -11
  273. package/design-tokens/legacy-2017/tokens/components/badge.json5 +0 -174
  274. package/design-tokens/legacy-2017/tokens/components/button-toggle.json5 +0 -10
  275. package/design-tokens/legacy-2017/tokens/components/button.json5 +0 -143
  276. package/design-tokens/legacy-2017/tokens/components/card.json5 +0 -51
  277. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +0 -39
  278. package/design-tokens/legacy-2017/tokens/components/datepicker.json5 +0 -64
  279. package/design-tokens/legacy-2017/tokens/components/divider.json5 +0 -8
  280. package/design-tokens/legacy-2017/tokens/components/dl.json5 +0 -38
  281. package/design-tokens/legacy-2017/tokens/components/dropdown.json5 +0 -47
  282. package/design-tokens/legacy-2017/tokens/components/form-field.json5 +0 -91
  283. package/design-tokens/legacy-2017/tokens/components/forms.json5 +0 -52
  284. package/design-tokens/legacy-2017/tokens/components/input.json5 +0 -13
  285. package/design-tokens/legacy-2017/tokens/components/link.json5 +0 -56
  286. package/design-tokens/legacy-2017/tokens/components/list.json5 +0 -15
  287. package/design-tokens/legacy-2017/tokens/components/modal.json5 +0 -79
  288. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +0 -69
  289. package/design-tokens/legacy-2017/tokens/components/optgroup.json5 +0 -10
  290. package/design-tokens/legacy-2017/tokens/components/option.json5 +0 -12
  291. package/design-tokens/legacy-2017/tokens/components/popover.json5 +0 -68
  292. package/design-tokens/legacy-2017/tokens/components/popup.json5 +0 -18
  293. package/design-tokens/legacy-2017/tokens/components/progress-bar.json5 +0 -13
  294. package/design-tokens/legacy-2017/tokens/components/progress-spinner.json5 +0 -7
  295. package/design-tokens/legacy-2017/tokens/components/radio.json5 +0 -44
  296. package/design-tokens/legacy-2017/tokens/components/select.json5 +0 -25
  297. package/design-tokens/legacy-2017/tokens/components/sidepanel.json5 +0 -30
  298. package/design-tokens/legacy-2017/tokens/components/table.json5 +0 -15
  299. package/design-tokens/legacy-2017/tokens/components/tabs.json5 +0 -101
  300. package/design-tokens/legacy-2017/tokens/components/tags.json5 +0 -132
  301. package/design-tokens/legacy-2017/tokens/components/textarea.json5 +0 -12
  302. package/design-tokens/legacy-2017/tokens/components/timepicker.json5 +0 -7
  303. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +0 -79
  304. package/design-tokens/legacy-2017/tokens/components/tooltip.json5 +0 -83
  305. package/design-tokens/legacy-2017/tokens/components/tree.json5 +0 -12
  306. package/design-tokens/legacy-2017/tokens/properties/aliases.json5 +0 -3
  307. package/design-tokens/legacy-2017/tokens/properties/colors.json5 +0 -114
  308. package/design-tokens/legacy-2017/tokens/properties/font.json5 +0 -12
  309. package/design-tokens/legacy-2017/tokens/properties/globals.json5 +0 -49
  310. package/design-tokens/legacy-2017/tokens/properties/padding.json5 +0 -3
  311. package/design-tokens/legacy-2017/tokens/properties/palette.json5 +0 -163
  312. package/design-tokens/legacy-2017/tokens/properties/typography.json5 +0 -140
  313. package/design-tokens/pt-2022/tokens/components/alert.json5 +0 -83
  314. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +0 -11
  315. package/design-tokens/pt-2022/tokens/components/badge.json5 +0 -174
  316. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +0 -10
  317. package/design-tokens/pt-2022/tokens/components/button.json5 +0 -143
  318. package/design-tokens/pt-2022/tokens/components/card.json5 +0 -51
  319. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +0 -39
  320. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +0 -64
  321. package/design-tokens/pt-2022/tokens/components/divider.json5 +0 -8
  322. package/design-tokens/pt-2022/tokens/components/dl.json5 +0 -38
  323. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +0 -47
  324. package/design-tokens/pt-2022/tokens/components/form-field.json5 +0 -91
  325. package/design-tokens/pt-2022/tokens/components/forms.json5 +0 -52
  326. package/design-tokens/pt-2022/tokens/components/input.json5 +0 -13
  327. package/design-tokens/pt-2022/tokens/components/link.json5 +0 -56
  328. package/design-tokens/pt-2022/tokens/components/list.json5 +0 -15
  329. package/design-tokens/pt-2022/tokens/components/modal.json5 +0 -79
  330. package/design-tokens/pt-2022/tokens/components/navbar.json5 +0 -69
  331. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +0 -10
  332. package/design-tokens/pt-2022/tokens/components/option.json5 +0 -12
  333. package/design-tokens/pt-2022/tokens/components/popover.json5 +0 -68
  334. package/design-tokens/pt-2022/tokens/components/popup.json5 +0 -18
  335. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +0 -13
  336. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +0 -7
  337. package/design-tokens/pt-2022/tokens/components/radio.json5 +0 -44
  338. package/design-tokens/pt-2022/tokens/components/select.json5 +0 -25
  339. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +0 -30
  340. package/design-tokens/pt-2022/tokens/components/table.json5 +0 -15
  341. package/design-tokens/pt-2022/tokens/components/tabs.json5 +0 -101
  342. package/design-tokens/pt-2022/tokens/components/tags.json5 +0 -132
  343. package/design-tokens/pt-2022/tokens/components/textarea.json5 +0 -12
  344. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +0 -7
  345. package/design-tokens/pt-2022/tokens/components/toggle.json5 +0 -79
  346. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +0 -83
  347. package/design-tokens/pt-2022/tokens/components/tree.json5 +0 -12
  348. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +0 -3
  349. package/design-tokens/pt-2022/tokens/properties/colors.json5 +0 -116
  350. package/design-tokens/pt-2022/tokens/properties/font.json5 +0 -15
  351. package/design-tokens/pt-2022/tokens/properties/globals.json5 +0 -49
  352. package/design-tokens/pt-2022/tokens/properties/padding.json5 +0 -3
  353. package/design-tokens/pt-2022/tokens/properties/palette.json5 +0 -226
  354. package/design-tokens/pt-2022/tokens/properties/typography.json5 +0 -140
  355. package/design-tokens/style-dictionary/build.js +0 -62
  356. package/design-tokens/style-dictionary/configs/css.js +0 -13
  357. package/design-tokens/style-dictionary/configs/index.js +0 -48
  358. package/design-tokens/style-dictionary/configs/js.js +0 -9
  359. package/design-tokens/style-dictionary/configs/scss.js +0 -23
  360. package/design-tokens/style-dictionary/filters/color.js +0 -7
  361. package/design-tokens/style-dictionary/filters/palette.js +0 -7
  362. package/design-tokens/style-dictionary/filters/size.js +0 -7
  363. package/design-tokens/style-dictionary/filters/typography.js +0 -7
  364. package/design-tokens/style-dictionary/formats/palette.js +0 -25
  365. package/design-tokens/style-dictionary/formats/typography.js +0 -52
  366. package/design-tokens/style-dictionary/transformGroups/css.js +0 -13
  367. package/design-tokens/style-dictionary/transformGroups/scss.js +0 -12
  368. package/design-tokens/style-dictionary/transforms/attribute/palette.js +0 -9
  369. package/design-tokens/style-dictionary/transforms/attribute/prefix.js +0 -11
  370. package/design-tokens/style-dictionary/transforms/attribute/size.js +0 -8
  371. package/design-tokens/style-dictionary/transforms/attribute/typography.js +0 -9
package/_visual.scss CHANGED
@@ -52,6 +52,19 @@ $dark-color-scheme-states-disabled-opacity: 0.3;
52
52
  $font-family-accent: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
53
53
  $font-family-base: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
54
54
  $font-family-monospace: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
55
+ $size-3xs: 2px;
56
+ $size-xxs: 4px;
57
+ $size-xs: 6px;
58
+ $size-s: 8px;
59
+ $size-m: 12px;
60
+ $size-l: 16px;
61
+ $size-xl: 20px;
62
+ $size-xxl: 24px;
63
+ $size-3xl: 32px;
64
+ $size-4xl: 40px;
65
+ $size-5xl: 48px;
66
+ $size-6xl: 56px;
67
+ $size-7xl: 64px;
55
68
  $palette-blue-40: #eff6ff;
56
69
  $palette-blue-60: #e7f1ff;
57
70
  $palette-blue-100: #c8dfff;
@@ -423,16 +436,15 @@ $button-dark-color-scheme-error-color: #ea5868;
423
436
  $button-dark-color-scheme-error-icon: #ea5868;
424
437
  $button-dark-color-scheme-error-states-active-border: #333f4a;
425
438
  $button-dark-color-scheme-error-states-active-background: #333f4a;
439
+ $button-size-height: 32px;
426
440
  $button-size-border-width: 1px;
427
441
  $button-size-border-radius: 3px;
428
- $button-size-vertical-padding: 6px;
429
- $button-size-horizontal-padding: 16px;
442
+ $button-size-horizontal-padding: 12px;
430
443
  $button-font-default: body;
431
444
  $button-font-primary: body-strong;
432
445
  $button-font-primary-transparent: body;
433
- $icon-button-size-vertical-padding: 6px;
434
446
  $icon-button-size-horizontal-padding: 8px;
435
- $icon-button-size-icon-horizontal-padding: 16px;
447
+ $icon-button-size-left-icon-padding: 6px;
436
448
  $card-light-color-scheme-error-vertical-line: #fbd6d6;
437
449
  $card-light-color-scheme-error-background: #fff3f3;
438
450
  $card-light-color-scheme-error-shadow: #fbd6d6;
@@ -525,7 +537,8 @@ $dropdown-group-header-font-default: body-strong;
525
537
  $dropdown-group-header-font-small: caption-caps;
526
538
  $dropdown-divider-size-height: 1px;
527
539
  $dropdown-divider-size-margin: 4px 0;
528
- $dropdown-trigger-size-icon-padding-right: 8px;
540
+ $dropdown-trigger-size-button-right-padding: 8px;
541
+ $dropdown-trigger-size-right-icon-padding: 2px;
529
542
  $dropdown-panel-size-max-width: 640px;
530
543
  $dropdown-panel-size-padding: 4px 0;
531
544
  $dropdown-panel-size-border-width: 1px;
@@ -540,6 +553,7 @@ $form-field-dark-color-scheme-background: transparent;
540
553
  $form-field-dark-color-scheme-states-hover-border: #515e69;
541
554
  $form-field-dark-color-scheme-states-invalid-border: #b9023a;
542
555
  $form-field-dark-color-scheme-states-invalid-background: transparent;
556
+ $form-field-size-height: 32px;
543
557
  $form-field-size-border-width: 1px;
544
558
  $form-field-size-border-radius: 3px;
545
559
  $form-field-size-button-width: 32px;
@@ -579,9 +593,8 @@ $forms-size-vertical-legend-margin-top: 32px;
579
593
  $forms-size-vertical-legend-margin-bottom: 12px;
580
594
  $forms-font-default-label: body;
581
595
  $forms-font-default-legend: subheading;
582
- $input-size-padding: 5px 16px;
596
+ $input-size-padding: 0 16px;
583
597
  $input-size-width: 100%;
584
- $input-size-min-height: 30px;
585
598
  $input-font-default: body;
586
599
  $input-font-monospace: body-mono;
587
600
  $link-light-color-scheme-text: #0374eb;
@@ -603,13 +616,10 @@ $link-dark-color-scheme-state-focused-outline: #4187ff;
603
616
  $link-size-icon-margin: 4px;
604
617
  $link-size-state-focused-outline-offset: 2px;
605
618
  $link-size-state-focused-outline-width: 2px;
606
- $link-animation-transition: color ease-out 300ms;
607
- $link-animation-state-hover-transition: color 0ms;
608
619
  $link-font-default: body;
609
- $list-size-horizontal-padding: 16px;
610
- $list-size-icon-padding: 4px;
620
+ $list-size-horizontal-padding: 12px;
621
+ $list-size-icon-right-margin: 8px;
611
622
  $list-size-item-height: 32px;
612
- $list-size-icon-width: 24px;
613
623
  $list-font-item: body;
614
624
  $modal-light-color-scheme-shadow: (0 0 0 1px #d7dee4, 0 6px 12px 0 rgba(39, 51, 62, 0.5));
615
625
  $modal-light-color-scheme-body-top-shadow: 0 2px 4px 0 rgba(39, 51, 62, 0.16);
@@ -629,7 +639,8 @@ $modal-size-border-width: 1px;
629
639
  $modal-header-light-color-scheme-border: #d7dee4;
630
640
  $modal-header-dark-color-scheme-border: #333f4a;
631
641
  $modal-header-size-border-radius: 4px 4px 0 0;
632
- $modal-header-size-padding: 14px 16px;
642
+ $modal-header-size-height: 56px;
643
+ $modal-header-size-padding: 0 16px;
633
644
  $modal-header-font-default: title;
634
645
  $modal-body-size-max-height: calc(100vh - 260px);
635
646
  $modal-body-size-padding: 16px 24px 24px;
@@ -637,13 +648,15 @@ $modal-body-font-default: body;
637
648
  $modal-footer-light-color-scheme-border: #f2f5f9;
638
649
  $modal-footer-dark-color-scheme-border: #333f4a;
639
650
  $modal-footer-size-border-radius: 0 0 4px 4px;
640
- $modal-footer-size-padding: 16px 16px;
651
+ $modal-footer-size-height: 64px;
652
+ $modal-footer-size-padding: 0 16px;
641
653
  $modal-confirm-size-padding: 24px;
642
654
  $navbar-light-color-scheme-background: #19252f;
643
655
  $navbar-light-color-scheme-divider-background: #515e69;
644
656
  $navbar-dark-color-scheme-background: #333f4a;
645
657
  $navbar-dark-color-scheme-divider-background: #515e69;
646
658
  $navbar-size-icon-margin: 6px;
659
+ $navbar-size-right-icon-margin: 2px;
647
660
  $navbar-font-title: body;
648
661
  $vertical-navbar-size-states-expanded-width: 240px;
649
662
  $vertical-navbar-size-states-collapsed-width: 56px;
@@ -697,8 +710,8 @@ $popover-header-light-color-scheme-background: white;
697
710
  $popover-header-dark-color-scheme-border: #434f5a;
698
711
  $popover-header-dark-color-scheme-text: #f2f5f9;
699
712
  $popover-header-dark-color-scheme-background: #333f4a;
700
- $popover-header-size-height: 10px 16px;
701
- $popover-header-size-padding: 10px 16px;
713
+ $popover-header-size-height: 40px;
714
+ $popover-header-size-padding: 0 16px;
702
715
  $popover-header-font-default: subheading;
703
716
  $popover-footer-light-color-scheme-border: #f2f5f9;
704
717
  $popover-footer-light-color-scheme-background: #f2f5f9;
@@ -739,7 +752,6 @@ $radio-dark-color-scheme-states-focused-inner-circle-shadow: 0 0 0 1px #19252f;
739
752
  $radio-size-size: 14px;
740
753
  $radio-size-label-margin: 8px;
741
754
  $radio-font-default: body;
742
- $select-size-height: 30px;
743
755
  $select-size-left-padding: 16px;
744
756
  $select-size-right-padding: 8px;
745
757
  $select-size-left-padding-multiple: 8px;
@@ -753,16 +765,18 @@ $select-panel-font-default: body;
753
765
  $sidepanel-light-color-scheme-border: #bdc7d1;
754
766
  $sidepanel-dark-color-scheme-border: #19252f;
755
767
  $sidepanel-font-default: body;
756
- $sidepanel-header-size-padding: 14px 16px;
768
+ $sidepanel-header-size-height: 56px;
769
+ $sidepanel-header-size-padding: 0 16px;
757
770
  $sidepanel-header-size-close-padding: 0 0 0 8px;
758
771
  $sidepanel-header-font-default: title;
759
- $sidepanel-footer-size-padding: 16px;
772
+ $sidepanel-footer-size-height: 64px;
773
+ $sidepanel-footer-size-padding: 0 16px;
760
774
  $sidepanel-footer-font-default: body;
761
775
  $table-size-border-width: 1px;
762
776
  $table-size-row-padding-vertical: 8px;
763
777
  $table-size-row-padding-horizontal: 16px;
764
778
  $table-font-header: caption;
765
- $table-font-body: body;
779
+ $table-font-body: body-tabular;
766
780
  $tabs-light-color-scheme-border: #d7dee4;
767
781
  $tabs-light-color-scheme-state-normal-icon: #8c99a5;
768
782
  $tabs-light-color-scheme-state-normal-text: #19252f;
@@ -852,13 +866,12 @@ $tags-size-margin: 2px;
852
866
  $tags-size-height: 24px;
853
867
  $tags-size-border-width: 1px;
854
868
  $tags-size-border-radius: 4px;
855
- $tags-size-icon-padding: 3px;
869
+ $tags-size-icon-padding: 4px;
856
870
  $tags-size-text-margin: 8px;
857
871
  $tags-font-default: caption;
858
872
  $tags-font-mono: caption-mono;
859
873
  $tags-font-caps: caption-caps;
860
874
  $tag-list-size-padding: 1px 6px;
861
- $tag-list-size-min-height: 30px;
862
875
  $tag-input-size-height: 22px;
863
876
  $tag-input-size-margin: 2px 4px;
864
877
  $tag-input-font-default: body;
@@ -939,7 +952,9 @@ $extended-tooltip-header-size-height: 40px;
939
952
  $extended-tooltip-header-size-padding: 10px 16px;
940
953
  $extended-tooltip-header-font-default: subheading;
941
954
  $tree-size-node-height: 32px;
942
- $tree-size-padding-left: 8px;
955
+ $tree-size-padding-left: 12px;
956
+ $tree-size-toggle-padding: 4px;
957
+ $tree-size-icon-padding: 8px;
943
958
  $tree-size-padding-right: 16px;
944
959
  $tree-font-node: body;
945
960
  $light-color-scheme-primary-palette: (
@@ -1555,102 +1570,133 @@ $typography-display-1-letter-spacing: normal;
1555
1570
  $typography-display-1-font-weight: normal;
1556
1571
  $typography-display-1-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1557
1572
  $typography-display-1-text-transform: null;
1573
+ $typography-display-1-font-feature-settings: null;
1558
1574
  $typography-display-2-font-size: 45px;
1559
1575
  $typography-display-2-line-height: 56px;
1560
1576
  $typography-display-2-letter-spacing: normal;
1561
1577
  $typography-display-2-font-weight: normal;
1562
1578
  $typography-display-2-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1563
1579
  $typography-display-2-text-transform: null;
1580
+ $typography-display-2-font-feature-settings: null;
1564
1581
  $typography-display-3-font-size: 34px;
1565
1582
  $typography-display-3-line-height: 44px;
1566
1583
  $typography-display-3-letter-spacing: normal;
1567
1584
  $typography-display-3-font-weight: normal;
1568
1585
  $typography-display-3-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1569
1586
  $typography-display-3-text-transform: null;
1587
+ $typography-display-3-font-feature-settings: null;
1570
1588
  $typography-headline-font-size: 24px;
1571
1589
  $typography-headline-line-height: 32px;
1572
1590
  $typography-headline-letter-spacing: normal;
1573
1591
  $typography-headline-font-weight: normal;
1574
1592
  $typography-headline-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1575
1593
  $typography-headline-text-transform: null;
1594
+ $typography-headline-font-feature-settings: null;
1576
1595
  $typography-title-font-size: 20px;
1577
1596
  $typography-title-line-height: 28px;
1578
1597
  $typography-title-letter-spacing: normal;
1579
1598
  $typography-title-font-weight: 600;
1580
1599
  $typography-title-font-family: 'TT Positive', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1581
1600
  $typography-title-text-transform: null;
1601
+ $typography-title-font-feature-settings: null;
1582
1602
  $typography-subheading-font-size: 15px;
1583
1603
  $typography-subheading-line-height: 20px;
1584
1604
  $typography-subheading-letter-spacing: -0.009em;
1585
1605
  $typography-subheading-font-weight: 600;
1586
1606
  $typography-subheading-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1587
1607
  $typography-subheading-text-transform: null;
1608
+ $typography-subheading-font-feature-settings: "ss01" on, "ss04" on;
1588
1609
  $typography-body-font-size: 15px;
1589
1610
  $typography-body-line-height: 20px;
1590
1611
  $typography-body-letter-spacing: -0.009em;
1591
1612
  $typography-body-font-weight: normal;
1592
1613
  $typography-body-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1593
1614
  $typography-body-text-transform: null;
1615
+ $typography-body-font-feature-settings: "ss01" on, "ss04" on;
1616
+ $typography-body-tabular-font-size: 15px;
1617
+ $typography-body-tabular-line-height: 20px;
1618
+ $typography-body-tabular-letter-spacing: -0.009em;
1619
+ $typography-body-tabular-font-weight: normal;
1620
+ $typography-body-tabular-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1621
+ $typography-body-tabular-text-transform: null;
1622
+ $typography-body-tabular-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
1594
1623
  $typography-body-strong-font-size: 15px;
1595
1624
  $typography-body-strong-line-height: 20px;
1596
1625
  $typography-body-strong-letter-spacing: -0.009em;
1597
1626
  $typography-body-strong-font-weight: 500;
1598
1627
  $typography-body-strong-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1599
1628
  $typography-body-strong-text-transform: null;
1629
+ $typography-body-strong-font-feature-settings: "ss01" on, "ss04" on;
1600
1630
  $typography-body-caps-font-size: 15px;
1601
1631
  $typography-body-caps-line-height: 20px;
1602
1632
  $typography-body-caps-letter-spacing: 1.7px;
1603
1633
  $typography-body-caps-font-weight: normal;
1604
1634
  $typography-body-caps-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1605
1635
  $typography-body-caps-text-transform: uppercase;
1636
+ $typography-body-caps-font-feature-settings: "ss01" on, "ss04" on;
1606
1637
  $typography-body-mono-font-size: 15px;
1607
1638
  $typography-body-mono-line-height: 20px;
1608
1639
  $typography-body-mono-letter-spacing: normal;
1609
1640
  $typography-body-mono-font-weight: normal;
1610
1641
  $typography-body-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
1611
1642
  $typography-body-mono-text-transform: null;
1643
+ $typography-body-mono-font-feature-settings: null;
1612
1644
  $typography-caption-font-size: 13px;
1613
1645
  $typography-caption-line-height: 16px;
1614
1646
  $typography-caption-letter-spacing: -0.0025em;
1615
1647
  $typography-caption-font-weight: normal;
1616
1648
  $typography-caption-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1617
1649
  $typography-caption-text-transform: null;
1650
+ $typography-caption-font-feature-settings: "ss01" on, "ss04" on;
1651
+ $typography-caption-tabular-font-size: 13px;
1652
+ $typography-caption-tabular-line-height: 16px;
1653
+ $typography-caption-tabular-letter-spacing: -0.0025em;
1654
+ $typography-caption-tabular-font-weight: normal;
1655
+ $typography-caption-tabular-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1656
+ $typography-caption-tabular-text-transform: null;
1657
+ $typography-caption-tabular-font-feature-settings: "tnum" on, "ss01" on, "ss04" on;
1618
1658
  $typography-caption-caps-font-size: 13px;
1619
1659
  $typography-caption-caps-line-height: 16px;
1620
1660
  $typography-caption-caps-letter-spacing: 1.5px;
1621
1661
  $typography-caption-caps-font-weight: normal;
1622
1662
  $typography-caption-caps-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1623
1663
  $typography-caption-caps-text-transform: uppercase;
1664
+ $typography-caption-caps-font-feature-settings: "ss01" on, "ss04" on;
1624
1665
  $typography-caption-mono-font-size: 13px;
1625
1666
  $typography-caption-mono-line-height: 16px;
1626
1667
  $typography-caption-mono-letter-spacing: normal;
1627
1668
  $typography-caption-mono-font-weight: normal;
1628
1669
  $typography-caption-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
1629
1670
  $typography-caption-mono-text-transform: null;
1671
+ $typography-caption-mono-font-feature-settings: null;
1630
1672
  $typography-small-text-font-size: 13px;
1631
1673
  $typography-small-text-line-height: 16px;
1632
1674
  $typography-small-text-letter-spacing: -0.0025em;
1633
1675
  $typography-small-text-font-weight: normal;
1634
1676
  $typography-small-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1635
1677
  $typography-small-text-text-transform: null;
1678
+ $typography-small-text-font-feature-settings: "ss01" on, "ss04" on;
1636
1679
  $typography-extra-small-text-font-size: 11px;
1637
1680
  $typography-extra-small-text-line-height: 16px;
1638
1681
  $typography-extra-small-text-letter-spacing: 0.005em;
1639
1682
  $typography-extra-small-text-font-weight: normal;
1640
1683
  $typography-extra-small-text-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1641
1684
  $typography-extra-small-text-text-transform: null;
1685
+ $typography-extra-small-text-font-feature-settings: "ss01" on, "ss04" on;
1642
1686
  $typography-extra-small-text-caps-font-size: 11px;
1643
1687
  $typography-extra-small-text-caps-line-height: 16px;
1644
1688
  $typography-extra-small-text-caps-letter-spacing: 1px;
1645
1689
  $typography-extra-small-text-caps-font-weight: normal;
1646
1690
  $typography-extra-small-text-caps-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
1647
1691
  $typography-extra-small-text-caps-text-transform: uppercase;
1692
+ $typography-extra-small-text-caps-font-feature-settings: "ss01" on, "ss04" on;
1648
1693
  $typography-extra-small-text-mono-font-size: 11px;
1649
1694
  $typography-extra-small-text-mono-line-height: 16px;
1650
1695
  $typography-extra-small-text-mono-letter-spacing: 0px;
1651
1696
  $typography-extra-small-text-mono-font-weight: normal;
1652
1697
  $typography-extra-small-text-mono-font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
1653
1698
  $typography-extra-small-text-mono-text-transform: null;
1699
+ $typography-extra-small-text-mono-font-feature-settings: null;
1654
1700
 
1655
1701
  $mosaic: (
1656
1702
  'typography': (
@@ -1660,7 +1706,8 @@ $mosaic: (
1660
1706
  'letter-spacing': $typography-display-1-letter-spacing,
1661
1707
  'font-weight': $typography-display-1-font-weight,
1662
1708
  'font-family': $typography-display-1-font-family,
1663
- 'text-transform': $typography-display-1-text-transform
1709
+ 'text-transform': $typography-display-1-text-transform,
1710
+ 'font-feature-settings': $typography-display-1-font-feature-settings
1664
1711
  ),
1665
1712
  'display-2': (
1666
1713
  'font-size': $typography-display-2-font-size,
@@ -1668,7 +1715,8 @@ $mosaic: (
1668
1715
  'letter-spacing': $typography-display-2-letter-spacing,
1669
1716
  'font-weight': $typography-display-2-font-weight,
1670
1717
  'font-family': $typography-display-2-font-family,
1671
- 'text-transform': $typography-display-2-text-transform
1718
+ 'text-transform': $typography-display-2-text-transform,
1719
+ 'font-feature-settings': $typography-display-2-font-feature-settings
1672
1720
  ),
1673
1721
  'display-3': (
1674
1722
  'font-size': $typography-display-3-font-size,
@@ -1676,7 +1724,8 @@ $mosaic: (
1676
1724
  'letter-spacing': $typography-display-3-letter-spacing,
1677
1725
  'font-weight': $typography-display-3-font-weight,
1678
1726
  'font-family': $typography-display-3-font-family,
1679
- 'text-transform': $typography-display-3-text-transform
1727
+ 'text-transform': $typography-display-3-text-transform,
1728
+ 'font-feature-settings': $typography-display-3-font-feature-settings
1680
1729
  ),
1681
1730
  'headline': (
1682
1731
  'font-size': $typography-headline-font-size,
@@ -1684,7 +1733,8 @@ $mosaic: (
1684
1733
  'letter-spacing': $typography-headline-letter-spacing,
1685
1734
  'font-weight': $typography-headline-font-weight,
1686
1735
  'font-family': $typography-headline-font-family,
1687
- 'text-transform': $typography-headline-text-transform
1736
+ 'text-transform': $typography-headline-text-transform,
1737
+ 'font-feature-settings': $typography-headline-font-feature-settings
1688
1738
  ),
1689
1739
  'title': (
1690
1740
  'font-size': $typography-title-font-size,
@@ -1692,7 +1742,8 @@ $mosaic: (
1692
1742
  'letter-spacing': $typography-title-letter-spacing,
1693
1743
  'font-weight': $typography-title-font-weight,
1694
1744
  'font-family': $typography-title-font-family,
1695
- 'text-transform': $typography-title-text-transform
1745
+ 'text-transform': $typography-title-text-transform,
1746
+ 'font-feature-settings': $typography-title-font-feature-settings
1696
1747
  ),
1697
1748
  'subheading': (
1698
1749
  'font-size': $typography-subheading-font-size,
@@ -1700,7 +1751,8 @@ $mosaic: (
1700
1751
  'letter-spacing': $typography-subheading-letter-spacing,
1701
1752
  'font-weight': $typography-subheading-font-weight,
1702
1753
  'font-family': $typography-subheading-font-family,
1703
- 'text-transform': $typography-subheading-text-transform
1754
+ 'text-transform': $typography-subheading-text-transform,
1755
+ 'font-feature-settings': $typography-subheading-font-feature-settings
1704
1756
  ),
1705
1757
  'body': (
1706
1758
  'font-size': $typography-body-font-size,
@@ -1708,7 +1760,17 @@ $mosaic: (
1708
1760
  'letter-spacing': $typography-body-letter-spacing,
1709
1761
  'font-weight': $typography-body-font-weight,
1710
1762
  'font-family': $typography-body-font-family,
1711
- 'text-transform': $typography-body-text-transform
1763
+ 'text-transform': $typography-body-text-transform,
1764
+ 'font-feature-settings': $typography-body-font-feature-settings
1765
+ ),
1766
+ 'body-tabular': (
1767
+ 'font-size': $typography-body-tabular-font-size,
1768
+ 'line-height': $typography-body-tabular-line-height,
1769
+ 'letter-spacing': $typography-body-tabular-letter-spacing,
1770
+ 'font-weight': $typography-body-tabular-font-weight,
1771
+ 'font-family': $typography-body-tabular-font-family,
1772
+ 'text-transform': $typography-body-tabular-text-transform,
1773
+ 'font-feature-settings': $typography-body-tabular-font-feature-settings
1712
1774
  ),
1713
1775
  'body-strong': (
1714
1776
  'font-size': $typography-body-strong-font-size,
@@ -1716,7 +1778,8 @@ $mosaic: (
1716
1778
  'letter-spacing': $typography-body-strong-letter-spacing,
1717
1779
  'font-weight': $typography-body-strong-font-weight,
1718
1780
  'font-family': $typography-body-strong-font-family,
1719
- 'text-transform': $typography-body-strong-text-transform
1781
+ 'text-transform': $typography-body-strong-text-transform,
1782
+ 'font-feature-settings': $typography-body-strong-font-feature-settings
1720
1783
  ),
1721
1784
  'body-caps': (
1722
1785
  'font-size': $typography-body-caps-font-size,
@@ -1724,7 +1787,8 @@ $mosaic: (
1724
1787
  'letter-spacing': $typography-body-caps-letter-spacing,
1725
1788
  'font-weight': $typography-body-caps-font-weight,
1726
1789
  'font-family': $typography-body-caps-font-family,
1727
- 'text-transform': $typography-body-caps-text-transform
1790
+ 'text-transform': $typography-body-caps-text-transform,
1791
+ 'font-feature-settings': $typography-body-caps-font-feature-settings
1728
1792
  ),
1729
1793
  'body-mono': (
1730
1794
  'font-size': $typography-body-mono-font-size,
@@ -1732,7 +1796,8 @@ $mosaic: (
1732
1796
  'letter-spacing': $typography-body-mono-letter-spacing,
1733
1797
  'font-weight': $typography-body-mono-font-weight,
1734
1798
  'font-family': $typography-body-mono-font-family,
1735
- 'text-transform': $typography-body-mono-text-transform
1799
+ 'text-transform': $typography-body-mono-text-transform,
1800
+ 'font-feature-settings': $typography-body-mono-font-feature-settings
1736
1801
  ),
1737
1802
  'caption': (
1738
1803
  'font-size': $typography-caption-font-size,
@@ -1740,7 +1805,17 @@ $mosaic: (
1740
1805
  'letter-spacing': $typography-caption-letter-spacing,
1741
1806
  'font-weight': $typography-caption-font-weight,
1742
1807
  'font-family': $typography-caption-font-family,
1743
- 'text-transform': $typography-caption-text-transform
1808
+ 'text-transform': $typography-caption-text-transform,
1809
+ 'font-feature-settings': $typography-caption-font-feature-settings
1810
+ ),
1811
+ 'caption-tabular': (
1812
+ 'font-size': $typography-caption-tabular-font-size,
1813
+ 'line-height': $typography-caption-tabular-line-height,
1814
+ 'letter-spacing': $typography-caption-tabular-letter-spacing,
1815
+ 'font-weight': $typography-caption-tabular-font-weight,
1816
+ 'font-family': $typography-caption-tabular-font-family,
1817
+ 'text-transform': $typography-caption-tabular-text-transform,
1818
+ 'font-feature-settings': $typography-caption-tabular-font-feature-settings
1744
1819
  ),
1745
1820
  'caption-caps': (
1746
1821
  'font-size': $typography-caption-caps-font-size,
@@ -1748,7 +1823,8 @@ $mosaic: (
1748
1823
  'letter-spacing': $typography-caption-caps-letter-spacing,
1749
1824
  'font-weight': $typography-caption-caps-font-weight,
1750
1825
  'font-family': $typography-caption-caps-font-family,
1751
- 'text-transform': $typography-caption-caps-text-transform
1826
+ 'text-transform': $typography-caption-caps-text-transform,
1827
+ 'font-feature-settings': $typography-caption-caps-font-feature-settings
1752
1828
  ),
1753
1829
  'caption-mono': (
1754
1830
  'font-size': $typography-caption-mono-font-size,
@@ -1756,7 +1832,8 @@ $mosaic: (
1756
1832
  'letter-spacing': $typography-caption-mono-letter-spacing,
1757
1833
  'font-weight': $typography-caption-mono-font-weight,
1758
1834
  'font-family': $typography-caption-mono-font-family,
1759
- 'text-transform': $typography-caption-mono-text-transform
1835
+ 'text-transform': $typography-caption-mono-text-transform,
1836
+ 'font-feature-settings': $typography-caption-mono-font-feature-settings
1760
1837
  ),
1761
1838
  'small-text': (
1762
1839
  'font-size': $typography-small-text-font-size,
@@ -1764,7 +1841,8 @@ $mosaic: (
1764
1841
  'letter-spacing': $typography-small-text-letter-spacing,
1765
1842
  'font-weight': $typography-small-text-font-weight,
1766
1843
  'font-family': $typography-small-text-font-family,
1767
- 'text-transform': $typography-small-text-text-transform
1844
+ 'text-transform': $typography-small-text-text-transform,
1845
+ 'font-feature-settings': $typography-small-text-font-feature-settings
1768
1846
  ),
1769
1847
  'extra-small-text': (
1770
1848
  'font-size': $typography-extra-small-text-font-size,
@@ -1772,7 +1850,8 @@ $mosaic: (
1772
1850
  'letter-spacing': $typography-extra-small-text-letter-spacing,
1773
1851
  'font-weight': $typography-extra-small-text-font-weight,
1774
1852
  'font-family': $typography-extra-small-text-font-family,
1775
- 'text-transform': $typography-extra-small-text-text-transform
1853
+ 'text-transform': $typography-extra-small-text-text-transform,
1854
+ 'font-feature-settings': $typography-extra-small-text-font-feature-settings
1776
1855
  ),
1777
1856
  'extra-small-text-caps': (
1778
1857
  'font-size': $typography-extra-small-text-caps-font-size,
@@ -1780,7 +1859,8 @@ $mosaic: (
1780
1859
  'letter-spacing': $typography-extra-small-text-caps-letter-spacing,
1781
1860
  'font-weight': $typography-extra-small-text-caps-font-weight,
1782
1861
  'font-family': $typography-extra-small-text-caps-font-family,
1783
- 'text-transform': $typography-extra-small-text-caps-text-transform
1862
+ 'text-transform': $typography-extra-small-text-caps-text-transform,
1863
+ 'font-feature-settings': $typography-extra-small-text-caps-font-feature-settings
1784
1864
  ),
1785
1865
  'extra-small-text-mono': (
1786
1866
  'font-size': $typography-extra-small-text-mono-font-size,
@@ -1788,7 +1868,8 @@ $mosaic: (
1788
1868
  'letter-spacing': $typography-extra-small-text-mono-letter-spacing,
1789
1869
  'font-weight': $typography-extra-small-text-mono-font-weight,
1790
1870
  'font-family': $typography-extra-small-text-mono-font-family,
1791
- 'text-transform': $typography-extra-small-text-mono-text-transform
1871
+ 'text-transform': $typography-extra-small-text-mono-text-transform,
1872
+ 'font-feature-settings': $typography-extra-small-text-mono-font-feature-settings
1792
1873
  )
1793
1874
  )
1794
1875
  );
@@ -1872,6 +1953,8 @@ $fonts: (
1872
1953
  }
1873
1954
  }
1874
1955
 
1956
+
1957
+
1875
1958
  // mixin definition ; sets LTR and RTL within the same style call
1876
1959
  // @see https://css-tricks.com/almanac/properties/d/direction/
1877
1960
 
@@ -1904,12 +1987,6 @@ $fonts: (
1904
1987
  }
1905
1988
 
1906
1989
 
1907
-
1908
- // Layout
1909
- $baseline-grid: 8px !default;
1910
- $layout-gutter-width: ($baseline-grid * 2) !default;
1911
-
1912
-
1913
1990
  /*
1914
1991
  * Responsive attributes
1915
1992
  *
@@ -1929,24 +2006,27 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
1929
2006
  }
1930
2007
  }
1931
2008
 
1932
- @mixin flex-order-for-name($sizes:null) {
2009
+ @mixin flex-order-for-name($sizes: null) {
1933
2010
  @if $sizes == null {
1934
- $sizes : '';
2011
+ $sizes: '';
1935
2012
 
1936
2013
  .flex-order {
1937
- order : 0;
2014
+ order: 0;
1938
2015
  }
1939
2016
  }
1940
2017
 
1941
2018
  @for $i from -20 through 20 {
1942
- $order : '';
1943
- $suffix : '';
2019
+ $order: '';
2020
+ $suffix: '';
1944
2021
 
1945
2022
  @each $s in $sizes {
1946
- @if $s != '' { $suffix : '#{$s}-#{$i}'; }
1947
- @else { $suffix : '#{$i}'; }
2023
+ @if $s != '' {
2024
+ $suffix: '#{$s}-#{$i}';
2025
+ } @else {
2026
+ $suffix: '#{$i}';
2027
+ }
1948
2028
 
1949
- $order : '.flex-order-#{$suffix}';
2029
+ $order: '.flex-order-#{$suffix}';
1950
2030
  }
1951
2031
 
1952
2032
  #{$order} {
@@ -1956,17 +2036,22 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
1956
2036
  }
1957
2037
 
1958
2038
  @mixin offset-for-name($sizes:null) {
1959
- @if $sizes == null { $sizes : ''; }
2039
+ @if $sizes == null {
2040
+ $sizes: '';
2041
+ }
1960
2042
 
1961
2043
  @for $i from 0 through 19 {
1962
- $offsets : '';
1963
- $suffix : '';
2044
+ $offsets: '';
2045
+ $suffix: '';
1964
2046
 
1965
2047
  @each $s in $sizes {
1966
- @if $s != '' { $suffix : '#{$s}-#{$i * 5}'; }
1967
- @else { $suffix : '#{$i * 5}'; }
2048
+ @if $s != '' {
2049
+ $suffix: '#{$s}-#{$i * 5}';
2050
+ } @else {
2051
+ $suffix: '#{$i * 5}';
2052
+ }
1968
2053
 
1969
- $offsets :
2054
+ $offsets:
1970
2055
  '.offset-#{$suffix}, ' +
1971
2056
  '.flex-offset-#{$suffix}, ' +
1972
2057
  '.layout-margin .flex-offset-#{$suffix}, ' +
@@ -1974,20 +2059,26 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
1974
2059
  }
1975
2060
 
1976
2061
  #{$offsets} {
1977
- @if $i != 0 { @include rtl-prop(margin-left, margin-right, #{$i * 5 + '%'}, auto); }
1978
- @else { @include rtl-prop(margin-left, margin-right, 0, auto); }
2062
+ @if $i != 0 {
2063
+ @include rtl-prop(margin-left, margin-right, #{$i * 5 + '%'}, auto);
2064
+ } @else {
2065
+ @include rtl-prop(margin-left, margin-right, 0, auto);
2066
+ }
1979
2067
  }
1980
2068
  }
1981
2069
 
1982
2070
  @each $i in 33 {
1983
- $offsets : '';
1984
- $suffix : '';
2071
+ $offsets: '';
2072
+ $suffix: '';
1985
2073
 
1986
2074
  @each $s in $sizes {
1987
- @if $s != '' { $suffix : '#{$s}-#{$i}'; }
1988
- @else { $suffix : '#{$i}'; }
2075
+ @if $s != '' {
2076
+ $suffix: '#{$s}-#{$i}';
2077
+ } @else {
2078
+ $suffix: '#{$i}';
2079
+ }
1989
2080
 
1990
- $offsets :
2081
+ $offsets:
1991
2082
  '.offset-#{$suffix}, ' +
1992
2083
  '.flex-offset-#{$suffix}, ' +
1993
2084
  '.layout-margin .flex-offset-#{$suffix}, ' +
@@ -2000,14 +2091,17 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2000
2091
  }
2001
2092
 
2002
2093
  @each $i in 66 {
2003
- $offsets : '';
2004
- $suffix : '';
2094
+ $offsets: '';
2095
+ $suffix: '';
2005
2096
 
2006
2097
  @each $s in $sizes {
2007
- @if $s != '' { $suffix : '#{$s}-#{$i}'; }
2008
- @else { $suffix : '#{$i}'; }
2098
+ @if $s != '' {
2099
+ $suffix: '#{$s}-#{$i}';
2100
+ } @else {
2101
+ $suffix: '#{$i}';
2102
+ }
2009
2103
 
2010
- $offsets :
2104
+ $offsets:
2011
2105
  '.offset-#{$suffix}, ' +
2012
2106
  '.flex-offset-#{$suffix}, ' +
2013
2107
  '.layout-margin .flex-offset-#{$suffix}, ' +
@@ -2021,8 +2115,13 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2021
2115
  }
2022
2116
 
2023
2117
  @mixin layout-for-name($name: null) {
2024
- @if $name == null { $name : ''; }
2025
- @if $name != '' { $name : '-#{$name}'; }
2118
+ @if $name == null {
2119
+ $name: '';
2120
+ }
2121
+
2122
+ @if $name != '' {
2123
+ $name: '-#{$name}';
2124
+ }
2026
2125
 
2027
2126
  .layout#{$name},
2028
2127
  .layout#{$name}-column,
@@ -2049,6 +2148,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2049
2148
 
2050
2149
  @mixin flex-properties-for-name($name: null) {
2051
2150
  $flexName: 'flex';
2151
+
2052
2152
  @if $name != null {
2053
2153
  $flexName: 'flex-#{$name}';
2054
2154
  $name: '-#{$name}';
@@ -2058,22 +2158,16 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2058
2158
 
2059
2159
  // === flex: 1 1 0%;
2060
2160
  .#{$flexName} { flex: 1; box-sizing: border-box; }
2061
-
2062
2161
  .#{$flexName}-grow { flex: 1 1 100%; box-sizing: border-box; }
2063
-
2064
2162
  .#{$flexName}-initial { flex: 0 1 auto; box-sizing: border-box; }
2065
-
2066
2163
  .#{$flexName}-auto { flex: 1 1 auto; box-sizing: border-box; }
2067
-
2068
2164
  .#{$flexName}-none { flex: 0 0 auto; box-sizing: border-box; }
2069
-
2070
- .#{$flexName}-noshrink { flex: 1 0 auto; box-sizing: border-box; }
2071
-
2072
- .#{$flexName}-nogrow { flex: 0 1 auto; box-sizing: border-box; }
2165
+ .#{$flexName}-no-shrink { flex: 1 0 auto; box-sizing: border-box; }
2166
+ .#{$flexName}-no-grow { flex: 0 1 auto; box-sizing: border-box; }
2073
2167
 
2074
2168
  // (1-20) * 5 = 0-100%
2075
2169
  @for $i from 0 through 20 {
2076
- $value : #{$i * 5 + '%'};
2170
+ $value: #{$i * 5 + '%'};
2077
2171
 
2078
2172
  .#{$flexName}-#{$i * 5} {
2079
2173
  flex: 1 1 100%;
@@ -2089,7 +2183,9 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2089
2183
  box-sizing: border-box;
2090
2184
 
2091
2185
  // Required by Chrome M48+ due to http://crbug.com/546034
2092
- @if $i == 0 { min-width: 0; }
2186
+ @if $i == 0 {
2187
+ min-width: 0;
2188
+ }
2093
2189
  }
2094
2190
 
2095
2191
  .layout-column > .#{$flexName}-#{$i * 5} {
@@ -2106,7 +2202,9 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2106
2202
  box-sizing: border-box;
2107
2203
 
2108
2204
  // Required by Chrome M48+ due to http://crbug.com/546034
2109
- @if $i == 0 { min-width: 0; }
2205
+ @if $i == 0 {
2206
+ min-width: 0;
2207
+ }
2110
2208
  }
2111
2209
 
2112
2210
  .layout#{$name}-column > .#{$flexName}-#{$i * 5} {
@@ -2116,44 +2214,117 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2116
2214
  box-sizing: border-box;
2117
2215
 
2118
2216
  // Required by Chrome M48+ due to http://crbug.com/546034
2119
- @if $i == 0 { min-height: 0; }
2217
+ @if $i == 0 {
2218
+ min-height: 0;
2219
+ }
2120
2220
  }
2121
2221
  }
2122
2222
 
2123
2223
  @if ($name == '') {
2124
- .flex-33 { flex: 1 1 100%; max-width: 33.33%; max-height: 100%; box-sizing: border-box; }
2224
+ .flex-33 {
2225
+ flex: 1 1 100%;
2226
+ max-width: 33.33%;
2227
+ max-height: 100%;
2228
+ box-sizing: border-box;
2229
+ }
2125
2230
 
2126
- .flex-66 { flex: 1 1 100%; max-width: 66.66%; max-height: 100%; box-sizing: border-box; }
2231
+ .flex-66 {
2232
+ flex: 1 1 100%;
2233
+ max-width: 66.66%;
2234
+ max-height: 100%;
2235
+ box-sizing: border-box;
2236
+ }
2127
2237
  }
2128
2238
 
2129
2239
  .layout-row {
2130
- > .#{$flexName}-33 { flex: 1 1 33.33%; max-width: 33.33%; max-height: 100%; box-sizing: border-box; }
2240
+ > .#{$flexName}-33 {
2241
+ flex: 1 1 33.33%;
2242
+ max-width: 33.33%;
2243
+ max-height: 100%;
2244
+ box-sizing: border-box;
2245
+ }
2131
2246
 
2132
- > .#{$flexName}-66 { flex: 1 1 66.66%; max-width: 66.66%; max-height: 100%; box-sizing: border-box; }
2247
+ > .#{$flexName}-66 {
2248
+ flex: 1 1 66.66%;
2249
+ max-width: 66.66%;
2250
+ max-height: 100%;
2251
+ box-sizing: border-box;
2252
+ }
2133
2253
  }
2134
2254
 
2135
2255
  .layout-column {
2136
- > .#{$flexName}-33 { flex: 1 1 33.33%; max-width: 100%; max-height: 33.33%; box-sizing: border-box; }
2256
+ > .#{$flexName}-33 {
2257
+ flex: 1 1 33.33%;
2258
+ max-width: 100%;
2259
+ max-height: 33.33%;
2260
+ box-sizing: border-box;
2261
+ }
2137
2262
 
2138
- > .#{$flexName}-66 { flex: 1 1 66.66%; max-width: 100%; max-height: 66.66%; box-sizing: border-box; }
2263
+ > .#{$flexName}-66 {
2264
+ flex: 1 1 66.66%;
2265
+ max-width: 100%;
2266
+ max-height: 66.66%;
2267
+ box-sizing: border-box;
2268
+ }
2139
2269
  }
2140
2270
 
2141
2271
  .layout#{$name}-row {
2142
- > .#{$flexName}-33 { flex: 1 1 100%; max-width: 33.33%; max-height: 100%; box-sizing: border-box; }
2272
+ > .#{$flexName}-33 {
2273
+ flex: 1 1 100%;
2274
+ max-width: 33.33%;
2275
+ max-height: 100%;
2276
+ box-sizing: border-box;
2277
+ }
2143
2278
 
2144
- > .#{$flexName}-66 { flex: 1 1 100%; max-width: 66.66%; max-height: 100%; box-sizing: border-box; }
2279
+ > .#{$flexName}-66 {
2280
+ flex: 1 1 100%;
2281
+ max-width: 66.66%;
2282
+ max-height: 100%;
2283
+ box-sizing: border-box;
2284
+ }
2145
2285
 
2146
2286
  // Required by Chrome M48+ due to http://crbug.com/546034
2147
- > .flex { min-width: 0; }
2287
+ > .flex {
2288
+ min-width: 0;
2289
+ }
2148
2290
  }
2149
2291
 
2150
2292
  .layout#{$name}-column {
2151
- > .#{$flexName}-33 { flex: 1 1 100%; max-width: 100%; max-height: 33.33%; box-sizing: border-box; }
2293
+ > .#{$flexName}-33 {
2294
+ flex: 1 1 100%;
2295
+ max-width: 100%;
2296
+ max-height: 33.33%;
2297
+ box-sizing: border-box;
2298
+ }
2152
2299
 
2153
- > .#{$flexName}-66 { flex: 1 1 100%; max-width: 100%; max-height: 66.66%; box-sizing: border-box; }
2300
+ > .#{$flexName}-66 {
2301
+ flex: 1 1 100%;
2302
+ max-width: 100%;
2303
+ max-height: 66.66%;
2304
+ box-sizing: border-box;
2305
+ }
2154
2306
 
2155
2307
  // Required by Chrome M48+ due to http://crbug.com/546034
2156
- > .flex { min-height: 0; }
2308
+ > .flex {
2309
+ min-height: 0;
2310
+ }
2311
+ }
2312
+
2313
+ .layout-wrap {
2314
+ flex-wrap: wrap;
2315
+ }
2316
+
2317
+ .layout-nowrap {
2318
+ flex-wrap: nowrap;
2319
+ }
2320
+
2321
+ .layout-fill {
2322
+ margin: 0;
2323
+
2324
+ width: 100%;
2325
+
2326
+ min-height: 100%;
2327
+ height: 100%;
2157
2328
  }
2158
2329
  }
2159
2330
 
@@ -2171,10 +2342,9 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2171
2342
  }
2172
2343
 
2173
2344
  .#{$name},
2174
- .#{$name}-start-stretch // defaults
2175
- {
2176
- justify-content : flex-start;
2177
- align-content : stretch;
2345
+ .#{$name}-start-stretch {
2346
+ justify-content: flex-start;
2347
+ align-content: stretch;
2178
2348
  align-items: stretch;
2179
2349
  }
2180
2350
 
@@ -2183,18 +2353,16 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2183
2353
  .#{$name}-start-start,
2184
2354
  .#{$name}-start-center,
2185
2355
  .#{$name}-start-end,
2186
- .#{$name}-start-stretch
2187
- {
2356
+ .#{$name}-start-stretch {
2188
2357
  justify-content: flex-start;
2189
2358
  }
2190
2359
 
2191
2360
  // Main Axis Center
2192
- .#{$name}-center, //stretch
2361
+ .#{$name}-center, //stretch
2193
2362
  .#{$name}-center-start,
2194
2363
  .#{$name}-center-center,
2195
2364
  .#{$name}-center-end,
2196
- .#{$name}-center-stretch
2197
- {
2365
+ .#{$name}-center-stretch {
2198
2366
  justify-content: center;
2199
2367
  }
2200
2368
 
@@ -2203,8 +2371,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2203
2371
  .#{$name}-end-start,
2204
2372
  .#{$name}-end-center,
2205
2373
  .#{$name}-end-end,
2206
- .#{$name}-end-stretch
2207
- {
2374
+ .#{$name}-end-stretch {
2208
2375
  justify-content: flex-end;
2209
2376
  }
2210
2377
 
@@ -2213,8 +2380,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2213
2380
  .#{$name}-space-around-center,
2214
2381
  .#{$name}-space-around-start,
2215
2382
  .#{$name}-space-around-end,
2216
- .#{$name}-space-around-stretch
2217
- {
2383
+ .#{$name}-space-around-stretch {
2218
2384
  justify-content: space-around;
2219
2385
  }
2220
2386
 
@@ -2223,12 +2389,10 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2223
2389
  .#{$name}-space-between-center,
2224
2390
  .#{$name}-space-between-start,
2225
2391
  .#{$name}-space-between-end,
2226
- .#{$name}-space-between-stretch
2227
- {
2392
+ .#{$name}-space-between-stretch {
2228
2393
  justify-content: space-between;
2229
2394
  }
2230
2395
 
2231
-
2232
2396
  // Arrange on the Cross Axis
2233
2397
  // center, start, end
2234
2398
  // stretch is the default for align-items
@@ -2239,8 +2403,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2239
2403
  .#{$name}-center-start,
2240
2404
  .#{$name}-end-start,
2241
2405
  .#{$name}-space-between-start,
2242
- .#{$name}-space-around-start
2243
- {
2406
+ .#{$name}-space-around-start {
2244
2407
  align-items: flex-start;
2245
2408
  align-content: flex-start;
2246
2409
  }
@@ -2250,8 +2413,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2250
2413
  .#{$name}-center-center,
2251
2414
  .#{$name}-end-center,
2252
2415
  .#{$name}-space-between-center,
2253
- .#{$name}-space-around-center
2254
- {
2416
+ .#{$name}-space-around-center {
2255
2417
  align-items: center;
2256
2418
  align-content: center;
2257
2419
  max-width: 100%;
@@ -2262,8 +2424,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2262
2424
  .#{$name}-center-center > *,
2263
2425
  .#{$name}-end-center > *,
2264
2426
  .#{$name}-space-between-center > *,
2265
- .#{$name}-space-around-center > *
2266
- {
2427
+ .#{$name}-space-around-center > * {
2267
2428
  max-width: 100%;
2268
2429
  box-sizing: border-box;
2269
2430
  }
@@ -2273,8 +2434,7 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2273
2434
  .#{$name}-center-end,
2274
2435
  .#{$name}-end-end,
2275
2436
  .#{$name}-space-between-end,
2276
- .#{$name}-space-around-end
2277
- {
2437
+ .#{$name}-space-around-end {
2278
2438
  align-items: flex-end;
2279
2439
  align-content: flex-end;
2280
2440
  }
@@ -2284,117 +2444,88 @@ $layout-gutter-width: ($baseline-grid * 2) !default;
2284
2444
  .#{$name}-center-stretch,
2285
2445
  .#{$name}-end-stretch,
2286
2446
  .#{$name}-space-between-stretch,
2287
- .#{$name}-space-around-stretch
2288
- {
2447
+ .#{$name}-space-around-stretch {
2289
2448
  align-items: stretch;
2290
2449
  align-content: stretch;
2291
2450
  }
2292
2451
  }
2293
2452
 
2294
- @mixin layout-padding-margin() {
2295
-
2296
- // NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
2297
- .layout-padding-sm > *,
2298
- .layout-padding > .flex-sm
2299
- {
2300
- padding: div($layout-gutter-width, 4);
2301
- }
2302
-
2303
- .layout-padding,
2304
- .layout-padding-gt-sm,
2305
- .layout-padding-md,
2306
-
2307
- // NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
2308
- .layout-padding > *,
2309
- .layout-padding-gt-sm > *,
2310
- .layout-padding-md > *,
2311
-
2312
- .layout-padding > .flex,
2313
- .layout-padding > .flex-gt-sm,
2314
- .layout-padding > .flex-md
2315
- {
2316
- padding: div($layout-gutter-width, 2);
2317
- }
2318
-
2319
- // NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
2320
- .layout-padding-gt-md > *,
2321
- .layout-padding-lg > *,
2322
- .layout-padding-gt-lg > *,
2323
-
2324
- .layout-padding > .flex-gt-md,
2325
- .layout-padding > .flex-lg,
2326
- .layout-padding > .flex-gt-lg
2327
- {
2328
- padding: div($layout-gutter-width, 1);
2329
- }
2330
-
2331
- // Margin enhancements
2332
-
2333
- .layout-margin-sm > *,
2334
- .layout-margin > .flex-sm {
2335
- margin: div($layout-gutter-width, 4);
2336
- }
2337
-
2338
- .layout-margin,
2339
- .layout-margin-gt-sm,
2340
- .layout-margin-md,
2341
-
2342
- // NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
2343
- .layout-margin > *,
2344
- .layout-margin-gt-sm > *,
2345
- .layout-margin-md > *,
2346
-
2347
- .layout-margin > .flex,
2348
- .layout-margin > .flex-gt-sm,
2349
- .layout-margin > .flex-md
2350
- {
2351
- margin: div($layout-gutter-width, 2);
2352
- }
2353
-
2354
- // NOTE: these`> *` selectors should only be applied for layout="row" or layout="column" children !!
2355
- .layout-margin-gt-md > *,
2356
- .layout-margin-lg > *,
2357
- .layout-margin-gt-lg > *,
2453
+ @mixin layout-indents() {
2454
+ $sizes: (
2455
+ '3xs': $size-3xs,
2456
+ 'xxs': $size-xxs,
2457
+ 'xs': $size-xs,
2458
+ 's': $size-s,
2459
+ 'm': $size-m,
2460
+ 'l': $size-l,
2461
+ 'xl': $size-xl,
2462
+ 'xxl': $size-xxl,
2463
+ '3xl': $size-3xl,
2464
+ '4xl': $size-4xl,
2465
+ '5xl': $size-5xl,
2466
+ '6xl': $size-6xl,
2467
+ '7xl': $size-7xl
2468
+ );
2469
+
2470
+ $indents: 'padding', 'margin';
2471
+
2472
+ @each $indent in $indents {
2473
+ @each $name, $value in $sizes {
2474
+ .layout-#{$indent}-#{$name} {
2475
+ #{$indent}: $value;
2476
+ }
2477
+
2478
+ .layout-#{$indent}-top-#{$name} {
2479
+ #{$indent}-top: $value;
2480
+ }
2481
+
2482
+ .layout-#{$indent}-right-#{$name} {
2483
+ #{$indent}-right: $value;
2484
+ }
2485
+
2486
+ .layout-#{$indent}-bottom-#{$name} {
2487
+ #{$indent}-bottom: $value;
2488
+ }
2489
+
2490
+ .layout-#{$indent}-left-#{$name} {
2491
+ #{$indent}-left: $value;
2492
+ }
2493
+ }
2358
2494
 
2359
- .layout-margin > .flex-gt-md,
2360
- .layout-margin > .flex-lg,
2361
- .layout-margin > .flex-gt-lg
2362
- {
2363
- margin: div($layout-gutter-width, 1);
2364
- }
2495
+ .layout-#{$indent}-no-top {
2496
+ #{$indent}-top: 0;
2497
+ }
2365
2498
 
2366
- .layout-wrap {
2367
- flex-wrap: wrap;
2368
- }
2499
+ .layout-#{$indent}-no-right {
2500
+ #{$indent}-right: 0;
2501
+ }
2369
2502
 
2370
- .layout-nowrap {
2371
- flex-wrap: nowrap;
2372
- }
2503
+ .layout-#{$indent}-no-bottom {
2504
+ #{$indent}-bottom: 0;
2505
+ }
2373
2506
 
2374
- .layout-fill {
2375
- margin: 0;
2376
- width: 100%;
2377
- min-height: 100%;
2378
- height: 100%;
2507
+ .layout-#{$indent}-no-left {
2508
+ #{$indent}-left: 0;
2509
+ }
2379
2510
  }
2380
2511
  }
2381
2512
 
2382
- @mixin layouts_for_breakpoint($name:null) {
2383
-
2513
+ @mixin layouts_for_breakpoint($name: null) {
2384
2514
  @include flex-order-for-name($name);
2385
2515
  @include offset-for-name($name);
2386
2516
  @include layout-align-for-name($name);
2387
2517
 
2388
2518
  @include flex-properties-for-name($name);
2389
2519
  @include layout-for-name($name);
2520
+
2521
+ @include layout-indents();
2390
2522
  }
2391
2523
 
2392
2524
 
2393
2525
 
2394
- @mixin media-print {
2395
2526
 
2527
+ @mixin media-print {
2396
2528
  @media print {
2397
-
2398
2529
  .hide-print:not(.show-print):not(.show) {
2399
2530
  display: none !important;
2400
2531
  }
@@ -2442,12 +2573,8 @@ $horizontal-padding: 24px;
2442
2573
 
2443
2574
 
2444
2575
  @mixin mosaic-visual() {
2445
-
2446
2576
  // include specific mixins
2447
-
2448
2577
  @include body_html();
2449
2578
  @include layouts_for_breakpoint();
2450
- @include layout-padding-margin();
2451
-
2452
2579
  @include media-print();
2453
2580
  }