@covalent/core 0.0.0-COVALENT

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 (350) hide show
  1. package/README.md +42 -0
  2. package/breadcrumbs/README.md +93 -0
  3. package/breadcrumbs/_breadcrumbs-theme.scss +10 -0
  4. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +37 -0
  5. package/breadcrumbs/breadcrumbs.component.d.ts +37 -0
  6. package/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  7. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +5 -0
  8. package/breadcrumbs/package.json +10 -0
  9. package/breadcrumbs/public_api.d.ts +3 -0
  10. package/common/README.md +3 -0
  11. package/common/_common-theme.scss +35 -0
  12. package/common/animations/bounce/bounce.animation.d.ts +14 -0
  13. package/common/animations/collapse/collapse.animation.d.ts +20 -0
  14. package/common/animations/common/interfaces.d.ts +5 -0
  15. package/common/animations/fade/fadeInOut.animation.d.ts +20 -0
  16. package/common/animations/flash/flash.animation.d.ts +14 -0
  17. package/common/animations/headshake/headshake.animation.d.ts +14 -0
  18. package/common/animations/jello/jello.animation.d.ts +14 -0
  19. package/common/animations/pulse/pulse.animation.d.ts +14 -0
  20. package/common/animations/rotate/rotate.animation.d.ts +21 -0
  21. package/common/behaviors/control-value-accesor.mixin.d.ts +16 -0
  22. package/common/behaviors/disable-ripple.mixin.d.ts +9 -0
  23. package/common/behaviors/disabled.mixin.d.ts +9 -0
  24. package/common/common.module.d.ts +17 -0
  25. package/common/covalent-core-common.d.ts +5 -0
  26. package/common/directives/fullscreen/fullscreen.directive.d.ts +25 -0
  27. package/common/forms/auto-trim/auto-trim.directive.d.ts +12 -0
  28. package/common/forms/validators/validators.d.ts +8 -0
  29. package/common/functions/clipboard.d.ts +9 -0
  30. package/common/functions/convert.d.ts +31 -0
  31. package/common/functions/download.d.ts +48 -0
  32. package/common/functions/file.d.ts +7 -0
  33. package/common/package.json +10 -0
  34. package/common/pipes/bytes/bytes.pipe.d.ts +7 -0
  35. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +7 -0
  36. package/common/pipes/digits/digits.pipe.d.ts +10 -0
  37. package/common/pipes/time-ago/time-ago.pipe.d.ts +7 -0
  38. package/common/pipes/time-difference/time-difference.pipe.d.ts +7 -0
  39. package/common/pipes/time-until/time-until.pipe.d.ts +7 -0
  40. package/common/pipes/truncate/truncate.pipe.d.ts +7 -0
  41. package/common/public_api.d.ts +35 -0
  42. package/common/services/icon.service.d.ts +8 -0
  43. package/common/services/router-path.service.d.ts +10 -0
  44. package/common/styles/_elevation.scss +285 -0
  45. package/common/styles/_layout.scss +605 -0
  46. package/common/styles/_palette-dark.scss +326 -0
  47. package/common/styles/_palette-light.scss +637 -0
  48. package/common/styles/_rtl.scss +31 -0
  49. package/common/styles/_styles.scss +10 -0
  50. package/common/styles/_theme-functions.scss +25 -0
  51. package/common/styles/_typography-functions.scss +43 -0
  52. package/common/styles/_variables.scss +99 -0
  53. package/common/styles/colors/_colors-dark.scss +1399 -0
  54. package/common/styles/colors/_colors-light.scss +3235 -0
  55. package/common/styles/colors/_colors.scss +7 -0
  56. package/common/styles/core/_button.scss +90 -0
  57. package/common/styles/core/_card.scss +189 -0
  58. package/common/styles/core/_content.scss +43 -0
  59. package/common/styles/core/_core.scss +23 -0
  60. package/common/styles/core/_divider.scss +16 -0
  61. package/common/styles/core/_icons.scss +22 -0
  62. package/common/styles/core/_list.scss +8 -0
  63. package/common/styles/core/_sidenav.scss +22 -0
  64. package/common/styles/core/_structure.scss +127 -0
  65. package/common/styles/core/_toolbar.scss +53 -0
  66. package/common/styles/core/_whiteframe.scss +138 -0
  67. package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
  68. package/common/styles/font/README.md +11 -0
  69. package/common/styles/font/_font.scss +99 -0
  70. package/common/styles/utilities/_general.scss +65 -0
  71. package/common/styles/utilities/_pad.scss +36 -0
  72. package/common/styles/utilities/_pull.scss +36 -0
  73. package/common/styles/utilities/_push.scss +36 -0
  74. package/common/styles/utilities/_size.scss +24 -0
  75. package/common/styles/utilities/_text.scss +105 -0
  76. package/common/styles/utilities/_utilities.scss +15 -0
  77. package/covalent-core.d.ts +5 -0
  78. package/dialogs/README.md +223 -0
  79. package/dialogs/_dialog-theme.scss +39 -0
  80. package/dialogs/alert-dialog/alert-dialog.component.d.ts +12 -0
  81. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +15 -0
  82. package/dialogs/covalent-core-dialogs.d.ts +5 -0
  83. package/dialogs/dialog.component.d.ts +22 -0
  84. package/dialogs/dialogs.module.d.ts +19 -0
  85. package/dialogs/package.json +10 -0
  86. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +23 -0
  87. package/dialogs/public_api.d.ts +8 -0
  88. package/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.d.ts +21 -0
  89. package/dialogs/services/dialog.service.d.ts +105 -0
  90. package/dialogs/src/README.md +223 -0
  91. package/dialogs/window-dialog/window-dialog.component.d.ts +16 -0
  92. package/dynamic-menu/README.md +152 -0
  93. package/dynamic-menu/_dynamic-menu-theme.scss +0 -0
  94. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +5 -0
  95. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +12 -0
  96. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +10 -0
  97. package/dynamic-menu/dynamic-menu.component.d.ts +11 -0
  98. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  99. package/dynamic-menu/dynamic-menu.module.d.ts +15 -0
  100. package/dynamic-menu/package.json +10 -0
  101. package/dynamic-menu/public_api.d.ts +5 -0
  102. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
  103. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +134 -0
  104. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
  105. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
  106. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  107. package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
  108. package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
  109. package/esm2020/common/animations/common/interfaces.mjs +2 -0
  110. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
  111. package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
  112. package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
  113. package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
  114. package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
  115. package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
  116. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
  117. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
  118. package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
  119. package/esm2020/common/common.module.mjs +63 -0
  120. package/esm2020/common/covalent-core-common.mjs +5 -0
  121. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
  122. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
  123. package/esm2020/common/forms/validators/validators.mjs +29 -0
  124. package/esm2020/common/functions/clipboard.mjs +23 -0
  125. package/esm2020/common/functions/convert.mjs +84 -0
  126. package/esm2020/common/functions/download.mjs +75 -0
  127. package/esm2020/common/functions/file.mjs +16 -0
  128. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
  129. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
  130. package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
  131. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
  132. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
  133. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
  134. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
  135. package/esm2020/common/public_api.mjs +39 -0
  136. package/esm2020/common/services/icon.service.mjs +1089 -0
  137. package/esm2020/common/services/router-path.service.mjs +29 -0
  138. package/esm2020/covalent-core.mjs +5 -0
  139. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
  140. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
  141. package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
  142. package/esm2020/dialogs/dialog.component.mjs +56 -0
  143. package/esm2020/dialogs/dialogs.module.mjs +89 -0
  144. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
  145. package/esm2020/dialogs/public_api.mjs +9 -0
  146. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
  147. package/esm2020/dialogs/services/dialog.service.mjs +171 -0
  148. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
  149. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
  150. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
  151. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
  152. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
  153. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  154. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
  155. package/esm2020/dynamic-menu/public_api.mjs +6 -0
  156. package/esm2020/file/covalent-core-file.mjs +5 -0
  157. package/esm2020/file/directives/file-drop.directive.mjs +147 -0
  158. package/esm2020/file/directives/file-select.directive.mjs +77 -0
  159. package/esm2020/file/file-input/file-input.component.mjs +110 -0
  160. package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
  161. package/esm2020/file/file.module.mjs +58 -0
  162. package/esm2020/file/public_api.mjs +7 -0
  163. package/esm2020/file/services/file.service.mjs +64 -0
  164. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  165. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
  166. package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
  167. package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
  168. package/esm2020/json-formatter/public_api.mjs +3 -0
  169. package/esm2020/layout/covalent-core-layout.mjs +5 -0
  170. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
  171. package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
  172. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
  173. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
  174. package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
  175. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
  176. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
  177. package/esm2020/layout/layout-toggle.class.mjs +92 -0
  178. package/esm2020/layout/layout.component.mjs +92 -0
  179. package/esm2020/layout/layout.directives.mjs +85 -0
  180. package/esm2020/layout/layout.module.mjs +117 -0
  181. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
  182. package/esm2020/layout/public_api.mjs +13 -0
  183. package/esm2020/menu/covalent-core-menu.mjs +5 -0
  184. package/esm2020/menu/menu.component.mjs +12 -0
  185. package/esm2020/menu/menu.module.mjs +21 -0
  186. package/esm2020/menu/public_api.mjs +3 -0
  187. package/esm2020/message/collapse.animation.mjs +51 -0
  188. package/esm2020/message/covalent-core-message.mjs +5 -0
  189. package/esm2020/message/message.component.mjs +203 -0
  190. package/esm2020/message/message.module.mjs +25 -0
  191. package/esm2020/message/public_api.mjs +3 -0
  192. package/esm2020/public_api.mjs +2 -0
  193. package/esm2020/search/covalent-core-search.mjs +5 -0
  194. package/esm2020/search/public_api.mjs +4 -0
  195. package/esm2020/search/search-box/search-box.component.mjs +194 -0
  196. package/esm2020/search/search-input/search-input.component.mjs +203 -0
  197. package/esm2020/search/search.module.mjs +39 -0
  198. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
  199. package/esm2020/side-sheet/public_api.mjs +6 -0
  200. package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
  201. package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
  202. package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
  203. package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
  204. package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
  205. package/esm2020/side-sheet/side-sheet.mjs +221 -0
  206. package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
  207. package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
  208. package/esm2020/user-profile/public_api.mjs +4 -0
  209. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
  210. package/esm2020/user-profile/user-profile.component.mjs +19 -0
  211. package/esm2020/user-profile/user-profile.module.mjs +44 -0
  212. package/fesm2015/covalent-core-breadcrumbs.mjs +246 -0
  213. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
  214. package/fesm2015/covalent-core-common.mjs +2281 -0
  215. package/fesm2015/covalent-core-common.mjs.map +1 -0
  216. package/fesm2015/covalent-core-dialogs.mjs +639 -0
  217. package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
  218. package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
  219. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
  220. package/fesm2015/covalent-core-file.mjs +613 -0
  221. package/fesm2015/covalent-core-file.mjs.map +1 -0
  222. package/fesm2015/covalent-core-json-formatter.mjs +298 -0
  223. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
  224. package/fesm2015/covalent-core-layout.mjs +1024 -0
  225. package/fesm2015/covalent-core-layout.mjs.map +1 -0
  226. package/fesm2015/covalent-core-menu.mjs +37 -0
  227. package/fesm2015/covalent-core-menu.mjs.map +1 -0
  228. package/fesm2015/covalent-core-message.mjs +284 -0
  229. package/fesm2015/covalent-core-message.mjs.map +1 -0
  230. package/fesm2015/covalent-core-search.mjs +428 -0
  231. package/fesm2015/covalent-core-search.mjs.map +1 -0
  232. package/fesm2015/covalent-core-side-sheet.mjs +762 -0
  233. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
  234. package/fesm2015/covalent-core-user-profile.mjs +86 -0
  235. package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
  236. package/fesm2015/covalent-core.mjs +4 -0
  237. package/fesm2015/covalent-core.mjs.map +1 -0
  238. package/fesm2020/covalent-core-breadcrumbs.mjs +246 -0
  239. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
  240. package/fesm2020/covalent-core-common.mjs +2274 -0
  241. package/fesm2020/covalent-core-common.mjs.map +1 -0
  242. package/fesm2020/covalent-core-dialogs.mjs +634 -0
  243. package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
  244. package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
  245. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
  246. package/fesm2020/covalent-core-file.mjs +607 -0
  247. package/fesm2020/covalent-core-file.mjs.map +1 -0
  248. package/fesm2020/covalent-core-json-formatter.mjs +290 -0
  249. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
  250. package/fesm2020/covalent-core-layout.mjs +1000 -0
  251. package/fesm2020/covalent-core-layout.mjs.map +1 -0
  252. package/fesm2020/covalent-core-menu.mjs +37 -0
  253. package/fesm2020/covalent-core-menu.mjs.map +1 -0
  254. package/fesm2020/covalent-core-message.mjs +282 -0
  255. package/fesm2020/covalent-core-message.mjs.map +1 -0
  256. package/fesm2020/covalent-core-search.mjs +425 -0
  257. package/fesm2020/covalent-core-search.mjs.map +1 -0
  258. package/fesm2020/covalent-core-side-sheet.mjs +757 -0
  259. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
  260. package/fesm2020/covalent-core-user-profile.mjs +86 -0
  261. package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
  262. package/fesm2020/covalent-core.mjs +4 -0
  263. package/fesm2020/covalent-core.mjs.map +1 -0
  264. package/file/_file-theme.scss +27 -0
  265. package/file/covalent-core-file.d.ts +5 -0
  266. package/file/directives/file-drop.directive.d.ts +61 -0
  267. package/file/directives/file-select.directive.d.ts +33 -0
  268. package/file/file-input/file-input.component.d.ts +61 -0
  269. package/file/file-upload/file-upload.component.d.ts +91 -0
  270. package/file/file.module.d.ts +15 -0
  271. package/file/package.json +10 -0
  272. package/file/public_api.d.ts +6 -0
  273. package/file/services/file.service.d.ts +34 -0
  274. package/file/src/file-input/README.md +147 -0
  275. package/file/src/file-upload/README.md +136 -0
  276. package/json-formatter/README.md +50 -0
  277. package/json-formatter/_json-formatter-theme.scss +72 -0
  278. package/json-formatter/collapse.animation.d.ts +24 -0
  279. package/json-formatter/covalent-core-json-formatter.d.ts +5 -0
  280. package/json-formatter/json-formatter.component.d.ts +78 -0
  281. package/json-formatter/json-formatter.module.d.ts +10 -0
  282. package/json-formatter/package.json +10 -0
  283. package/json-formatter/public_api.d.ts +2 -0
  284. package/layout/README.md +138 -0
  285. package/layout/_layout-theme.scss +128 -0
  286. package/layout/covalent-core-layout.d.ts +5 -0
  287. package/layout/layout-card-over/layout-card-over.component.d.ts +31 -0
  288. package/layout/layout-footer/layout-footer.component.d.ts +17 -0
  289. package/layout/layout-manage-list/layout-manage-list.component.d.ts +66 -0
  290. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +25 -0
  291. package/layout/layout-nav/layout-nav.component.d.ts +45 -0
  292. package/layout/layout-nav-list/layout-nav-list.component.d.ts +104 -0
  293. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +25 -0
  294. package/layout/layout-toggle.class.d.ts +40 -0
  295. package/layout/layout.component.d.ts +66 -0
  296. package/layout/layout.directives.d.ts +25 -0
  297. package/layout/layout.module.d.ts +25 -0
  298. package/layout/navigation-drawer/navigation-drawer.component.d.ts +120 -0
  299. package/layout/package.json +10 -0
  300. package/layout/public_api.d.ts +12 -0
  301. package/layout/src/layout-card-over/README.md +43 -0
  302. package/layout/src/layout-manage-list/README.md +80 -0
  303. package/layout/src/layout-nav/README.md +50 -0
  304. package/layout/src/layout-nav-list/README.md +105 -0
  305. package/menu/covalent-core-menu.d.ts +5 -0
  306. package/menu/menu.component.d.ts +5 -0
  307. package/menu/menu.module.d.ts +10 -0
  308. package/menu/package.json +10 -0
  309. package/menu/public_api.d.ts +2 -0
  310. package/message/README.md +67 -0
  311. package/message/_message-theme.scss +44 -0
  312. package/message/collapse.animation.d.ts +24 -0
  313. package/message/covalent-core-message.d.ts +5 -0
  314. package/message/message.component.d.ts +101 -0
  315. package/message/message.module.d.ts +9 -0
  316. package/message/package.json +10 -0
  317. package/message/public_api.d.ts +2 -0
  318. package/package.json +146 -0
  319. package/public_api.d.ts +1 -0
  320. package/search/README.md +132 -0
  321. package/search/covalent-core-search.d.ts +5 -0
  322. package/search/package.json +10 -0
  323. package/search/public_api.d.ts +3 -0
  324. package/search/search-box/search-box.component.d.ts +88 -0
  325. package/search/search-input/search-input.component.d.ts +82 -0
  326. package/search/search.module.d.ts +13 -0
  327. package/search/src/search-box/README.md +73 -0
  328. package/search/src/search-input/README.md +74 -0
  329. package/side-sheet/README.md +64 -0
  330. package/side-sheet/_side-sheet.theme.scss +8 -0
  331. package/side-sheet/covalent-core-side-sheet.d.ts +5 -0
  332. package/side-sheet/package.json +10 -0
  333. package/side-sheet/public_api.d.ts +5 -0
  334. package/side-sheet/side-sheet-container.d.ts +110 -0
  335. package/side-sheet/side-sheet-ref.d.ts +10 -0
  336. package/side-sheet/side-sheet.animation.d.ts +4 -0
  337. package/side-sheet/side-sheet.config.d.ts +3 -0
  338. package/side-sheet/side-sheet.content-directives.d.ts +67 -0
  339. package/side-sheet/side-sheet.d.ts +66 -0
  340. package/side-sheet/side-sheet.module.d.ts +11 -0
  341. package/theming/_all-theme.scss +24 -0
  342. package/typography/_all-typography.scss +39 -0
  343. package/user-profile/README.md +60 -0
  344. package/user-profile/_user-profile-theme.scss +27 -0
  345. package/user-profile/covalent-core-user-profile.d.ts +5 -0
  346. package/user-profile/package.json +10 -0
  347. package/user-profile/public_api.d.ts +3 -0
  348. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +8 -0
  349. package/user-profile/user-profile.component.d.ts +7 -0
  350. package/user-profile/user-profile.module.d.ts +14 -0
@@ -0,0 +1,605 @@
1
+ /* stylelint-disable function-url-quotes, no-duplicate-selectors */
2
+
3
+ /*
4
+ *
5
+ * Responsive attributes
6
+ *
7
+ * References:
8
+ * 1) https://scotch.io/tutorials/a-visual-guide-to-css3-flexbox-properties#flex
9
+ * 2) https://css-tricks.com/almanac/properties/f/flex/
10
+ * 3) https://css-tricks.com/snippets/css/a-guide-to-flexbox/
11
+ * 4) https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
12
+ * 5) http://godban.com.ua/projects/flexgrid
13
+ *
14
+ */
15
+
16
+ // Layout
17
+ // ------------------------------
18
+
19
+ $baseline-grid: 8px !default;
20
+ $layout-gutter-width: ($baseline-grid * 2) !default;
21
+
22
+ $layout-breakpoint-xs: 600px !default;
23
+ $layout-breakpoint-sm: 960px !default;
24
+ $layout-breakpoint-md: 1280px !default;
25
+ $layout-breakpoint-lg: 1920px !default;
26
+
27
+ @-moz-document url-prefix() {
28
+ [layout-fill] {
29
+ margin: 0;
30
+ width: 100%;
31
+ min-height: 100%;
32
+ height: 100%;
33
+ }
34
+ }
35
+
36
+ @mixin flex-order-for-name($sizes: null) {
37
+ @if $sizes == null {
38
+ $sizes: '';
39
+
40
+ [flex-order] {
41
+ order: 0;
42
+ }
43
+ }
44
+
45
+ @for $i from -20 through 20 {
46
+ $order: '';
47
+ $suffix: '';
48
+
49
+ @each $s in $sizes {
50
+ @if $s != '' {
51
+ $suffix: '-#{$s}="#{$i}"';
52
+ } @else {
53
+ $suffix: '="#{$i}"';
54
+ }
55
+
56
+ $order: '[flex-order#{$suffix}]';
57
+ }
58
+
59
+ #{$order} {
60
+ order: #{$i};
61
+ }
62
+ }
63
+ }
64
+
65
+ @mixin offset-for-name($sizes: null) {
66
+ @if $sizes == null {
67
+ $sizes: '';
68
+ }
69
+
70
+ @for $i from 0 through 19 {
71
+ $offsets: '';
72
+ $suffix: '';
73
+
74
+ @each $s in $sizes {
75
+ @if $s != '' {
76
+ $suffix: '-#{$s}="#{$i * 5}"';
77
+ } @else {
78
+ $suffix: '="#{$i * 5}"';
79
+ }
80
+
81
+ $offsets: $offsets + '[flex-offset#{$suffix}], ';
82
+ }
83
+
84
+ #{$offsets} {
85
+ margin-left: #{$i * 5 + '%'};
86
+ }
87
+ }
88
+
89
+ @each $i in 33 {
90
+ $offsets: '';
91
+ $suffix: '';
92
+
93
+ @each $s in $sizes {
94
+ @if $s != '' {
95
+ $suffix: '-#{$s}="#{$i}"';
96
+ } @else {
97
+ $suffix: '="#{$i}"';
98
+ }
99
+
100
+ $offsets: '[flex-offset#{$suffix}], ';
101
+ }
102
+
103
+ #{$offsets} {
104
+ margin-left: calc(100% / 3);
105
+ }
106
+ }
107
+
108
+ @each $i in 66 {
109
+ $offsets: '';
110
+ $suffix: '';
111
+
112
+ @each $s in $sizes {
113
+ @if $s != '' {
114
+ $suffix: '-#{$s}="#{$i}"';
115
+ } @else {
116
+ $suffix: '="#{$i}"';
117
+ }
118
+
119
+ $offsets: '[flex-offset#{$suffix}]';
120
+ }
121
+
122
+ #{$offsets} {
123
+ margin-left: calc(200% / 3);
124
+ }
125
+ }
126
+ }
127
+
128
+ @mixin layout-for-name($name: null) {
129
+ @if $name == null {
130
+ $name: '';
131
+ }
132
+ @if $name != '' {
133
+ $name: '-#{$name}';
134
+ }
135
+
136
+ [layout#{$name}],
137
+ [layout#{$name}='column'],
138
+ [layout#{$name}='row'] {
139
+ box-sizing: border-box;
140
+ display: flex;
141
+ }
142
+ [layout#{$name}='column'] {
143
+ flex-direction: column;
144
+ }
145
+ [layout#{$name}='row'] {
146
+ flex-direction: row;
147
+ }
148
+ }
149
+
150
+ @mixin flex-properties-for-name($name: null) {
151
+ $flexName: 'flex';
152
+ @if $name != null {
153
+ $flexName: 'flex-#{$name}';
154
+ $name: '-#{$name}';
155
+ } @else {
156
+ $name: '';
157
+ }
158
+
159
+ [#{$flexName}] {
160
+ flex: 1;
161
+ box-sizing: border-box;
162
+ }
163
+ // === flex: 1 1 0%;
164
+
165
+ // IE mediaQuery hack for 8,9,10 to set the flex-basis properly for 'flex' values
166
+ // Details:
167
+ // Do not use unitless flex-basis values in the flex shorthand because IE 10-11 will error.
168
+ // Also use 0% instead of 0px since minifiers will often convert 0px to 0 (which is unitless and will have the same problem).
169
+ // Safari, however, fails with flex-basis : 0% and requires flex-basis : 0px
170
+ @media screen\0 {
171
+ [#{$flexName}] {
172
+ flex: 1 1 0%;
173
+ }
174
+ }
175
+
176
+ [#{$flexName}='grow'],
177
+ [#{$flexName}-grow] {
178
+ flex: 1 1 100%;
179
+ box-sizing: border-box;
180
+ }
181
+ [#{$flexName}='initial'],
182
+ [#{$flexName}-initial] {
183
+ flex: 0 1 auto;
184
+ box-sizing: border-box;
185
+ }
186
+ [#{$flexName}='auto'],
187
+ [#{$flexName}-auto] {
188
+ flex: 1 1 auto;
189
+ box-sizing: border-box;
190
+ }
191
+ [#{$flexName}='none'],
192
+ [#{$flexName}-none] {
193
+ flex: 0 0 auto;
194
+ box-sizing: border-box;
195
+ }
196
+ [#{$flexName}='noshrink'],
197
+ [#{$flexName}-noshrink] {
198
+ flex: 1 0 auto;
199
+ box-sizing: border-box;
200
+ }
201
+ [#{$flexName}='nogrow'],
202
+ [#{$flexName}-nogrow] {
203
+ flex: 0 1 auto;
204
+ box-sizing: border-box;
205
+ }
206
+
207
+ // (1-20) * 5 = 0-100%
208
+ @for $i from 0 through 20 {
209
+ $value: #{$i * 5 + '%'};
210
+
211
+ [#{$flexName}='#{$i * 5}'] {
212
+ flex: 1 1 #{$value};
213
+ max-width: #{$value};
214
+ max-height: 100%;
215
+ box-sizing: border-box;
216
+ }
217
+
218
+ [layout='row'] > [#{$flexName}='#{$i * 5}'],
219
+ [layout#{$name}='row'] > [#{$flexName}='#{$i * 5}'] {
220
+ flex: 1 1 #{$value};
221
+ max-width: #{$value};
222
+ max-height: 100%;
223
+ box-sizing: border-box;
224
+ }
225
+
226
+ [layout='column'] > [#{$flexName}='#{$i * 5}'],
227
+ [layout#{$name}='column'] > [#{$flexName}='#{$i * 5}'] {
228
+ flex: 1 1 #{$value};
229
+ max-width: 100%;
230
+ max-height: #{$value};
231
+ box-sizing: border-box;
232
+ }
233
+ }
234
+
235
+ [layout='row'],
236
+ [layout#{$name}='row'] {
237
+ > [#{$flexName}='33'],
238
+ > [#{$flexName}='33'] {
239
+ flex: 1 1 33%;
240
+ max-width: calc(100% / 3);
241
+ max-height: 100%;
242
+ box-sizing: border-box;
243
+ }
244
+ > [#{$flexName}='34'],
245
+ > [#{$flexName}='34'] {
246
+ flex: 1 1 34%;
247
+ max-width: 34%;
248
+ max-height: 100%;
249
+ box-sizing: border-box;
250
+ }
251
+ > [#{$flexName}='66'],
252
+ > [#{$flexName}='66'] {
253
+ flex: 1 1 66%;
254
+ max-width: calc(200% / 3);
255
+ max-height: 100%;
256
+ box-sizing: border-box;
257
+ }
258
+ > [#{$flexName}='67'],
259
+ > [#{$flexName}='67'] {
260
+ flex: 1 1 67%;
261
+ max-width: 67%;
262
+ max-height: 100%;
263
+ box-sizing: border-box;
264
+ }
265
+ }
266
+ [layout='column'],
267
+ [layout#{$name}='column'] {
268
+ > [#{$flexName}='33'],
269
+ > [#{$flexName}='33'] {
270
+ flex: 1 1 33%;
271
+ max-width: 100%;
272
+ max-height: calc(100% / 3);
273
+ box-sizing: border-box;
274
+ }
275
+ > [#{$flexName}='34'],
276
+ > [#{$flexName}='34'] {
277
+ flex: 1 1 34%;
278
+ max-width: 100%;
279
+ max-height: 34%;
280
+ box-sizing: border-box;
281
+ }
282
+ > [#{$flexName}='66'],
283
+ > [#{$flexName}='66'] {
284
+ flex: 1 1 66%;
285
+ max-width: 100%;
286
+ max-height: calc(200% / 3);
287
+ box-sizing: border-box;
288
+ }
289
+ > [#{$flexName}='67'],
290
+ > [#{$flexName}='67'] {
291
+ flex: 1 1 67%;
292
+ max-width: 100%;
293
+ max-height: 67%;
294
+ box-sizing: border-box;
295
+ }
296
+ }
297
+ }
298
+
299
+ @mixin layout-align-for-name($suffix: null) {
300
+ // Alignment attributes for layout containers' children
301
+ // Arrange on the Main Axis
302
+ // center, start, end, space-between, space-around
303
+ // flex-start is the default for justify-content
304
+ // ------------------------------
305
+
306
+ $name: 'layout-align';
307
+ @if $suffix != null {
308
+ $name: 'layout-align-#{$suffix}';
309
+ }
310
+
311
+ [#{$name}],
312
+ [#{$name}="start stretch"] // defaults
313
+ {
314
+ justify-content: flex-start;
315
+ align-content: stretch;
316
+ align-items: stretch;
317
+ }
318
+ // Main Axis Center
319
+ [#{$name}='start'],
320
+ [#{$name}='start start'],
321
+ [#{$name}='start center'],
322
+ [#{$name}='start end'],
323
+ [#{$name}='start stretch'] {
324
+ justify-content: flex-start;
325
+ }
326
+
327
+ // Main Axis Center
328
+ [#{$name}='center'],
329
+ [#{$name}='center start'],
330
+ [#{$name}='center center'],
331
+ [#{$name}='center end'],
332
+ [#{$name}='center stretch'] {
333
+ justify-content: center;
334
+ }
335
+
336
+ // Main Axis End
337
+ [#{$name}="end"], //stretch
338
+ [#{$name}="end center"],
339
+ [#{$name}="end start"],
340
+ [#{$name}="end end"],
341
+ [#{$name}="end stretch"] {
342
+ justify-content: flex-end;
343
+ }
344
+
345
+ // Main Axis Space Around
346
+ [#{$name}="space-around"], //stretch
347
+ [#{$name}="space-around center"],
348
+ [#{$name}="space-around start"],
349
+ [#{$name}="space-around end"],
350
+ [#{$name}="space-around stretch"] {
351
+ justify-content: space-around;
352
+ }
353
+
354
+ // Main Axis Space Between
355
+ [#{$name}="space-between"], //stretch
356
+ [#{$name}="space-between center"],
357
+ [#{$name}="space-between start"],
358
+ [#{$name}="space-between end"],
359
+ [#{$name}="space-between stretch"] {
360
+ justify-content: space-between;
361
+ }
362
+
363
+ // Arrange on the Cross Axis
364
+ // center, start, end
365
+ // stretch is the default for align-items
366
+ // ------------------------------
367
+
368
+ // Cross Axis Start
369
+ [#{$name}='start start'],
370
+ [#{$name}='center start'],
371
+ [#{$name}='end start'],
372
+ [#{$name}='space-between start'],
373
+ [#{$name}='space-around start'] {
374
+ align-items: flex-start;
375
+ align-content: flex-start;
376
+ }
377
+
378
+ // Cross Axis Center
379
+ [#{$name}='start center'],
380
+ [#{$name}='center center'],
381
+ [#{$name}='end center'],
382
+ [#{$name}='space-between center'],
383
+ [#{$name}='space-around center'] {
384
+ align-items: center;
385
+ align-content: center;
386
+ max-width: 100%;
387
+
388
+ // IE11 overflow https://github.com/philipwalton/flexbugs#2-column-flex-items-set-to-align-itemscenter-overflow-their-container
389
+ & > * {
390
+ max-width: 100%;
391
+ box-sizing: border-box;
392
+ }
393
+ }
394
+
395
+ // Cross Axis Center IE overflow fix
396
+ [#{$name}='start center'] > *,
397
+ [#{$name}='center center'] > *,
398
+ [#{$name}='end center'] > *,
399
+ [#{$name}='space-between center'] > *,
400
+ [#{$name}='space-around center'] > * {
401
+ max-width: 100%;
402
+ box-sizing: border-box;
403
+ }
404
+
405
+ // Cross Axis End
406
+ [#{$name}='start end'],
407
+ [#{$name}='center end'],
408
+ [#{$name}='end end'],
409
+ [#{$name}='space-between end'],
410
+ [#{$name}='space-around end'] {
411
+ align-items: flex-end;
412
+ align-content: flex-end;
413
+ }
414
+
415
+ // Cross Axis stretch
416
+ [#{$name}='start stretch'],
417
+ [#{$name}='center stretch'],
418
+ [#{$name}='end stretch'],
419
+ [#{$name}='space-between stretch'],
420
+ [#{$name}='space-around stretch'] {
421
+ align-items: stretch;
422
+ align-content: stretch;
423
+ }
424
+ }
425
+
426
+ @mixin layout-padding-margin() {
427
+ [layout-padding] > [flex-sm],
428
+ [layout-padding] > [flex-lt-md] {
429
+ padding: calc($layout-gutter-width / 4);
430
+ }
431
+
432
+ [layout-padding],
433
+ [layout-padding] > [flex],
434
+ [layout-padding] > [flex-gt-sm],
435
+ [layout-padding] > [flex-md],
436
+ [layout-padding] > [flex-lt-lg] {
437
+ padding: calc($layout-gutter-width / 2);
438
+ }
439
+
440
+ [layout-padding] > [flex-gt-md],
441
+ [layout-padding] > [flex-lg] {
442
+ padding: calc($layout-gutter-width / 1);
443
+ }
444
+
445
+ [layout-margin] > [flex-sm],
446
+ [layout-margin] > [flex-lt-md] {
447
+ margin: calc($layout-gutter-width / 4);
448
+ }
449
+
450
+ [layout-margin],
451
+ [layout-margin] > [flex],
452
+ [layout-margin] > [flex-gt-sm],
453
+ [layout-margin] > [flex-md],
454
+ [layout-margin] > [flex-lt-lg] {
455
+ margin: calc($layout-gutter-width / 2);
456
+ }
457
+
458
+ [layout-margin] > [flex-gt-md],
459
+ [layout-margin] > [flex-lg] {
460
+ margin: calc($layout-gutter-width / 1);
461
+ }
462
+
463
+ [layout-wrap] {
464
+ flex-wrap: wrap;
465
+ }
466
+
467
+ [layout-nowrap] {
468
+ flex-wrap: nowrap;
469
+ }
470
+
471
+ [layout-fill] {
472
+ margin: 0;
473
+ width: 100%;
474
+ min-height: 100%;
475
+ height: 100%;
476
+ }
477
+ }
478
+
479
+ @mixin layouts_for_breakpoint($name: null) {
480
+ @include flex-order-for-name($name);
481
+ @include offset-for-name($name);
482
+ @include layout-align-for-name($name);
483
+
484
+ @include flex-properties-for-name($name);
485
+ @include layout-for-name($name);
486
+ }
487
+
488
+ @mixin covalent-layout() {
489
+ /*
490
+ * Apply Mixins to create Layout/Flexbox styles
491
+ *
492
+ */
493
+
494
+ @include layouts_for_breakpoint();
495
+ @include layout-padding-margin();
496
+
497
+ /**
498
+ * `hide-gt-sm show-gt-lg` should hide from 600px to 1200px
499
+ * `show-md hide-gt-sm` should show from 0px to 960px and hide at >960px
500
+ * `hide-gt-md show-gt-sm` should show everywhere (show overrides hide)`
501
+ *
502
+ * hide means hide everywhere
503
+ * Sizes:
504
+ * $layout-breakpoint-xs: 600px !default;
505
+ * $layout-breakpoint-sm: 960px !default;
506
+ * $layout-breakpoint-md: 1280px !default;
507
+ * $layout-breakpoint-lg: 1920px !default;
508
+ */
509
+
510
+ @media (max-width: $layout-breakpoint-xs - 1) {
511
+ // Xtra-SMALL SCREEN
512
+ [hide-xs],
513
+ [hide] {
514
+ &:not([show-xs]):not([show]) {
515
+ display: none;
516
+ }
517
+ }
518
+ @include layouts_for_breakpoint(xs);
519
+ }
520
+
521
+ @media (min-width: $layout-breakpoint-xs) {
522
+ // BIGGER THAN Xtra-SMALL SCREEN
523
+ @include layouts_for_breakpoint(gt-xs);
524
+ }
525
+
526
+ @media (min-width: $layout-breakpoint-xs) and (max-width: $layout-breakpoint-sm - 1) {
527
+ // SMALL SCREEN
528
+ [hide-sm],
529
+ [hide-gt-xs] {
530
+ &:not([show-gt-xs]):not([show-sm]):not([show]) {
531
+ display: none;
532
+ }
533
+ }
534
+
535
+ [hide-sm]:not([show-sm]):not([show]) {
536
+ display: none;
537
+ }
538
+ @include layouts_for_breakpoint(sm);
539
+ }
540
+
541
+ @media (min-width: $layout-breakpoint-sm) {
542
+ // BIGGER THAN SMALL SCREEN
543
+ @include layouts_for_breakpoint(gt-sm);
544
+ }
545
+
546
+ @media (min-width: $layout-breakpoint-sm) and (max-width: $layout-breakpoint-md - 1) {
547
+ // MEDIUM SCREEN
548
+ [hide],
549
+ [hide-gt-xs],
550
+ [hide-gt-sm] {
551
+ &:not([show-gt-xs]):not([show-gt-sm]):not([show-md]):not([show]) {
552
+ display: none;
553
+ }
554
+ }
555
+
556
+ [hide-md]:not([show-md]):not([show]) {
557
+ display: none;
558
+ }
559
+ @include layouts_for_breakpoint(md);
560
+ }
561
+
562
+ @media (min-width: $layout-breakpoint-md) {
563
+ // BIGGER THAN MEDIUM SCREEN
564
+ @include layouts_for_breakpoint(gt-md);
565
+ }
566
+
567
+ @media (min-width: $layout-breakpoint-md) and (max-width: $layout-breakpoint-lg - 1) {
568
+ // LARGE SCREEN
569
+ [hide],
570
+ [hide-gt-xs],
571
+ [hide-gt-sm],
572
+ [hide-gt-md] {
573
+ &:not([show-gt-xs]):not([show-gt-sm]):not([show-gt-md]):not([show-lg]):not([show]) {
574
+ display: none;
575
+ }
576
+ }
577
+
578
+ [hide-lg]:not([show-lg]):not([show]) {
579
+ display: none;
580
+ }
581
+
582
+ @include layouts_for_breakpoint(lg);
583
+ }
584
+
585
+ @media (min-width: $layout-breakpoint-lg) {
586
+ // BIGGER THAN LARGE SCREEN
587
+ @include layouts_for_breakpoint(gt-lg);
588
+ @include layouts_for_breakpoint(xl);
589
+
590
+ // BIGGER THAN LARGE SCREEN
591
+ [hide],
592
+ [hide-gt-xs],
593
+ [hide-gt-sm],
594
+ [hide-gt-md],
595
+ [hide-gt-lg] {
596
+ &:not([show-gt-xs]):not([show-gt-sm]):not([show-gt-md]):not([show-gt-lg]):not([show-xl]):not([show]) {
597
+ display: none;
598
+ }
599
+ }
600
+
601
+ [hide-xl]:not([show-xl]):not([show-gt-lg]):not([show]) {
602
+ display: none;
603
+ }
604
+ }
605
+ }