@dereekb/dbx-web 4.1.0 → 5.1.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 (307) hide show
  1. package/LICENSE +21 -0
  2. package/_index.scss +7 -9
  3. package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
  4. package/esm2020/lib/action/action.module.mjs +6 -45
  5. package/esm2020/lib/action/action.progress.component.mjs +2 -2
  6. package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
  7. package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +11 -10
  8. package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
  9. package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
  10. package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
  11. package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
  12. package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
  13. package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
  14. package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
  15. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +2 -2
  16. package/esm2020/lib/action/transition/transition.safety.directive.mjs +9 -7
  17. package/esm2020/lib/button/button.component.mjs +14 -12
  18. package/esm2020/lib/button/button.module.mjs +6 -26
  19. package/esm2020/lib/button/button.spacer.component.mjs +3 -3
  20. package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
  21. package/esm2020/lib/button/progress/base.progress.button.directive.mjs +7 -8
  22. package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
  23. package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
  24. package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
  25. package/esm2020/lib/dbx-web.module.mjs +4 -12
  26. package/esm2020/lib/error/error.action.directive.mjs +1 -1
  27. package/esm2020/lib/error/error.api.mjs +16 -12
  28. package/esm2020/lib/error/error.component.mjs +3 -3
  29. package/esm2020/lib/error/error.loading.directive.mjs +1 -1
  30. package/esm2020/lib/error/error.module.mjs +6 -22
  31. package/esm2020/lib/error/state.mjs +8 -4
  32. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
  33. package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
  34. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +4 -4
  35. package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
  36. package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
  37. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
  38. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
  39. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
  40. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
  41. package/esm2020/lib/interaction/interaction.module.mjs +4 -18
  42. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
  43. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +4 -4
  44. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +3 -4
  45. package/esm2020/lib/interaction/popover/popover.component.mjs +27 -21
  46. package/esm2020/lib/interaction/popover/popover.content.component.mjs +14 -15
  47. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +4 -4
  48. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +10 -10
  49. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
  50. package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
  51. package/esm2020/lib/interaction/popover/popover.mjs +1 -1
  52. package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
  53. package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
  54. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
  55. package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
  56. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
  57. package/esm2020/lib/interaction/popup/popup.component.mjs +23 -18
  58. package/esm2020/lib/interaction/popup/popup.content.component.mjs +4 -4
  59. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +6 -6
  60. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
  61. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +9 -9
  62. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +2 -2
  63. package/esm2020/lib/interaction/popup/popup.mjs +1 -1
  64. package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
  65. package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
  66. package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
  67. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
  68. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +4 -4
  69. package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
  70. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +2 -2
  71. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +2 -2
  72. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +4 -4
  73. package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +6 -4
  74. package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
  75. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +3 -3
  76. package/esm2020/lib/keypress/keydown.listener.directive.mjs +2 -3
  77. package/esm2020/lib/keypress/keypress.module.mjs +5 -13
  78. package/esm2020/lib/layout/bar/bar.directive.mjs +4 -4
  79. package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
  80. package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
  81. package/esm2020/lib/layout/bar/bar.mjs +1 -1
  82. package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
  83. package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
  84. package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
  85. package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
  86. package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
  87. package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
  88. package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
  89. package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
  90. package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
  91. package/esm2020/lib/layout/column/two/index.mjs +1 -1
  92. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
  93. package/esm2020/lib/layout/column/two/two.column.component.mjs +7 -10
  94. package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +5 -6
  95. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +1 -1
  96. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
  97. package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
  98. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +5 -5
  99. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
  100. package/esm2020/lib/layout/column/two/two.column.store.mjs +10 -9
  101. package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
  102. package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
  103. package/esm2020/lib/layout/compact/compact.mjs +4 -5
  104. package/esm2020/lib/layout/compact/compact.store.mjs +3 -3
  105. package/esm2020/lib/layout/content/content.border.directive.mjs +4 -4
  106. package/esm2020/lib/layout/content/content.box.directive.mjs +4 -4
  107. package/esm2020/lib/layout/content/content.container.directive.mjs +4 -4
  108. package/esm2020/lib/layout/content/content.directive.mjs +4 -4
  109. package/esm2020/lib/layout/content/content.elevate.directive.mjs +4 -4
  110. package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
  111. package/esm2020/lib/layout/content/content.page.directive.mjs +4 -4
  112. package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
  113. package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
  114. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
  115. package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
  116. package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
  117. package/esm2020/lib/layout/flex/flex.mjs +1 -1
  118. package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
  119. package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
  120. package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
  121. package/esm2020/lib/layout/layout.module.mjs +4 -45
  122. package/esm2020/lib/layout/list/list.component.mjs +27 -21
  123. package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
  124. package/esm2020/lib/layout/list/list.directive.mjs +2 -2
  125. package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
  126. package/esm2020/lib/layout/list/list.view.directive.mjs +3 -4
  127. package/esm2020/lib/layout/list/list.view.mjs +9 -5
  128. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
  129. package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
  130. package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
  131. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
  132. package/esm2020/lib/layout/list/list.view.value.mjs +13 -9
  133. package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +8 -8
  134. package/esm2020/lib/layout/list/list.view.value.modifier.mjs +8 -6
  135. package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +5 -6
  136. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
  137. package/esm2020/lib/layout/list/list.wrapper.mjs +7 -5
  138. package/esm2020/lib/layout/section/section.component.mjs +3 -3
  139. package/esm2020/lib/layout/section/section.header.component.mjs +7 -5
  140. package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
  141. package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
  142. package/esm2020/lib/layout/section/section.mjs +1 -1
  143. package/esm2020/lib/layout/section/section.page.component.mjs +12 -12
  144. package/esm2020/lib/layout/section/subsection.component.mjs +16 -16
  145. package/esm2020/lib/layout/step/step.component.mjs +3 -3
  146. package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
  147. package/esm2020/lib/layout/style/spacer.directive.mjs +4 -4
  148. package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
  149. package/esm2020/lib/layout/style/style.directive.mjs +3 -3
  150. package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
  151. package/esm2020/lib/layout/style/style.service.mjs +3 -3
  152. package/esm2020/lib/layout/style/style.set.directive.mjs +3 -4
  153. package/esm2020/lib/layout/text/hint.component.mjs +8 -4
  154. package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
  155. package/esm2020/lib/layout/text/label.component.mjs +8 -4
  156. package/esm2020/lib/layout/text/linkify.component.mjs +10 -7
  157. package/esm2020/lib/layout/text/note.component.mjs +8 -4
  158. package/esm2020/lib/layout/text/notice.component.mjs +8 -4
  159. package/esm2020/lib/layout/text/ok.component.mjs +8 -4
  160. package/esm2020/lib/layout/text/success.component.mjs +8 -4
  161. package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
  162. package/esm2020/lib/layout/text/text.module.mjs +6 -59
  163. package/esm2020/lib/layout/text/warn.component.mjs +8 -4
  164. package/esm2020/lib/loading/basic-loading.component.mjs +8 -8
  165. package/esm2020/lib/loading/loading-progress.component.mjs +16 -16
  166. package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
  167. package/esm2020/lib/loading/loading.component.mjs +16 -16
  168. package/esm2020/lib/loading/loading.module.mjs +6 -40
  169. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +6 -7
  170. package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
  171. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
  172. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
  173. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
  174. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
  175. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +5 -5
  176. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
  177. package/esm2020/lib/router/layout/layout.module.mjs +4 -18
  178. package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
  179. package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
  180. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +7 -7
  181. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
  182. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +9 -9
  183. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
  184. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
  185. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
  186. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +2 -2
  187. package/esm2020/lib/router/provider/index.mjs +1 -1
  188. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +4 -5
  189. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
  190. package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
  191. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +9 -3
  192. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
  193. package/esm2020/lib/screen/screen.mjs +6 -6
  194. package/esm2020/lib/screen/screen.module.mjs +1 -1
  195. package/esm2020/lib/screen/screen.service.mjs +6 -7
  196. package/fesm2015/dereekb-dbx-web.mjs +866 -1730
  197. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  198. package/fesm2020/dereekb-dbx-web.mjs +866 -1730
  199. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  200. package/lib/action/key.trigger.directive.d.ts +1 -1
  201. package/lib/action/snackbar/_snackbar.scss +4 -5
  202. package/lib/action/snackbar/action.snackbar.component.d.ts +3 -4
  203. package/lib/action/snackbar/action.snackbar.d.ts +9 -9
  204. package/lib/action/snackbar/action.snackbar.directive.d.ts +6 -6
  205. package/lib/action/snackbar/action.snackbar.generator.d.ts +10 -10
  206. package/lib/action/snackbar/action.snackbar.service.d.ts +8 -8
  207. package/lib/button/_button.scss +4 -4
  208. package/lib/button/button.spacer.component.d.ts +1 -1
  209. package/lib/button/progress/bar.button.component.scss +1 -1
  210. package/lib/button/progress/base.progress.button.directive.d.ts +2 -3
  211. package/lib/button/progress/button.progress.config.d.ts +1 -1
  212. package/lib/button/progress/spinner.button.component.scss +5 -5
  213. package/lib/error/_error.scss +6 -4
  214. package/lib/error/error.api.d.ts +2 -2
  215. package/lib/error/error.component.d.ts +2 -3
  216. package/lib/error/state.d.ts +3 -3
  217. package/lib/interaction/dialog/_dialog.scss +4 -6
  218. package/lib/interaction/dialog/abstract.dialog.directive.d.ts +1 -1
  219. package/lib/interaction/dialog/dialog.action.directive.d.ts +4 -4
  220. package/lib/interaction/dialog/dialog.content.component.d.ts +1 -1
  221. package/lib/interaction/filter/_filter.scss +6 -3
  222. package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
  223. package/lib/interaction/filter/filter.popover.button.directive.d.ts +1 -2
  224. package/lib/interaction/filter/filter.popover.component.d.ts +6 -6
  225. package/lib/interaction/popover/_popover.scss +2 -5
  226. package/lib/interaction/popover/abstract.popover.directive.d.ts +1 -1
  227. package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
  228. package/lib/interaction/popover/popover.action.directive.d.ts +4 -4
  229. package/lib/interaction/popover/popover.component.d.ts +2 -2
  230. package/lib/interaction/popover/popover.controls.directive.d.ts +1 -1
  231. package/lib/interaction/popover/popover.coordinator.service.d.ts +1 -1
  232. package/lib/interaction/popover/popover.d.ts +3 -3
  233. package/lib/interaction/popup/_popup.scss +1 -5
  234. package/lib/interaction/popup/abstract.popup.directive.d.ts +1 -1
  235. package/lib/interaction/popup/popup.component.d.ts +1 -1
  236. package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -2
  237. package/lib/interaction/popup/popup.d.ts +1 -1
  238. package/lib/interaction/prompt/_prompt.scss +5 -6
  239. package/lib/interaction/prompt/prompt.confirm.d.ts +1 -1
  240. package/lib/interaction/prompt/prompt.confirm.directive.d.ts +3 -3
  241. package/lib/interaction/style/_style.scss +6 -5
  242. package/lib/layout/bar/_bar.scss +0 -5
  243. package/lib/layout/bar/bar.directive.d.ts +1 -1
  244. package/lib/layout/block/_block.scss +4 -4
  245. package/lib/layout/card/_card.scss +6 -4
  246. package/lib/layout/column/_column.scss +2 -7
  247. package/lib/layout/column/two/two.column.component.d.ts +1 -2
  248. package/lib/layout/column/two/two.column.context.directive.d.ts +1 -2
  249. package/lib/layout/column/two/two.column.full.left.directive.d.ts +2 -3
  250. package/lib/layout/column/two/two.column.store.d.ts +3 -3
  251. package/lib/layout/content/_content.scss +2 -9
  252. package/lib/layout/content/content.border.directive.d.ts +1 -1
  253. package/lib/layout/content/content.box.directive.d.ts +1 -1
  254. package/lib/layout/content/content.container.directive.d.ts +1 -1
  255. package/lib/layout/content/content.directive.d.ts +1 -1
  256. package/lib/layout/content/content.elevate.directive.d.ts +1 -1
  257. package/lib/layout/content/content.page.directive.d.ts +1 -1
  258. package/lib/layout/flag/_flag.scss +6 -4
  259. package/lib/layout/flex/_flex.scss +7 -8
  260. package/lib/layout/flex/flex.group.directive.d.ts +2 -2
  261. package/lib/layout/item/_item.scss +6 -4
  262. package/lib/layout/list/_list.scss +4 -8
  263. package/lib/layout/list/list.component.d.ts +5 -5
  264. package/lib/layout/list/list.directive.d.ts +6 -8
  265. package/lib/layout/list/list.view.d.ts +3 -3
  266. package/lib/layout/list/list.view.directive.d.ts +0 -1
  267. package/lib/layout/list/list.view.value.component.d.ts +2 -2
  268. package/lib/layout/list/list.view.value.d.ts +11 -11
  269. package/lib/layout/list/list.view.value.directive.d.ts +7 -7
  270. package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
  271. package/lib/layout/list/list.view.value.modifier.d.ts +7 -7
  272. package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -3
  273. package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +6 -6
  274. package/lib/layout/list/list.view.value.selection.component.d.ts +2 -2
  275. package/lib/layout/list/list.wrapper.d.ts +4 -4
  276. package/lib/layout/section/_section.scss +7 -18
  277. package/lib/layout/section/section.header.component.d.ts +1 -1
  278. package/lib/layout/section/section.intro.component.d.ts +1 -2
  279. package/lib/layout/step/_step.scss +6 -4
  280. package/lib/layout/style/_style.scss +3 -7
  281. package/lib/layout/style/spacer.directive.d.ts +1 -1
  282. package/lib/layout/style/style.directive.d.ts +1 -1
  283. package/lib/layout/style/style.service.d.ts +1 -2
  284. package/lib/layout/style/style.set.directive.d.ts +1 -1
  285. package/lib/layout/text/_text.scss +0 -5
  286. package/lib/layout/text/icon.spacer.component.d.ts +1 -1
  287. package/lib/layout/text/text.chips.component.d.ts +2 -2
  288. package/lib/loading/basic-loading.component.d.ts +1 -2
  289. package/lib/loading/loading.action.directive.d.ts +1 -1
  290. package/lib/router/layout/anchor/_anchor.scss +8 -8
  291. package/lib/router/layout/anchor/anchor.component.d.ts +3 -3
  292. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +5 -5
  293. package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
  294. package/lib/router/layout/list/router.list.directive.d.ts +6 -6
  295. package/lib/router/layout/navbar/_navbar.scss +7 -5
  296. package/lib/router/layout/sidenav/_sidenav.scss +3 -6
  297. package/lib/router/provider/router.provider.config.d.ts +1 -1
  298. package/lib/router/provider/uirouter/anchor.component.d.ts +4 -0
  299. package/lib/screen/screen.service.d.ts +3 -3
  300. package/lib/style/_config.scss +43 -25
  301. package/lib/style/_core.scss +1 -1
  302. package/lib/style/_function.scss +0 -1
  303. package/lib/style/_mixin.scss +4 -7
  304. package/lib/style/_root-variables.scss +0 -2
  305. package/lib/style/_theming.scss +2 -12
  306. package/lib/style/_variables.scss +10 -3
  307. package/package.json +6 -5
@@ -2,10 +2,8 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
6
  @mixin core() {
8
-
9
7
  .dbx-anchor a {
10
8
  color: inherit;
11
9
  text-decoration: none;
@@ -16,7 +14,7 @@
16
14
 
17
15
  .dbx-anchor-a {
18
16
  display: block;
19
- width: 100%
17
+ width: 100%;
20
18
  }
21
19
  }
22
20
  }
@@ -27,7 +25,7 @@
27
25
  }
28
26
 
29
27
  .dbx-link-spacer:before {
30
- content: "|";
28
+ content: '|';
31
29
  margin: 0 8px;
32
30
  }
33
31
 
@@ -35,13 +33,15 @@
35
33
  display: flex;
36
34
  align-items: center;
37
35
  }
38
-
39
36
  }
40
37
 
41
- @mixin color($theme-config) {}
38
+ @mixin color($theme-config) {
39
+ }
42
40
 
43
- @mixin typography($typography-config) {}
41
+ @mixin typography($typography-config) {
42
+ }
44
43
 
45
44
  @mixin theme($theme-config) {
46
- @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {}
45
+ @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-anchor') {
46
+ }
47
47
  }
@@ -9,10 +9,10 @@ import * as i0 from "@angular/core";
9
9
  export declare class DbxAnchorComponent extends AbstractDbxAnchorDirective implements OnDestroy {
10
10
  private readonly dbNgxRouterWebProviderConfig;
11
11
  private _templateRef;
12
- readonly templateRef$: import("rxjs").Observable<Maybe<TemplateRef<any>>>;
12
+ readonly templateRef$: import("rxjs").Observable<Maybe<TemplateRef<unknown>>>;
13
13
  block?: boolean;
14
- get templateRef(): Maybe<TemplateRef<any>>;
15
- set templateRef(templateRef: Maybe<TemplateRef<any>>);
14
+ get templateRef(): Maybe<TemplateRef<unknown>>;
15
+ set templateRef(templateRef: Maybe<TemplateRef<unknown>>);
16
16
  readonly url$: import("rxjs").Observable<string | undefined>;
17
17
  readonly target$: import("rxjs").Observable<string | undefined>;
18
18
  constructor(dbNgxRouterWebProviderConfig: DbxRouterWebProviderConfig);
@@ -1,6 +1,6 @@
1
- import { DbxInjectionTemplateConfig } from "@dereekb/dbx-core";
2
- import { Observable } from "rxjs";
3
- import { DbxAnchorComponent } from "./anchor.component";
1
+ import { DbxInjectionTemplateConfig } from '@dereekb/dbx-core';
2
+ import { Observable } from 'rxjs';
3
+ import { DbxAnchorComponent } from './anchor.component';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Abstract implementation
@@ -8,9 +8,9 @@ import * as i0 from "@angular/core";
8
8
  export declare abstract class AbstractDbxSegueAnchorDirective {
9
9
  readonly parent: DbxAnchorComponent;
10
10
  readonly target$: Observable<string | undefined>;
11
- readonly ref$: Observable<any>;
11
+ readonly ref$: Observable<import("@dereekb/dbx-core").SegueRefRouterLink | undefined>;
12
12
  readonly refParams$: Observable<import("@dereekb/dbx-core").SegueRefRawSegueParams | undefined>;
13
- readonly refOptions$: Observable<any>;
13
+ readonly refOptions$: Observable<object | undefined>;
14
14
  constructor(parent: DbxAnchorComponent);
15
15
  readonly template$: Observable<DbxInjectionTemplateConfig>;
16
16
  get anchor(): import("../../../../../../../dist/packages/util/src").Maybe<import("@dereekb/dbx-core").ClickableAnchor>;
@@ -8,7 +8,8 @@ $active-root-item-left-padding: 2px;
8
8
  $active-child-item-left-padding: 5px;
9
9
 
10
10
  // MARK: Mixin
11
- @mixin core() {}
11
+ @mixin core() {
12
+ }
12
13
 
13
14
  @mixin color($theme-config) {
14
15
  $color-config: theming.get-color-config($theme-config);
@@ -17,7 +18,6 @@ $active-child-item-left-padding: 5px;
17
18
  $background-disabled-color: theming.get-color-from-palette($background, 'contrast');
18
19
 
19
20
  .dbx-anchor-list.mat-nav-list {
20
-
21
21
  // MARK: Muting
22
22
  // items that are not active are muted
23
23
  .mat-list-item {
@@ -40,7 +40,7 @@ $active-child-item-left-padding: 5px;
40
40
  .dbx-anchor-active-eq {
41
41
  .mat-list-item {
42
42
  opacity: 1;
43
- background: color.scale($color:$background-hover-color, $alpha: 25%);
43
+ background: color.scale($color: $background-hover-color, $alpha: 25%);
44
44
  }
45
45
  }
46
46
 
@@ -54,15 +54,11 @@ $active-child-item-left-padding: 5px;
54
54
  .dbx-anchor-list-child {
55
55
  background: color.scale($background-hover-color, $alpha: 10%);
56
56
  }
57
-
58
57
  }
59
-
60
58
  }
61
59
 
62
60
  @mixin typography($typography-config) {
63
-
64
61
  .dbx-anchor-list.mat-nav-list {
65
-
66
62
  .mat-list-item .mat-list-icon {
67
63
  font-size: 28px;
68
64
  width: 28px;
@@ -81,9 +77,7 @@ $active-child-item-left-padding: 5px;
81
77
  padding: $active-child-item-left-padding;
82
78
  }
83
79
  }
84
-
85
80
  }
86
-
87
81
  }
88
82
 
89
83
  @mixin theme($theme-config) {
@@ -1,9 +1,9 @@
1
- import { OnDestroy } from "@angular/core";
2
- import { ClickableAnchor } from "@dereekb/dbx-core";
3
- import { ArrayOrValue, Maybe, Modifier } from "@dereekb/util";
4
- import { Observable } from "rxjs";
5
- import { DbxValueListItem } from "../../../layout/list/list.view.value";
6
- import { AbstractDbxValueListItemModifierDirective } from "../../../layout/list/list.view.value.modifier.directive";
1
+ import { OnDestroy } from '@angular/core';
2
+ import { ClickableAnchor } from '@dereekb/dbx-core';
3
+ import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
4
+ import { Observable } from 'rxjs';
5
+ import { DbxValueListItem } from '../../../layout/list/list.view.value';
6
+ import { AbstractDbxValueListItemModifierDirective } from '../../../layout/list/list.view.value.modifier.directive';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare type AnchorForValueFunction<T> = (value: T, item: DbxValueListItem<T>) => Maybe<ClickableAnchor>;
9
9
  export declare const DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY = "router_anchor";
@@ -4,13 +4,15 @@
4
4
 
5
5
  // MARK: Variables
6
6
 
7
-
8
7
  // MARK: Mixin
9
- @mixin core() {}
8
+ @mixin core() {
9
+ }
10
10
 
11
- @mixin color($theme-config) {}
12
-
13
- @mixin typography($typography-config) {}
11
+ @mixin color($theme-config) {
12
+ }
13
+
14
+ @mixin typography($typography-config) {
15
+ }
14
16
 
15
17
  @mixin theme($theme-config) {
16
18
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-navbar') {
@@ -13,7 +13,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
13
13
 
14
14
  // MARK: Mixin
15
15
  @mixin core() {
16
-
17
16
  .dbx-sidenav {
18
17
  height: 100%;
19
18
 
@@ -53,7 +52,7 @@ $dbx-sidenav-nav-bottom-padding: 24px;
53
52
  }
54
53
 
55
54
  .mat-sidenav .mat-drawer-inner-container {
56
- overflow-y: scroll !important
55
+ overflow-y: scroll !important;
57
56
  }
58
57
 
59
58
  .dbx-sidenav-nav {
@@ -65,7 +64,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
65
64
  .mat-nav-list.dbx-anchor-list {
66
65
  padding-top: 0;
67
66
  }
68
-
69
67
  }
70
68
 
71
69
  .dbx-sidenav-page {
@@ -77,7 +75,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
77
75
  overflow: auto;
78
76
  }
79
77
  }
80
-
81
78
  }
82
79
 
83
80
  @mixin color($theme-config) {
@@ -110,7 +107,6 @@ $dbx-sidenav-nav-bottom-padding: 24px;
110
107
  }
111
108
 
112
109
  .dbx-anchor-active-eq {
113
-
114
110
  .mat-list-item {
115
111
  border-left: $active-border-left-width solid $active-icon-color;
116
112
 
@@ -171,7 +167,8 @@ $dbx-sidenav-nav-bottom-padding: 24px;
171
167
  */
172
168
  }
173
169
 
174
- @mixin typography($typography-config) {}
170
+ @mixin typography($typography-config) {
171
+ }
175
172
 
176
173
  @mixin theme($theme-config) {
177
174
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-router-sidenav') {
@@ -1,4 +1,4 @@
1
- import { DbxInjectionComponentConfig } from "@dereekb/dbx-core";
1
+ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
2
2
  export declare abstract class DbxRouterWebProviderConfig {
3
3
  /**
4
4
  * Component used by the Anchor component to render a SegueRef link.
@@ -1,9 +1,13 @@
1
+ import { Observable } from 'rxjs';
1
2
  import { AbstractDbxSegueAnchorDirective } from '../../layout/anchor/anchor.segue.directive';
3
+ import { TransitionOptions } from '@uirouter/core';
2
4
  import * as i0 from "@angular/core";
3
5
  /**
4
6
  * SegueAnchor implementation for UIRouter.
5
7
  */
6
8
  export declare class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
9
+ readonly uiRef$: Observable<string | null>;
10
+ readonly uiOptions$: Observable<TransitionOptions | null>;
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxUIRouterSegueAnchorComponent, never>;
8
12
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxUIRouterSegueAnchorComponent, "ng-component", never, {}, {}, never, never>;
9
13
  }
@@ -1,8 +1,8 @@
1
1
  import { Destroyable } from '@dereekb/util';
2
- import { MediaMatcher } from "@angular/cdk/layout";
2
+ import { MediaMatcher } from '@angular/cdk/layout';
3
3
  import { ObservableOrValue } from '@dereekb/rxjs';
4
- import { Observable } from "rxjs";
5
- import { ScreenMediaWidthType, ScreenMediaHeightType } from "./screen";
4
+ import { Observable } from 'rxjs';
5
+ import { ScreenMediaWidthType, ScreenMediaHeightType } from './screen';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * ScreenMediaService configuration.
@@ -1,17 +1,18 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './variables';
3
3
 
4
4
  // convenience
5
5
  @function quick-define-dbx-config-via-banners($top-banner: 0px, $bottom-banner: 0px) {
6
- @return ('layout': (
7
- 'top-banner-height': $top-banner,
8
- 'bottom-banner-height': $bottom-banner,
9
- ));
6
+ @return (
7
+ 'layout': (
8
+ 'top-banner-height': $top-banner,
9
+ 'bottom-banner-height': $bottom-banner
10
+ )
11
+ );
10
12
  }
11
13
 
12
14
  // theme
13
15
  @function define-dbx-theme-config($theme-config, $input-dbx-theme-config: null) {
14
-
15
16
  @if ($input-dbx-theme-config == null) {
16
17
  $input-dbx-theme-config: ();
17
18
  }
@@ -27,9 +28,12 @@
27
28
  'layout': $dbx-layout
28
29
  );
29
30
 
30
- @return map.merge($theme-config, (
31
- 'dbx': $dbx-theme-config
32
- ));
31
+ @return map.merge(
32
+ $theme-config,
33
+ (
34
+ 'dbx': $dbx-theme-config
35
+ )
36
+ );
33
37
  }
34
38
 
35
39
  @function get-dbx-theme-config($theme-config) {
@@ -39,11 +43,15 @@
39
43
  // screen
40
44
  @function define-dbx-screen-config($input-dbx-theme-screen-config: null) {
41
45
  $dbx-screen-config: (
42
- 'mobile': 360px, // 0-360px
43
- 'small': 520px, //361-520px
44
- 'medium': 768px, //521-768px
45
- 'large': 1280px, //769-1280px
46
- 'tiny-vertical': 280px //0-280px
46
+ 'mobile': 360px,
47
+ // 0-360px
48
+ 'small': 520px,
49
+ //361-520px
50
+ 'medium': 768px,
51
+ //521-768px
52
+ 'large': 1280px,
53
+ //769-1280px
54
+ 'tiny-vertical': 280px //0-280px
47
55
  );
48
56
 
49
57
  @if ($input-dbx-theme-screen-config != null) {
@@ -64,18 +72,28 @@
64
72
  'top-banner-height': 0px,
65
73
  'bottom-banner-height': 0px,
66
74
  // navbars
67
- 'page-navbar-height': 42px, // initial main navbar height
68
- 'content-navbar-height': 54px, // initial content navbar height
75
+ 'page-navbar-height': 42px,
76
+ // initial main navbar height
77
+ 'content-navbar-height': 54px,
78
+ // initial content navbar height
69
79
  // content
70
- 'box-max-width': 600px, // initial max width of box content, such as popups.
71
- 'content-max-width': 1200px, // initial max width of restricted-width content
80
+ 'box-max-width': 600px,
81
+ // initial max width of box content, such as popups.
82
+ 'content-max-width': 1200px,
83
+ // initial max width of restricted-width content
72
84
  // padding
73
- 'padding-0': 0px, // initial padding-0
74
- 'padding-1': 2px, // initial padding-1
75
- 'padding-2': 6px, // initial padding-2
76
- 'padding-3': 12px, // initial padding-3
77
- 'padding-4': 18px, // initial padding-4
78
- 'padding-5': 24px, // initial padding-5
85
+ 'padding-0': 0px,
86
+ // initial padding-0
87
+ 'padding-1': 2px,
88
+ // initial padding-1
89
+ 'padding-2': 6px,
90
+ // initial padding-2
91
+ 'padding-3': 12px,
92
+ // initial padding-3
93
+ 'padding-4': 18px,
94
+ // initial padding-4
95
+ 'padding-5': 24px,
96
+ // initial padding-5
79
97
  // layout
80
98
  'two-column-left-width': 320px
81
99
  );
@@ -120,7 +138,7 @@
120
138
  }
121
139
 
122
140
  @function get-dbx-layout-padding($theme-config, $padding-level) {
123
- @return get-dbx-layout-config-var($theme-config, 'padding-'+ $padding-level);
141
+ @return get-dbx-layout-config-var($theme-config, 'padding-' + $padding-level);
124
142
  }
125
143
 
126
144
  @function get-dbx-two-column-left-width($theme-config) {
@@ -1,4 +1,4 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './all-core';
3
3
  @use './all-typography';
4
4
  @use './root-variables';
@@ -1,4 +1,3 @@
1
-
2
1
  @function vh($from100: 100) {
3
2
  @return calc(var(--vh100) * ($from100 / 100));
4
3
  }
@@ -1,4 +1,4 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
  @use './config';
3
3
  @use './variables';
4
4
 
@@ -53,8 +53,7 @@
53
53
  @mixin app-height($additionalOffset: 0) {
54
54
  @if $additionalOffset !=0 {
55
55
  height: calc(variables.$app-height - #{$additionalOffset});
56
- }
57
- @else {
56
+ } @else {
58
57
  height: variables.$app-height;
59
58
  }
60
59
  }
@@ -65,8 +64,7 @@
65
64
  @mixin page-height($additionalOffset: 0) {
66
65
  @if $additionalOffset !=0 {
67
66
  height: calc(variables.$page-height - #{$additionalOffset});
68
- }
69
- @else {
67
+ } @else {
70
68
  height: variables.$page-height;
71
69
  }
72
70
  }
@@ -77,8 +75,7 @@
77
75
  @mixin content-height($additionalOffset: 0) {
78
76
  @if $additionalOffset !=0 {
79
77
  height: calc(variables.$content-height - #{$additionalOffset});
80
- }
81
- @else {
78
+ } @else {
82
79
  height: variables.$content-height;
83
80
  }
84
81
  }
@@ -6,7 +6,6 @@
6
6
  $initial-bottom-banner-height: theming.get-dbx-layout-bottom-banner-height($theme-config);
7
7
 
8
8
  #{$root-selector} {
9
-
10
9
  // variables
11
10
  #{theming.$top-banner-height-var}: $initial-top-banner-height;
12
11
  #{theming.$bottom-banner-height-var}: $initial-bottom-banner-height;
@@ -33,5 +32,4 @@
33
32
  overflow: hidden;
34
33
  }
35
34
  }
36
-
37
35
  }
@@ -1,16 +1,6 @@
1
- @forward '@angular/material'show define-light-theme,
2
- define-dark-theme,
3
- define-palette,
4
- get-contrast-color-from-palette,
5
- get-color-from-palette,
6
- get-color-config,
7
- get-typography-config,
8
- get-density-config,
9
- elevation;
1
+ @forward '@angular/material' show define-light-theme, define-dark-theme, define-palette, get-contrast-color-from-palette, get-color-from-palette, get-color-config, get-typography-config, get-density-config, elevation;
10
2
 
11
- @forward 'node_modules/@angular/material/core/theming/theming'
12
- show private-check-duplicate-theme-styles,
13
- $theme-ignore-duplication-warnings;
3
+ @forward 'node_modules/@angular/material/core/theming/theming' show private-check-duplicate-theme-styles, $theme-ignore-duplication-warnings;
14
4
 
15
5
  @forward 'node_modules/@angular/material/core/typography/typography-utils';
16
6
 
@@ -1,7 +1,7 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
 
3
3
  // variable names
4
- $vh100-var: --vh100; // variable to use for 100vh.
4
+ $vh100-var: --vh100; // variable to use for 100vh.
5
5
 
6
6
  $top-banner-height-var: --dbx-top-banner-height;
7
7
  $bottom-banner-height-var: --dbx-bottom-banner-height;
@@ -44,6 +44,13 @@ $padding-3: var($padding-3-var);
44
44
  $padding-4: var($padding-4-var);
45
45
  $padding-5: var($padding-5-var);
46
46
 
47
- $padding-map: (0: $padding-0, 1: $padding-1, 2: $padding-2, 3: $padding-3, 4: $padding-4, 5: $padding-5);
47
+ $padding-map: (
48
+ 0: $padding-0,
49
+ 1: $padding-1,
50
+ 2: $padding-2,
51
+ 3: $padding-3,
52
+ 4: $padding-4,
53
+ 5: $padding-5
54
+ );
48
55
 
49
56
  $two-column-left-width: var($two-column-left-width-var);
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "4.1.0",
3
+ "version": "5.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.0.0",
6
6
  "@angular/core": "^13.0.0",
7
7
  "@angular/material": "^13.0.0",
8
- "@dereekb/rxjs": "4.1.0",
9
- "@dereekb/dbx-core": "4.1.0",
8
+ "@dereekb/rxjs": "5.1.0",
9
+ "@dereekb/dbx-core": "5.1.0",
10
10
  "@angular/flex-layout": "^13.0.0-beta.38",
11
- "ng-overlay-container": "^13.0.0",
11
+ "ng-overlay-container": "^13.0.2",
12
12
  "@angular/cdk": "^13.0.0",
13
13
  "angular-resize-event": "^3.1.1",
14
14
  "ngx-infinite-scroll": "^13.0.2",
15
- "linkify-string": "4.0.0-beta.5"
15
+ "linkify-string": "4.0.0-beta.5",
16
+ "@uirouter/angular": "^9.1.0"
16
17
  },
17
18
  "dependencies": {
18
19
  "tslib": "^2.3.0"