@covalent/core 4.0.0-beta.2 → 4.1.1-next.1

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 (369) hide show
  1. package/README.md +4 -38
  2. package/breadcrumbs/README.md +21 -17
  3. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +3 -1
  4. package/breadcrumbs/breadcrumbs.component.d.ts +1 -0
  5. package/breadcrumbs/covalent-core-breadcrumbs.d.ts +1 -1
  6. package/breadcrumbs/{public-api.d.ts → public_api.d.ts} +0 -0
  7. package/common/README.md +3 -0
  8. package/common/_common-theme.scss +1 -1
  9. package/common/behaviors/disable-ripple.mixin.d.ts +1 -1
  10. package/common/behaviors/disabled.mixin.d.ts +1 -1
  11. package/common/covalent-core-common.d.ts +1 -1
  12. package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
  13. package/common/{public-api.d.ts → public_api.d.ts} +0 -0
  14. package/common/styles/font/README.md +4 -2
  15. package/covalent-core.d.ts +1 -1
  16. package/dialogs/README.md +38 -30
  17. package/dialogs/alert-dialog/alert-dialog.component.d.ts +3 -3
  18. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +2 -2
  19. package/dialogs/covalent-core-dialogs.d.ts +1 -1
  20. package/dialogs/dialog.component.d.ts +4 -4
  21. package/dialogs/dialogs.module.d.ts +1 -1
  22. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +3 -3
  23. package/dialogs/{public-api.d.ts → public_api.d.ts} +0 -0
  24. package/dialogs/src/README.md +223 -0
  25. package/dialogs/window-dialog/window-dialog.component.d.ts +5 -5
  26. package/dynamic-menu/README.md +6 -6
  27. package/dynamic-menu/covalent-core-dynamic-menu.d.ts +1 -1
  28. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
  29. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
  30. package/dynamic-menu/dynamic-menu.component.d.ts +1 -22
  31. package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
  32. package/dynamic-menu/public_api.d.ts +1 -0
  33. package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +21 -37
  34. package/esm2020/breadcrumbs/breadcrumbs.component.mjs +20 -25
  35. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +12 -13
  36. package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +2 -2
  37. package/esm2020/breadcrumbs/public_api.mjs +4 -0
  38. package/esm2020/common/animations/bounce/bounce.animation.mjs +1 -1
  39. package/esm2020/common/animations/collapse/collapse.animation.mjs +1 -1
  40. package/esm2020/common/animations/common/interfaces.mjs +1 -1
  41. package/esm2020/common/animations/fade/fadeInOut.animation.mjs +1 -1
  42. package/esm2020/common/animations/flash/flash.animation.mjs +1 -1
  43. package/esm2020/common/animations/headshake/headshake.animation.mjs +17 -5
  44. package/esm2020/common/animations/jello/jello.animation.mjs +29 -8
  45. package/esm2020/common/animations/pulse/pulse.animation.mjs +1 -1
  46. package/esm2020/common/animations/rotate/rotate.animation.mjs +7 -2
  47. package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +4 -2
  48. package/esm2020/common/behaviors/disable-ripple.mixin.mjs +1 -1
  49. package/esm2020/common/behaviors/disabled.mixin.mjs +1 -1
  50. package/esm2020/common/common.module.mjs +14 -15
  51. package/esm2020/common/covalent-core-common.mjs +2 -2
  52. package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +41 -41
  53. package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +19 -19
  54. package/esm2020/common/forms/validators/validators.mjs +6 -6
  55. package/esm2020/common/functions/clipboard.mjs +1 -1
  56. package/esm2020/common/functions/convert.mjs +1 -1
  57. package/esm2020/common/functions/download.mjs +1 -1
  58. package/esm2020/common/functions/file.mjs +1 -1
  59. package/esm2020/common/pipes/bytes/bytes.pipe.mjs +21 -11
  60. package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +21 -11
  61. package/esm2020/common/pipes/digits/digits.pipe.mjs +13 -13
  62. package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +9 -9
  63. package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +9 -9
  64. package/esm2020/common/pipes/time-until/time-until.pipe.mjs +9 -9
  65. package/esm2020/common/pipes/truncate/truncate.pipe.mjs +10 -10
  66. package/esm2020/common/public_api.mjs +39 -0
  67. package/esm2020/common/services/icon.service.mjs +6 -6
  68. package/esm2020/common/services/router-path.service.mjs +6 -6
  69. package/esm2020/covalent-core.mjs +2 -2
  70. package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +9 -40
  71. package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +9 -49
  72. package/esm2020/dialogs/covalent-core-dialogs.mjs +2 -2
  73. package/esm2020/dialogs/dialog.component.mjs +35 -76
  74. package/esm2020/dialogs/dialogs.module.mjs +39 -36
  75. package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +15 -73
  76. package/esm2020/dialogs/public_api.mjs +9 -0
  77. package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +27 -10
  78. package/esm2020/dialogs/services/dialog.service.mjs +16 -13
  79. package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +24 -55
  80. package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +2 -2
  81. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +19 -136
  82. package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +14 -103
  83. package/esm2020/dynamic-menu/dynamic-menu.component.mjs +18 -101
  84. package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
  85. package/esm2020/dynamic-menu/dynamic-menu.module.mjs +44 -19
  86. package/esm2020/dynamic-menu/public_api.mjs +2 -1
  87. package/esm2020/file/covalent-core-file.mjs +2 -2
  88. package/esm2020/file/directives/file-drop.directive.mjs +46 -47
  89. package/esm2020/file/directives/file-select.directive.mjs +32 -31
  90. package/esm2020/file/file-input/file-input.component.mjs +67 -72
  91. package/esm2020/file/file-upload/file-upload.component.mjs +76 -112
  92. package/esm2020/file/file.module.mjs +32 -17
  93. package/esm2020/file/public_api.mjs +7 -0
  94. package/esm2020/file/services/file.service.mjs +13 -11
  95. package/esm2020/json-formatter/collapse.animation.mjs +51 -0
  96. package/esm2020/json-formatter/covalent-core-json-formatter.mjs +2 -2
  97. package/esm2020/json-formatter/json-formatter.component.mjs +38 -123
  98. package/esm2020/json-formatter/json-formatter.module.mjs +12 -13
  99. package/esm2020/json-formatter/public_api.mjs +3 -0
  100. package/esm2020/layout/covalent-core-layout.mjs +2 -2
  101. package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +17 -64
  102. package/esm2020/layout/layout-footer/layout-footer.component.mjs +9 -14
  103. package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +18 -47
  104. package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +47 -53
  105. package/esm2020/layout/layout-nav/layout-nav.component.mjs +22 -84
  106. package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +33 -120
  107. package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +47 -53
  108. package/esm2020/layout/layout-toggle.class.mjs +13 -15
  109. package/esm2020/layout/layout.component.mjs +18 -39
  110. package/esm2020/layout/layout.directives.mjs +48 -50
  111. package/esm2020/layout/layout.module.mjs +34 -35
  112. package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +56 -201
  113. package/esm2020/layout/public_api.mjs +13 -0
  114. package/esm2020/menu/covalent-core-menu.mjs +2 -2
  115. package/esm2020/menu/menu.component.mjs +7 -18
  116. package/esm2020/menu/menu.module.mjs +12 -13
  117. package/esm2020/menu/public_api.mjs +3 -0
  118. package/esm2020/message/collapse.animation.mjs +51 -0
  119. package/esm2020/message/covalent-core-message.mjs +2 -2
  120. package/esm2020/message/message.component.mjs +44 -102
  121. package/esm2020/message/message.module.mjs +19 -15
  122. package/esm2020/message/public_api.mjs +3 -0
  123. package/esm2020/public_api.mjs +2 -0
  124. package/esm2020/search/covalent-core-search.mjs +2 -2
  125. package/esm2020/search/public_api.mjs +4 -0
  126. package/esm2020/search/search-box/search-box.component.mjs +97 -123
  127. package/esm2020/search/search-input/search-input.component.mjs +116 -153
  128. package/esm2020/search/search.module.mjs +28 -13
  129. package/esm2020/side-sheet/covalent-core-side-sheet.mjs +2 -2
  130. package/esm2020/side-sheet/public_api.mjs +6 -0
  131. package/esm2020/side-sheet/side-sheet-container.mjs +89 -57
  132. package/esm2020/side-sheet/side-sheet-ref.mjs +2 -2
  133. package/esm2020/side-sheet/side-sheet.animation.mjs +2 -2
  134. package/esm2020/side-sheet/side-sheet.config.mjs +1 -1
  135. package/esm2020/side-sheet/side-sheet.content-directives.mjs +109 -86
  136. package/esm2020/side-sheet/side-sheet.mjs +44 -31
  137. package/esm2020/side-sheet/side-sheet.module.mjs +37 -38
  138. package/esm2020/user-profile/covalent-core-user-profile.mjs +2 -2
  139. package/esm2020/user-profile/public_api.mjs +1 -1
  140. package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +13 -64
  141. package/esm2020/user-profile/user-profile.component.mjs +13 -35
  142. package/esm2020/user-profile/user-profile.module.mjs +32 -14
  143. package/fesm2015/covalent-core-breadcrumbs.mjs +35 -76
  144. package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -1
  145. package/fesm2015/covalent-core-common.mjs +170 -140
  146. package/fesm2015/covalent-core-common.mjs.map +1 -1
  147. package/fesm2015/covalent-core-dialogs.mjs +125 -358
  148. package/fesm2015/covalent-core-dialogs.mjs.map +1 -1
  149. package/fesm2015/covalent-core-dynamic-menu.mjs +73 -425
  150. package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -1
  151. package/fesm2015/covalent-core-file.mjs +175 -237
  152. package/fesm2015/covalent-core-file.mjs.map +1 -1
  153. package/fesm2015/covalent-core-json-formatter.mjs +93 -148
  154. package/fesm2015/covalent-core-json-formatter.mjs.map +1 -1
  155. package/fesm2015/covalent-core-layout.mjs +183 -735
  156. package/fesm2015/covalent-core-layout.mjs.map +1 -1
  157. package/fesm2015/covalent-core-menu.mjs +10 -28
  158. package/fesm2015/covalent-core-menu.mjs.map +1 -1
  159. package/fesm2015/covalent-core-message.mjs +79 -104
  160. package/fesm2015/covalent-core-message.mjs.map +1 -1
  161. package/fesm2015/covalent-core-search.mjs +147 -227
  162. package/fesm2015/covalent-core-search.mjs.map +1 -1
  163. package/fesm2015/covalent-core-side-sheet.mjs +202 -173
  164. package/fesm2015/covalent-core-side-sheet.mjs.map +1 -1
  165. package/fesm2015/covalent-core-user-profile.mjs +38 -114
  166. package/fesm2015/covalent-core-user-profile.mjs.map +1 -1
  167. package/fesm2015/covalent-core.mjs.map +1 -1
  168. package/fesm2020/covalent-core-breadcrumbs.mjs +49 -71
  169. package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -1
  170. package/fesm2020/covalent-core-common.mjs +224 -165
  171. package/fesm2020/covalent-core-common.mjs.map +1 -1
  172. package/fesm2020/covalent-core-dialogs.mjs +160 -338
  173. package/fesm2020/covalent-core-dialogs.mjs.map +1 -1
  174. package/fesm2020/covalent-core-dynamic-menu.mjs +89 -354
  175. package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -1
  176. package/fesm2020/covalent-core-file.mjs +255 -277
  177. package/fesm2020/covalent-core-file.mjs.map +1 -1
  178. package/fesm2020/covalent-core-json-formatter.mjs +97 -133
  179. package/fesm2020/covalent-core-json-formatter.mjs.map +1 -1
  180. package/fesm2020/covalent-core-layout.mjs +342 -755
  181. package/fesm2020/covalent-core-layout.mjs.map +1 -1
  182. package/fesm2020/covalent-core-menu.mjs +17 -29
  183. package/fesm2020/covalent-core-menu.mjs.map +1 -1
  184. package/fesm2020/covalent-core-message.mjs +110 -114
  185. package/fesm2020/covalent-core-message.mjs.map +1 -1
  186. package/fesm2020/covalent-core-search.mjs +233 -281
  187. package/fesm2020/covalent-core-search.mjs.map +1 -1
  188. package/fesm2020/covalent-core-side-sheet.mjs +267 -200
  189. package/fesm2020/covalent-core-side-sheet.mjs.map +1 -1
  190. package/fesm2020/covalent-core-user-profile.mjs +54 -109
  191. package/fesm2020/covalent-core-user-profile.mjs.map +1 -1
  192. package/fesm2020/covalent-core.mjs.map +1 -1
  193. package/file/_file-theme.scss +2 -1
  194. package/file/covalent-core-file.d.ts +1 -1
  195. package/file/directives/file-drop.directive.d.ts +6 -7
  196. package/file/directives/file-select.directive.d.ts +2 -2
  197. package/file/file-input/file-input.component.d.ts +19 -12
  198. package/file/file-upload/file-upload.component.d.ts +16 -9
  199. package/file/{public-api.d.ts → public_api.d.ts} +0 -0
  200. package/file/{file-input → src/file-input}/README.md +46 -37
  201. package/file/{file-upload → src/file-upload}/README.md +36 -27
  202. package/json-formatter/README.md +8 -8
  203. package/json-formatter/collapse.animation.d.ts +24 -0
  204. package/json-formatter/covalent-core-json-formatter.d.ts +1 -1
  205. package/json-formatter/json-formatter.component.d.ts +4 -4
  206. package/json-formatter/{public-api.d.ts → public_api.d.ts} +0 -0
  207. package/layout/README.md +48 -50
  208. package/layout/covalent-core-layout.d.ts +1 -1
  209. package/layout/layout-card-over/layout-card-over.component.d.ts +3 -3
  210. package/layout/layout-footer/layout-footer.component.d.ts +3 -3
  211. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +5 -5
  212. package/layout/layout-nav/layout-nav.component.d.ts +5 -5
  213. package/layout/layout-nav-list/layout-nav-list.component.d.ts +5 -5
  214. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +5 -5
  215. package/layout/layout-toggle.class.d.ts +1 -1
  216. package/layout/layout.directives.d.ts +2 -2
  217. package/layout/navigation-drawer/navigation-drawer.component.d.ts +12 -12
  218. package/layout/{public-api.d.ts → public_api.d.ts} +0 -0
  219. package/layout/{layout-card-over → src/layout-card-over}/README.md +19 -17
  220. package/layout/{layout-manage-list → src/layout-manage-list}/README.md +24 -28
  221. package/layout/src/layout-nav/README.md +50 -0
  222. package/layout/{layout-nav-list → src/layout-nav-list}/README.md +44 -40
  223. package/menu/covalent-core-menu.d.ts +1 -1
  224. package/menu/{public-api.d.ts → public_api.d.ts} +0 -0
  225. package/message/README.md +26 -18
  226. package/message/collapse.animation.d.ts +24 -0
  227. package/message/covalent-core-message.d.ts +1 -1
  228. package/message/message.component.d.ts +4 -4
  229. package/message/{public-api.d.ts → public_api.d.ts} +0 -0
  230. package/package.json +25 -54
  231. package/{index.d.ts → public_api.d.ts} +0 -0
  232. package/search/README.md +74 -73
  233. package/search/covalent-core-search.d.ts +1 -1
  234. package/search/{public-api.d.ts → public_api.d.ts} +0 -0
  235. package/search/search-box/search-box.component.d.ts +10 -6
  236. package/search/search-input/search-input.component.d.ts +10 -6
  237. package/search/src/search-box/README.md +73 -0
  238. package/search/src/search-input/README.md +74 -0
  239. package/side-sheet/README.md +3 -5
  240. package/side-sheet/{side-sheet.theme.scss → _side-sheet.theme.scss} +0 -0
  241. package/side-sheet/covalent-core-side-sheet.d.ts +1 -1
  242. package/side-sheet/{public-api.d.ts → public_api.d.ts} +0 -0
  243. package/side-sheet/side-sheet-container.d.ts +18 -7
  244. package/side-sheet/side-sheet.content-directives.d.ts +22 -16
  245. package/side-sheet/side-sheet.d.ts +2 -2
  246. package/side-sheet/side-sheet.module.d.ts +1 -1
  247. package/user-profile/README.md +5 -5
  248. package/user-profile/covalent-core-user-profile.d.ts +1 -1
  249. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +2 -2
  250. package/user-profile/user-profile.component.d.ts +2 -2
  251. package/breadcrumbs/breadcrumb/breadcrumb.component.scss +0 -25
  252. package/breadcrumbs/breadcrumbs.component.scss +0 -8
  253. package/breadcrumbs/index.d.ts +0 -1
  254. package/common/index.d.ts +0 -1
  255. package/common/material-icons.css +0 -111
  256. package/common/material-icons.css.map +0 -1
  257. package/common/material-icons.scss +0 -3
  258. package/common/platform.css +0 -16819
  259. package/common/platform.css.map +0 -1
  260. package/common/platform.scss +0 -7
  261. package/common/styles/_elevation.scss +0 -280
  262. package/common/styles/_layout.scss +0 -605
  263. package/common/styles/_palette-dark.scss +0 -326
  264. package/common/styles/_palette-light.scss +0 -637
  265. package/common/styles/_rtl.scss +0 -31
  266. package/common/styles/_styles.scss +0 -10
  267. package/common/styles/_theme-functions.scss +0 -25
  268. package/common/styles/_typography-functions.scss +0 -35
  269. package/common/styles/_variables.scss +0 -98
  270. package/common/styles/colors/_colors-dark.scss +0 -1399
  271. package/common/styles/colors/_colors-light.scss +0 -3235
  272. package/common/styles/colors/_colors.scss +0 -7
  273. package/common/styles/core/_button.scss +0 -60
  274. package/common/styles/core/_card.scss +0 -184
  275. package/common/styles/core/_content.scss +0 -43
  276. package/common/styles/core/_core.scss +0 -23
  277. package/common/styles/core/_divider.scss +0 -16
  278. package/common/styles/core/_icons.scss +0 -22
  279. package/common/styles/core/_list.scss +0 -8
  280. package/common/styles/core/_sidenav.scss +0 -22
  281. package/common/styles/core/_structure.scss +0 -127
  282. package/common/styles/core/_toolbar.scss +0 -53
  283. package/common/styles/core/_whiteframe.scss +0 -130
  284. package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
  285. package/common/styles/font/_font.scss +0 -99
  286. package/common/styles/utilities/_general.scss +0 -65
  287. package/common/styles/utilities/_pad.scss +0 -36
  288. package/common/styles/utilities/_pull.scss +0 -36
  289. package/common/styles/utilities/_push.scss +0 -36
  290. package/common/styles/utilities/_size.scss +0 -24
  291. package/common/styles/utilities/_text.scss +0 -105
  292. package/common/styles/utilities/_utilities.scss +0 -15
  293. package/dialogs/alert-dialog/alert-dialog.component.scss +0 -3
  294. package/dialogs/confirm-dialog/confirm-dialog.component.scss +0 -3
  295. package/dialogs/dialog.component.scss +0 -49
  296. package/dialogs/index.d.ts +0 -1
  297. package/dialogs/prompt-dialog/prompt-dialog.component.scss +0 -16
  298. package/dialogs/window-dialog/window-dialog.component.scss +0 -31
  299. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.scss +0 -7
  300. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.scss +0 -13
  301. package/dynamic-menu/dynamic-menu.component.scss +0 -0
  302. package/dynamic-menu/index.d.ts +0 -1
  303. package/esm2020/breadcrumbs/index.mjs +0 -2
  304. package/esm2020/breadcrumbs/public-api.mjs +0 -4
  305. package/esm2020/common/index.mjs +0 -2
  306. package/esm2020/common/public-api.mjs +0 -39
  307. package/esm2020/dialogs/index.mjs +0 -2
  308. package/esm2020/dialogs/public-api.mjs +0 -9
  309. package/esm2020/dynamic-menu/index.mjs +0 -2
  310. package/esm2020/file/index.mjs +0 -2
  311. package/esm2020/file/public-api.mjs +0 -7
  312. package/esm2020/index.mjs +0 -2
  313. package/esm2020/json-formatter/index.mjs +0 -2
  314. package/esm2020/json-formatter/public-api.mjs +0 -3
  315. package/esm2020/layout/index.mjs +0 -2
  316. package/esm2020/layout/public-api.mjs +0 -13
  317. package/esm2020/menu/index.mjs +0 -2
  318. package/esm2020/menu/public-api.mjs +0 -3
  319. package/esm2020/message/index.mjs +0 -2
  320. package/esm2020/message/public-api.mjs +0 -3
  321. package/esm2020/search/index.mjs +0 -2
  322. package/esm2020/search/public-api.mjs +0 -4
  323. package/esm2020/side-sheet/index.mjs +0 -2
  324. package/esm2020/side-sheet/public-api.mjs +0 -6
  325. package/esm2020/user-profile/index.mjs +0 -2
  326. package/file/file-input/file-input.component.scss +0 -22
  327. package/file/file-upload/file-upload.component.scss +0 -34
  328. package/file/index.d.ts +0 -1
  329. package/json-formatter/index.d.ts +0 -1
  330. package/json-formatter/json-formatter.component.scss +0 -74
  331. package/layout/index.d.ts +0 -1
  332. package/layout/layout-card-over/layout-card-over.component.scss +0 -45
  333. package/layout/layout-footer/layout-footer.component.scss +0 -4
  334. package/layout/layout-manage-list/layout-manage-list.component.scss +0 -82
  335. package/layout/layout-nav/README.md +0 -46
  336. package/layout/layout-nav/layout-nav.component.scss +0 -54
  337. package/layout/layout-nav-list/layout-nav-list.component.scss +0 -115
  338. package/layout/layout.component.scss +0 -16
  339. package/layout/navigation-drawer/navigation-drawer.component.scss +0 -81
  340. package/menu/index.d.ts +0 -1
  341. package/menu/menu.component.scss +0 -51
  342. package/message/index.d.ts +0 -1
  343. package/message/message.component.scss +0 -32
  344. package/schematics/README.md +0 -66
  345. package/schematics/ng-add/files/theme.scss +0 -64
  346. package/search/index.d.ts +0 -1
  347. package/search/search-box/README.md +0 -62
  348. package/search/search-box/search-box.component.scss +0 -37
  349. package/search/search-input/README.md +0 -65
  350. package/search/search-input/search-input.component.scss +0 -75
  351. package/side-sheet/index.d.ts +0 -1
  352. package/side-sheet/side-sheet.scss +0 -68
  353. package/theming/prebuilt/blue-grey-deep-orange.css +0 -2815
  354. package/theming/prebuilt/blue-grey-deep-orange.css.map +0 -1
  355. package/theming/prebuilt/blue-grey-deep-orange.scss +0 -20
  356. package/theming/prebuilt/blue-orange.css +0 -2815
  357. package/theming/prebuilt/blue-orange.css.map +0 -1
  358. package/theming/prebuilt/blue-orange.scss +0 -20
  359. package/theming/prebuilt/indigo-pink.css +0 -2815
  360. package/theming/prebuilt/indigo-pink.css.map +0 -1
  361. package/theming/prebuilt/indigo-pink.scss +0 -20
  362. package/theming/prebuilt/orange-light-blue.css +0 -2815
  363. package/theming/prebuilt/orange-light-blue.css.map +0 -1
  364. package/theming/prebuilt/orange-light-blue.scss +0 -20
  365. package/theming/prebuilt/teal-orange.css +0 -2815
  366. package/theming/prebuilt/teal-orange.css.map +0 -1
  367. package/theming/prebuilt/teal-orange.scss +0 -20
  368. package/user-profile/index.d.ts +0 -1
  369. package/user-profile/user-profile-menu/user-profile-menu.component.scss +0 -41
package/message/README.md CHANGED
@@ -9,25 +9,25 @@ But you can also set a `color` from our lib and it can be applied in the compone
9
9
 
10
10
  #### Inputs
11
11
 
12
- + label?: string
13
- + Sets the label of the message.
14
- + sublabel?: string
15
- + Sets the sublabel of the message.
16
- + icon?: string
17
- + The icon to be displayed before the title. Defaults to `info_outline` icon.
18
- + color?: 'primary' | 'accent' | 'warn'
19
- + Sets the color of the message. Can also use any material color: `purple`, `light-blue`, etc.
20
- + opened?: boolean
21
- + Shows or hides the message depending on its value. Defaults to 'true'.
12
+ - label?: string
13
+ - Sets the label of the message.
14
+ - sublabel?: string
15
+ - Sets the sublabel of the message.
16
+ - icon?: string
17
+ - The icon to be displayed before the title. Defaults to `info_outline` icon.
18
+ - color?: 'primary' | 'accent' | 'warn'
19
+ - Sets the color of the message. Can also use any material color: `purple`, `light-blue`, etc.
20
+ - opened?: boolean
21
+ - Shows or hides the message depending on its value. Defaults to 'true'.
22
22
 
23
23
  #### Methods
24
24
 
25
- + open: function
26
- + Renders the message on screen.
27
- + close: function
28
- + Removes the message content from screen.
29
- + toggle: function
30
- + Toggles between open and close depending on state.
25
+ - open: function
26
+ - Renders the message on screen.
27
+ - close: function
28
+ - Removes the message content from screen.
29
+ - toggle: function
30
+ - Toggles between open and close depending on state.
31
31
 
32
32
  ## Setup
33
33
 
@@ -50,8 +50,16 @@ export class MyModule {}
50
50
  Example for HTML usage:
51
51
 
52
52
  ```html
53
- <td-message #messageDemo color="primary" class="pad-sm" label="Hide me!" sublabel="You can toggle my visibility & add a class!">
54
- <button td-message-actions mat-icon-button (click)="messageDemo.close()"><mat-icon>cancel</mat-icon></button>
53
+ <td-message
54
+ #messageDemo
55
+ color="primary"
56
+ class="pad-sm"
57
+ label="Hide me!"
58
+ sublabel="You can toggle my visibility & add a class!"
59
+ >
60
+ <button td-message-actions mat-icon-button (click)="messageDemo.close()">
61
+ <mat-icon>cancel</mat-icon>
62
+ </button>
55
63
  </td-message>
56
64
  <button mat-button color="accent" (click)="messageDemo.toggle()">
57
65
  Toggle Visibility
@@ -0,0 +1,24 @@
1
+ import { AnimationTriggerMetadata } from '@angular/animations';
2
+ export interface IAnimationOptions {
3
+ anchor?: string;
4
+ duration?: number;
5
+ delay?: number;
6
+ }
7
+ export interface ICollapseAnimation extends IAnimationOptions {
8
+ easeOnClose?: string;
9
+ easeOnOpen?: string;
10
+ }
11
+ /**
12
+ * const tdCollapseAnimation
13
+ *
14
+ * Parameter Options:
15
+ * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
16
+ * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
17
+ * * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.
18
+ * * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.
19
+ *
20
+ * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
21
+ *
22
+ * usage: [@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
23
+ */
24
+ export declare const tdCollapseAnimation: AnimationTriggerMetadata;
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@covalent/core/message" />
5
- export * from './index';
5
+ export * from './public_api';
@@ -15,7 +15,7 @@ export declare class TdMessageComponent implements AfterViewInit {
15
15
  private _hidden;
16
16
  private _animating;
17
17
  private _initialized;
18
- _childElement: TdMessageContainerDirective;
18
+ _childElement?: TdMessageContainerDirective;
19
19
  _template: TemplateRef<any>;
20
20
  /**
21
21
  * Binding host to tdCollapse animation
@@ -30,20 +30,20 @@ export declare class TdMessageComponent implements AfterViewInit {
30
30
  *
31
31
  * Sets the label of the message.
32
32
  */
33
- label: string;
33
+ label?: string;
34
34
  /**
35
35
  * sublabel?: string
36
36
  *
37
37
  * Sets the sublabel of the message.
38
38
  */
39
- sublabel: string;
39
+ sublabel?: string;
40
40
  /**
41
41
  * icon?: string
42
42
  *
43
43
  * The icon to be displayed before the title.
44
44
  * Defaults to `info_outline` icon
45
45
  */
46
- icon: string;
46
+ icon?: string;
47
47
  /**
48
48
  * color?: primary | accent | warn
49
49
  *
File without changes
package/package.json CHANGED
@@ -1,56 +1,9 @@
1
1
  {
2
2
  "name": "@covalent/core",
3
- "version": "4.0.0-beta.2",
4
- "description": "Teradata UI Platform built on Angular Material",
5
- "keywords": [
6
- "angular",
7
- "material",
8
- "material design",
9
- "components",
10
- "covalent",
11
- "reusable"
12
- ],
13
- "schematics": "./schematics/collection.json",
14
- "ng-update": {
15
- "migrations": "./schematics/migration.json"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/teradata/covalent.git"
20
- },
21
- "bugs": {
22
- "url": "https://github.com/teradata/covalent/issues"
23
- },
24
- "license": "MIT",
25
- "author": "Teradata UX",
26
- "contributors": [
27
- "Kyle Ledbetter <kyle.ledbetter@teradata.com>",
28
- "Richa Vyas <richa.vyas@teradata.com>",
29
- "Ed Morales <eduardo.morales@teradata.com>",
30
- "Jason Weaver <jason.weaver@teradata.com>",
31
- "Jeremy Wilken <jeremy.wilken@teradata.com>",
32
- "Jeremy Smartt <jeremy.smartt@teradata.com>",
33
- "Steven Ov <steven.ov@teradata.com>"
34
- ],
35
- "peerDependencies": {
36
- "@angular/common": "^12.0.0-0 || ^13.0.0-0",
37
- "@angular/core": "^12.0.0-0 || ^13.0.0-0",
38
- "@angular/forms": "^12.0.0-0 || ^13.0.0-0",
39
- "@angular/router": "^12.0.0-0 || ^13.0.0-0",
40
- "@angular/cdk": "^12.0.0-0 || ^13.0.0-0",
41
- "@angular/material": "^12.0.0-0 || ^13.0.0-0"
42
- },
43
- "module": "fesm2015/covalent-core.mjs",
44
- "es2020": "fesm2020/covalent-core.mjs",
45
- "esm2020": "esm2020/covalent-core.mjs",
46
- "fesm2020": "fesm2020/covalent-core.mjs",
47
- "fesm2015": "fesm2015/covalent-core.mjs",
48
- "typings": "covalent-core.d.ts",
3
+ "version": "4.1.1-next.1",
49
4
  "exports": {
50
- "./package.json": {
51
- "default": "./package.json"
52
- },
53
5
  ".": {
6
+ "sass": "./theming/_all-theme.scss",
54
7
  "types": "./covalent-core.d.ts",
55
8
  "esm2020": "./esm2020/covalent-core.mjs",
56
9
  "es2020": "./fesm2020/covalent-core.mjs",
@@ -58,6 +11,9 @@
58
11
  "node": "./fesm2015/covalent-core.mjs",
59
12
  "default": "./fesm2020/covalent-core.mjs"
60
13
  },
14
+ "./package.json": {
15
+ "default": "./package.json"
16
+ },
61
17
  "./breadcrumbs": {
62
18
  "types": "./breadcrumbs/covalent-core-breadcrumbs.d.ts",
63
19
  "esm2020": "./esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs",
@@ -155,11 +111,26 @@
155
111
  "default": "./fesm2020/covalent-core-user-profile.mjs"
156
112
  }
157
113
  },
158
- "sideEffects": false,
114
+ "peerDependencies": {
115
+ "@angular/common": "^13.2.0",
116
+ "@angular/core": "^13.2.0",
117
+ "@angular/router": "~13.2.0",
118
+ "@angular/platform-browser": "~13.2.0",
119
+ "@angular/material": "^13.2.1",
120
+ "rxjs": "~7.4.0",
121
+ "@angular/animations": "~13.2.0",
122
+ "@angular/forms": "~13.2.0",
123
+ "@angular/cdk": "^13.2.1",
124
+ "@angular/platform-browser-dynamic": "~13.2.0"
125
+ },
159
126
  "dependencies": {
160
127
  "tslib": "^2.3.0"
161
128
  },
162
- "scripts": {
163
- "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
164
- }
165
- }
129
+ "module": "fesm2015/covalent-core.mjs",
130
+ "es2020": "fesm2020/covalent-core.mjs",
131
+ "esm2020": "esm2020/covalent-core.mjs",
132
+ "fesm2020": "fesm2020/covalent-core.mjs",
133
+ "fesm2015": "fesm2015/covalent-core.mjs",
134
+ "typings": "covalent-core.d.ts",
135
+ "sideEffects": false
136
+ }
File without changes
package/search/README.md CHANGED
@@ -6,56 +6,56 @@
6
6
 
7
7
  #### Inputs
8
8
 
9
- + backIcon?: string
10
- + The icon used to close the search toggle, only shown when [alwaysVisible] is false. Defaults to 'search' icon.
11
- + searchIcon?: string
12
- + The icon used to open/focus the search toggle. Defaults to 'search' icon.
13
- + clearIcon?: string
14
- + The icon used to clear the search input. Defaults to 'cancel' icon.
15
- + showUnderline?: boolean
16
- + Sets if the input underline should be visible. Defaults to 'false'.
17
- + debounce?: number
18
- + Debounce timeout between keypresses. Defaults to 400.
19
- + alwaysVisible?: boolean
20
- + Sets if the input should always be visible. Defaults to 'false'.
21
- + placeholder?: string
22
- + Placeholder for the underlying input component.
9
+ - backIcon?: string
10
+ - The icon used to close the search toggle, only shown when [alwaysVisible] is false. Defaults to 'search' icon.
11
+ - searchIcon?: string
12
+ - The icon used to open/focus the search toggle. Defaults to 'search' icon.
13
+ - clearIcon?: string
14
+ - The icon used to clear the search input. Defaults to 'cancel' icon.
15
+ - showUnderline?: boolean
16
+ - Sets if the input underline should be visible. Defaults to 'false'.
17
+ - debounce?: number
18
+ - Debounce timeout between keypresses. Defaults to 400.
19
+ - alwaysVisible?: boolean
20
+ - Sets if the input should always be visible. Defaults to 'false'.
21
+ - placeholder?: string
22
+ - Placeholder for the underlying input component.
23
23
 
24
24
  #### Events
25
25
 
26
- + searchDebounce?: string
27
- + Event emitted after the [debounce] timeout.
28
- + Emits a [string].
29
- + search?: string
30
- + Event emitted after the key enter has been pressed.
31
- + Emits a [string].
32
- + clear?: string
33
- + Event emitted after the clear icon has been clicked.
34
- + Emits [void].
35
- + blur: function
36
- + Event emitted after the blur event has been called in underlying input.
37
- + Emits [void].
26
+ - searchDebounce?: string
27
+ - Event emitted after the [debounce] timeout.
28
+ - Emits a [string].
29
+ - search?: string
30
+ - Event emitted after the key enter has been pressed.
31
+ - Emits a [string].
32
+ - clear?: string
33
+ - Event emitted after the clear icon has been clicked.
34
+ - Emits [void].
35
+ - blur: function
36
+ - Event emitted after the blur event has been called in underlying input.
37
+ - Emits [void].
38
38
 
39
39
  ## Usage
40
40
 
41
41
  Example for HTML usage:
42
42
 
43
43
  ```html
44
- <td-search-box
45
- backIcon="arrow_back"
46
- placeholder="Search here"
47
- [(ngModel)]="searchInputTerm"
48
- [showUnderline]="false|true"
49
- [debounce]="500"
50
- [alwaysVisible]="false|true"
51
- (searchDebounce)="searchInputTerm = $event"
52
- (search)="searchInputTerm = $event"
53
- (clear)="searchInputTerm = ''"
54
- (blur)="onBlurEvent()">
44
+ <td-search-box
45
+ backIcon="arrow_back"
46
+ placeholder="Search here"
47
+ [(ngModel)]="searchInputTerm"
48
+ [showUnderline]="false|true"
49
+ [debounce]="500"
50
+ [alwaysVisible]="false|true"
51
+ (searchDebounce)="searchInputTerm = $event"
52
+ (search)="searchInputTerm = $event"
53
+ (clear)="searchInputTerm = ''"
54
+ (blur)="onBlurEvent()"
55
+ >
55
56
  </td-search-box>
56
57
  ```
57
58
 
58
-
59
59
  # TdSearchInputComponent: td-search-input
60
60
 
61
61
  `td-search-input` element to generate a search input with its animated cancel button.
@@ -64,53 +64,54 @@ Example for HTML usage:
64
64
 
65
65
  #### Inputs
66
66
 
67
- + debounce?: number
68
- + Debounce timeout between keypresses. Defaults to 400.
69
- + placeholder?: string
70
- + Placeholder for the underlying input component.
71
- + showUnderline?: boolean
72
- + Sets if the input underline should be visible. Defaults to 'false'.
73
- + clearIcon?: string
74
- + The icon used to clear the search input. Defaults to 'cancel' icon.
75
- + appearance?: MatFormFieldAppearance
76
- + Appearance style for the underlying input component.
67
+ - debounce?: number
68
+ - Debounce timeout between keypresses. Defaults to 400.
69
+ - placeholder?: string
70
+ - Placeholder for the underlying input component.
71
+ - showUnderline?: boolean
72
+ - Sets if the input underline should be visible. Defaults to 'false'.
73
+ - clearIcon?: string
74
+ - The icon used to clear the search input. Defaults to 'cancel' icon.
75
+ - appearance?: MatFormFieldAppearance
76
+ - Appearance style for the underlying input component.
77
77
 
78
78
  #### Events
79
79
 
80
- + searchDebounce: function
81
- + Event emitted after the [debounce] timeout.
82
- + Emits a [string].
83
- + search: function
84
- + Event emitted after the key enter has been pressed.
85
- + Emits a [string].
86
- + clear: function
87
- + Event emitted after the clear icon has been clicked.
88
- + Emits [void].
89
- + blur: function
90
- + Event emitted after the blur event has been called in underlying input.
91
- + Emits [void].
80
+ - searchDebounce: function
81
+ - Event emitted after the [debounce] timeout.
82
+ - Emits a [string].
83
+ - search: function
84
+ - Event emitted after the key enter has been pressed.
85
+ - Emits a [string].
86
+ - clear: function
87
+ - Event emitted after the clear icon has been clicked.
88
+ - Emits [void].
89
+ - blur: function
90
+ - Event emitted after the blur event has been called in underlying input.
91
+ - Emits [void].
92
92
 
93
93
  #### Methods
94
94
 
95
- + focus: function
96
- + Method to focus to underlying input.
97
- + clearSearch: function
98
- + Method to clear the underlying input.
95
+ - focus: function
96
+ - Method to focus to underlying input.
97
+ - clearSearch: function
98
+ - Method to clear the underlying input.
99
99
 
100
100
  ## Usage
101
101
 
102
102
  Example for HTML usage:
103
103
 
104
104
  ```html
105
- <td-search-input
106
- appearance="legacy|standard|fill|outline"
107
- placeholder="Search here"
108
- [(ngModel)]="searchInputTerm"
109
- [showUnderline]="false|true"
110
- [debounce]="500"
111
- (searchDebounce)="searchInputTerm = $event"
112
- (search)="searchInputTerm = $event"
113
- (clear)="searchInputTerm = ''">
105
+ <td-search-input
106
+ appearance="legacy|standard|fill|outline"
107
+ placeholder="Search here"
108
+ [(ngModel)]="searchInputTerm"
109
+ [showUnderline]="false|true"
110
+ [debounce]="500"
111
+ (searchDebounce)="searchInputTerm = $event"
112
+ (search)="searchInputTerm = $event"
113
+ (clear)="searchInputTerm = ''"
114
+ >
114
115
  </td-search-input>
115
116
  ```
116
117
 
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  /// <amd-module name="@covalent/core/search" />
5
- export * from './index';
5
+ export * from './public_api';
File without changes
@@ -1,15 +1,15 @@
1
1
  import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
2
3
  import { TdSearchInputComponent } from '../search-input/search-input.component';
3
- import { IControlValueAccessor } from '@covalent/core/common';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TdSearchBoxBase {
6
6
  _changeDetectorRef: ChangeDetectorRef;
7
7
  constructor(_changeDetectorRef: ChangeDetectorRef);
8
8
  }
9
- export declare const _TdSearchBoxMixinBase: (new (...args: any[]) => IControlValueAccessor) & typeof TdSearchBoxBase;
10
- export declare class TdSearchBoxComponent extends _TdSearchBoxMixinBase implements IControlValueAccessor {
9
+ export declare class TdSearchBoxComponent implements ControlValueAccessor {
10
+ private _changeDetectorRef;
11
11
  private _searchVisible;
12
- _searchInput: TdSearchInputComponent;
12
+ _searchInput?: TdSearchInputComponent;
13
13
  get searchVisible(): boolean;
14
14
  /**
15
15
  * backIcon?: string
@@ -49,6 +49,7 @@ export declare class TdSearchBoxComponent extends _TdSearchBoxMixinBase implemen
49
49
  * Placeholder for the underlying input component.
50
50
  */
51
51
  placeholder: string;
52
+ value: unknown;
52
53
  /**
53
54
  * searchDebounce: function($event)
54
55
  * Event emitted after the [debounce] timeout.
@@ -68,8 +69,11 @@ export declare class TdSearchBoxComponent extends _TdSearchBoxMixinBase implemen
68
69
  * blur: function()
69
70
  * Event emitted after the blur event has been called in underlying input.
70
71
  */
71
- blur: EventEmitter<void>;
72
+ blurSearch: EventEmitter<void>;
72
73
  constructor(_changeDetectorRef: ChangeDetectorRef);
74
+ writeValue(value: unknown): void;
75
+ registerOnChange(): void;
76
+ registerOnTouched(): void;
73
77
  /**
74
78
  * Method executed when the search icon is clicked.
75
79
  */
@@ -80,5 +84,5 @@ export declare class TdSearchBoxComponent extends _TdSearchBoxMixinBase implemen
80
84
  handleClear(): void;
81
85
  handleBlur(): void;
82
86
  static ɵfac: i0.ɵɵFactoryDeclaration<TdSearchBoxComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<TdSearchBoxComponent, "td-search-box", never, { "value": "value"; "backIcon": "backIcon"; "searchIcon": "searchIcon"; "clearIcon": "clearIcon"; "showUnderline": "showUnderline"; "debounce": "debounce"; "alwaysVisible": "alwaysVisible"; "placeholder": "placeholder"; }, { "searchDebounce": "searchDebounce"; "search": "search"; "clear": "clear"; "blur": "blur"; }, never, never>;
87
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdSearchBoxComponent, "td-search-box", never, { "backIcon": "backIcon"; "searchIcon": "searchIcon"; "clearIcon": "clearIcon"; "showUnderline": "showUnderline"; "debounce": "debounce"; "alwaysVisible": "alwaysVisible"; "placeholder": "placeholder"; "value": "value"; }, { "searchDebounce": "searchDebounce"; "search": "search"; "clear": "clear"; "blurSearch": "blurSearch"; }, never, never>;
84
88
  }
@@ -1,17 +1,17 @@
1
1
  import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
2
3
  import { Dir } from '@angular/cdk/bidi';
3
4
  import { MatInput } from '@angular/material/input';
4
5
  import { MatFormFieldAppearance } from '@angular/material/form-field';
5
- import { IControlValueAccessor } from '@covalent/core/common';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TdSearchInputBase {
8
8
  _changeDetectorRef: ChangeDetectorRef;
9
9
  constructor(_changeDetectorRef: ChangeDetectorRef);
10
10
  }
11
- export declare const _TdSearchInputMixinBase: (new (...args: any[]) => IControlValueAccessor) & typeof TdSearchInputBase;
12
- export declare class TdSearchInputComponent extends _TdSearchInputMixinBase implements IControlValueAccessor, OnInit {
11
+ export declare class TdSearchInputComponent implements ControlValueAccessor, OnInit {
13
12
  private _dir;
14
- _input: MatInput;
13
+ private _changeDetectorRef;
14
+ _input?: MatInput;
15
15
  /**
16
16
  * appearance?: MatFormFieldAppearance
17
17
  * Appearance style for the underlying input component.
@@ -38,6 +38,7 @@ export declare class TdSearchInputComponent extends _TdSearchInputMixinBase impl
38
38
  * Defaults to 'cancel' icon.
39
39
  */
40
40
  clearIcon: string;
41
+ value?: unknown;
41
42
  /**
42
43
  * searchDebounce: function($event)
43
44
  * Event emitted after the [debounce] timeout.
@@ -57,10 +58,13 @@ export declare class TdSearchInputComponent extends _TdSearchInputMixinBase impl
57
58
  * blur: function()
58
59
  * Event emitted after the blur event has been called in underlying input.
59
60
  */
60
- blur: EventEmitter<void>;
61
+ blurSearch: EventEmitter<void>;
61
62
  get isRTL(): boolean;
62
63
  constructor(_dir: Dir, _changeDetectorRef: ChangeDetectorRef);
63
64
  ngOnInit(): void;
65
+ writeValue(value: unknown): void;
66
+ registerOnChange(): void;
67
+ registerOnTouched(): void;
64
68
  /**
65
69
  * Method to focus to underlying input.
66
70
  */
@@ -74,5 +78,5 @@ export declare class TdSearchInputComponent extends _TdSearchInputMixinBase impl
74
78
  clearSearch(): void;
75
79
  private _searchTermChanged;
76
80
  static ɵfac: i0.ɵɵFactoryDeclaration<TdSearchInputComponent, [{ optional: true; }, null]>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<TdSearchInputComponent, "td-search-input", never, { "value": "value"; "appearance": "appearance"; "showUnderline": "showUnderline"; "debounce": "debounce"; "placeholder": "placeholder"; "clearIcon": "clearIcon"; }, { "searchDebounce": "searchDebounce"; "search": "search"; "clear": "clear"; "blur": "blur"; }, never, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdSearchInputComponent, "td-search-input", never, { "appearance": "appearance"; "showUnderline": "showUnderline"; "debounce": "debounce"; "placeholder": "placeholder"; "clearIcon": "clearIcon"; "value": "value"; }, { "searchDebounce": "searchDebounce"; "search": "search"; "clear": "clear"; "blurSearch": "blurSearch"; }, never, never>;
78
82
  }
@@ -0,0 +1,73 @@
1
+ # TdSearchBoxComponent: td-search-box
2
+
3
+ `td-search-box` element to generate a search box with animations.
4
+
5
+ ## API Summary
6
+
7
+ #### Inputs
8
+
9
+ - backIcon?: string
10
+ - The icon used to close the search toggle, only shown when [alwaysVisible] is false. Defaults to 'search' icon.
11
+ - searchIcon?: string
12
+ - The icon used to open/focus the search toggle. Defaults to 'search' icon.
13
+ - clearIcon?: string
14
+ - The icon used to clear the search input. Defaults to 'cancel' icon.
15
+ - showUnderline?: boolean
16
+ - Sets if the input underline should be visible. Defaults to 'false'.
17
+ - debounce?: number
18
+ - Debounce timeout between keypresses. Defaults to 400.
19
+ - alwaysVisible?: boolean
20
+ - Sets if the input should always be visible. Defaults to 'false'.
21
+ - placeholder?: string
22
+ - Placeholder for the underlying input component.
23
+
24
+ #### Events
25
+
26
+ - searchDebounce?: string
27
+ - Event emitted after the [debounce] timeout.
28
+ - Emits a [string].
29
+ - search?: string
30
+ - Event emitted after the key enter has been pressed.
31
+ - Emits a [string].
32
+ - clear?: string
33
+ - Event emitted after the clear icon has been clicked.
34
+ - Emits [void].
35
+ - blur: function
36
+ - Event emitted after the blur event has been called in underlying input.
37
+ - Emits [void].
38
+
39
+ ## Setup
40
+
41
+ Import the [CovalentSearchModule] in your NgModule:
42
+
43
+ ```typescript
44
+ import { CovalentSearchModule } from '@covalent/core/search';
45
+ @NgModule({
46
+ imports: [
47
+ CovalentSearchModule,
48
+ ...
49
+ ],
50
+ ...
51
+ })
52
+ export class MyModule {}
53
+ ```
54
+
55
+ ## Usage
56
+
57
+ Example for HTML usage:
58
+
59
+ ```html
60
+ <td-search-box
61
+ backIcon="arrow_back"
62
+ placeholder="Search here"
63
+ [(ngModel)]="searchInputTerm"
64
+ [showUnderline]="false|true"
65
+ [debounce]="500"
66
+ [alwaysVisible]="false|true"
67
+ (searchDebounce)="searchInputTerm = $event"
68
+ (search)="searchInputTerm = $event"
69
+ (clear)="searchInputTerm = ''"
70
+ (blur)="onBlurEvent()"
71
+ >
72
+ </td-search-box>
73
+ ```