@dereekb/dbx-web 5.0.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/_index.scss +7 -9
  2. package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
  3. package/esm2020/lib/action/action.module.mjs +6 -45
  4. package/esm2020/lib/action/action.progress.component.mjs +2 -2
  5. package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
  6. package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +9 -7
  7. package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
  8. package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
  9. package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
  10. package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
  11. package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
  12. package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
  13. package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
  14. package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
  15. package/esm2020/lib/action/transition/transition.safety.directive.mjs +7 -4
  16. package/esm2020/lib/button/button.component.mjs +8 -6
  17. package/esm2020/lib/button/button.module.mjs +6 -26
  18. package/esm2020/lib/button/button.spacer.component.mjs +1 -1
  19. package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
  20. package/esm2020/lib/button/progress/base.progress.button.directive.mjs +3 -3
  21. package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
  22. package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
  23. package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
  24. package/esm2020/lib/dbx-web.module.mjs +4 -12
  25. package/esm2020/lib/error/error.action.directive.mjs +1 -1
  26. package/esm2020/lib/error/error.api.mjs +1 -1
  27. package/esm2020/lib/error/error.component.mjs +1 -1
  28. package/esm2020/lib/error/error.loading.directive.mjs +1 -1
  29. package/esm2020/lib/error/error.module.mjs +6 -22
  30. package/esm2020/lib/error/state.mjs +2 -2
  31. package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
  32. package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
  33. package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +2 -2
  34. package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
  35. package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
  36. package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
  37. package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
  38. package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
  39. package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
  40. package/esm2020/lib/interaction/interaction.module.mjs +4 -18
  41. package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
  42. package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +1 -1
  43. package/esm2020/lib/interaction/popover/popover.action.directive.mjs +2 -2
  44. package/esm2020/lib/interaction/popover/popover.component.mjs +21 -15
  45. package/esm2020/lib/interaction/popover/popover.content.component.mjs +13 -13
  46. package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +2 -2
  47. package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +9 -9
  48. package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
  49. package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
  50. package/esm2020/lib/interaction/popover/popover.mjs +1 -1
  51. package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
  52. package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
  53. package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
  54. package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
  55. package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
  56. package/esm2020/lib/interaction/popup/popup.component.mjs +21 -15
  57. package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
  58. package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +4 -4
  59. package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
  60. package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +8 -8
  61. package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +1 -1
  62. package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
  63. package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
  64. package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
  65. package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
  66. package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
  67. package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
  68. package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +1 -1
  69. package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +1 -1
  70. package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +1 -1
  71. package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +5 -3
  72. package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
  73. package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +2 -2
  74. package/esm2020/lib/keypress/keydown.listener.directive.mjs +1 -1
  75. package/esm2020/lib/keypress/keypress.module.mjs +5 -13
  76. package/esm2020/lib/layout/bar/bar.directive.mjs +2 -2
  77. package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
  78. package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
  79. package/esm2020/lib/layout/bar/bar.mjs +1 -1
  80. package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
  81. package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
  82. package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
  83. package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
  84. package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
  85. package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
  86. package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
  87. package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
  88. package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
  89. package/esm2020/lib/layout/column/two/index.mjs +1 -1
  90. package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
  91. package/esm2020/lib/layout/column/two/two.column.component.mjs +6 -7
  92. package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +1 -1
  93. package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +2 -2
  94. package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
  95. package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
  96. package/esm2020/lib/layout/column/two/two.column.right.component.mjs +4 -3
  97. package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
  98. package/esm2020/lib/layout/column/two/two.column.store.mjs +7 -5
  99. package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
  100. package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
  101. package/esm2020/lib/layout/compact/compact.mjs +3 -3
  102. package/esm2020/lib/layout/compact/compact.store.mjs +2 -2
  103. package/esm2020/lib/layout/content/content.border.directive.mjs +2 -2
  104. package/esm2020/lib/layout/content/content.box.directive.mjs +2 -2
  105. package/esm2020/lib/layout/content/content.container.directive.mjs +2 -2
  106. package/esm2020/lib/layout/content/content.directive.mjs +2 -2
  107. package/esm2020/lib/layout/content/content.elevate.directive.mjs +2 -2
  108. package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
  109. package/esm2020/lib/layout/content/content.page.directive.mjs +2 -2
  110. package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
  111. package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
  112. package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
  113. package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
  114. package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
  115. package/esm2020/lib/layout/flex/flex.mjs +1 -1
  116. package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
  117. package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
  118. package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
  119. package/esm2020/lib/layout/layout.module.mjs +4 -45
  120. package/esm2020/lib/layout/list/list.component.mjs +15 -13
  121. package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
  122. package/esm2020/lib/layout/list/list.directive.mjs +2 -2
  123. package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
  124. package/esm2020/lib/layout/list/list.view.directive.mjs +1 -1
  125. package/esm2020/lib/layout/list/list.view.mjs +7 -4
  126. package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
  127. package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
  128. package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
  129. package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
  130. package/esm2020/lib/layout/list/list.view.value.mjs +12 -8
  131. package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +4 -4
  132. package/esm2020/lib/layout/list/list.view.value.modifier.mjs +7 -5
  133. package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +4 -4
  134. package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
  135. package/esm2020/lib/layout/list/list.wrapper.mjs +6 -4
  136. package/esm2020/lib/layout/section/section.component.mjs +2 -2
  137. package/esm2020/lib/layout/section/section.header.component.mjs +5 -3
  138. package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
  139. package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
  140. package/esm2020/lib/layout/section/section.mjs +1 -1
  141. package/esm2020/lib/layout/section/section.page.component.mjs +11 -11
  142. package/esm2020/lib/layout/section/subsection.component.mjs +15 -15
  143. package/esm2020/lib/layout/step/step.component.mjs +3 -3
  144. package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
  145. package/esm2020/lib/layout/style/spacer.directive.mjs +2 -2
  146. package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
  147. package/esm2020/lib/layout/style/style.directive.mjs +1 -1
  148. package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
  149. package/esm2020/lib/layout/style/style.service.mjs +3 -3
  150. package/esm2020/lib/layout/style/style.set.directive.mjs +2 -2
  151. package/esm2020/lib/layout/text/hint.component.mjs +8 -4
  152. package/esm2020/lib/layout/text/icon.spacer.component.mjs +1 -1
  153. package/esm2020/lib/layout/text/label.component.mjs +8 -4
  154. package/esm2020/lib/layout/text/linkify.component.mjs +9 -5
  155. package/esm2020/lib/layout/text/note.component.mjs +8 -4
  156. package/esm2020/lib/layout/text/notice.component.mjs +8 -4
  157. package/esm2020/lib/layout/text/ok.component.mjs +8 -4
  158. package/esm2020/lib/layout/text/success.component.mjs +8 -4
  159. package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
  160. package/esm2020/lib/layout/text/text.module.mjs +6 -59
  161. package/esm2020/lib/layout/text/warn.component.mjs +8 -4
  162. package/esm2020/lib/loading/basic-loading.component.mjs +7 -6
  163. package/esm2020/lib/loading/loading-progress.component.mjs +15 -15
  164. package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
  165. package/esm2020/lib/loading/loading.component.mjs +16 -16
  166. package/esm2020/lib/loading/loading.module.mjs +6 -40
  167. package/esm2020/lib/router/layout/anchor/anchor.component.mjs +5 -5
  168. package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
  169. package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
  170. package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
  171. package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
  172. package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
  173. package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +4 -4
  174. package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
  175. package/esm2020/lib/router/layout/layout.module.mjs +4 -18
  176. package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
  177. package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
  178. package/esm2020/lib/router/layout/navbar/navbar.component.mjs +5 -5
  179. package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
  180. package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +8 -8
  181. package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
  182. package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
  183. package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
  184. package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +1 -1
  185. package/esm2020/lib/router/provider/index.mjs +1 -1
  186. package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +1 -1
  187. package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
  188. package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
  189. package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +4 -4
  190. package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
  191. package/esm2020/lib/screen/screen.mjs +6 -6
  192. package/esm2020/lib/screen/screen.module.mjs +1 -1
  193. package/esm2020/lib/screen/screen.service.mjs +4 -4
  194. package/fesm2015/dereekb-dbx-web.mjs +726 -1606
  195. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  196. package/fesm2020/dereekb-dbx-web.mjs +726 -1606
  197. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  198. package/lib/action/snackbar/_snackbar.scss +4 -5
  199. package/lib/action/snackbar/action.snackbar.d.ts +4 -4
  200. package/lib/action/snackbar/action.snackbar.generator.d.ts +3 -3
  201. package/lib/action/snackbar/action.snackbar.service.d.ts +5 -5
  202. package/lib/button/_button.scss +4 -4
  203. package/lib/button/progress/bar.button.component.scss +1 -1
  204. package/lib/button/progress/spinner.button.component.scss +5 -5
  205. package/lib/error/_error.scss +6 -4
  206. package/lib/interaction/dialog/_dialog.scss +4 -6
  207. package/lib/interaction/filter/_filter.scss +6 -3
  208. package/lib/interaction/popover/_popover.scss +2 -5
  209. package/lib/interaction/popover/popover.d.ts +2 -2
  210. package/lib/interaction/popup/_popup.scss +1 -5
  211. package/lib/interaction/prompt/_prompt.scss +5 -6
  212. package/lib/interaction/style/_style.scss +6 -5
  213. package/lib/layout/bar/_bar.scss +0 -5
  214. package/lib/layout/block/_block.scss +4 -4
  215. package/lib/layout/card/_card.scss +6 -4
  216. package/lib/layout/column/_column.scss +2 -7
  217. package/lib/layout/content/_content.scss +2 -9
  218. package/lib/layout/flag/_flag.scss +6 -4
  219. package/lib/layout/flex/_flex.scss +7 -8
  220. package/lib/layout/item/_item.scss +6 -4
  221. package/lib/layout/list/_list.scss +4 -8
  222. package/lib/layout/list/list.directive.d.ts +3 -3
  223. package/lib/layout/list/list.view.d.ts +2 -2
  224. package/lib/layout/list/list.view.value.d.ts +4 -4
  225. package/lib/layout/list/list.view.value.directive.d.ts +6 -6
  226. package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
  227. package/lib/layout/list/list.view.value.modifier.d.ts +5 -5
  228. package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -2
  229. package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +5 -5
  230. package/lib/layout/list/list.wrapper.d.ts +2 -2
  231. package/lib/layout/section/_section.scss +7 -18
  232. package/lib/layout/step/_step.scss +6 -4
  233. package/lib/layout/style/_style.scss +3 -7
  234. package/lib/layout/text/_text.scss +0 -5
  235. package/lib/router/layout/anchor/_anchor.scss +8 -8
  236. package/lib/router/layout/anchor/anchor.segue.directive.d.ts +3 -3
  237. package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
  238. package/lib/router/layout/list/router.list.directive.d.ts +6 -6
  239. package/lib/router/layout/navbar/_navbar.scss +7 -5
  240. package/lib/router/layout/sidenav/_sidenav.scss +3 -6
  241. package/lib/router/provider/router.provider.config.d.ts +1 -1
  242. package/lib/screen/screen.service.d.ts +3 -3
  243. package/lib/style/_config.scss +43 -25
  244. package/lib/style/_core.scss +1 -1
  245. package/lib/style/_function.scss +0 -1
  246. package/lib/style/_mixin.scss +4 -7
  247. package/lib/style/_root-variables.scss +0 -2
  248. package/lib/style/_theming.scss +2 -12
  249. package/lib/style/_variables.scss +10 -3
  250. package/package.json +3 -3
@@ -2,20 +2,19 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
6
  @mixin core() {
8
-
9
7
  .dbx-action-snackbar {
10
8
  display: flex;
11
9
  align-items: center;
12
10
  }
13
-
14
11
  }
15
12
 
16
- @mixin color($theme-config) {}
13
+ @mixin color($theme-config) {
14
+ }
17
15
 
18
- @mixin typography($typography-config) {}
16
+ @mixin typography($typography-config) {
17
+ }
19
18
 
20
19
  @mixin theme($theme-config) {
21
20
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-action-snackbar') {
@@ -1,7 +1,7 @@
1
- import { MatSnackBarConfig } from "@angular/material/snack-bar";
2
- import { DbxActionContextSourceReference } from "@dereekb/dbx-core";
3
- import { LoadingState, LoadingStateType } from "@dereekb/rxjs";
4
- import { Maybe } from "@dereekb/util";
1
+ import { MatSnackBarConfig } from '@angular/material/snack-bar';
2
+ import { DbxActionContextSourceReference } from '@dereekb/dbx-core';
3
+ import { LoadingState, LoadingStateType } from '@dereekb/rxjs';
4
+ import { Maybe } from '@dereekb/util';
5
5
  export declare type DbxActionSnackbarType = string;
6
6
  export declare type DbxActionSnackbarKnownType = 'none' | 'create' | 'save' | 'delete' | 'merge' | 'send' | 'cancel' | 'restore' | 'refresh' | 'read' | 'unread';
7
7
  /**
@@ -1,6 +1,6 @@
1
- import { DbxActionContextSourceReference } from "@dereekb/dbx-core";
2
- import { Milliseconds, Maybe, GetterOrValue, Getter } from "@dereekb/util";
3
- import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarEvent } from "./action.snackbar";
1
+ import { DbxActionContextSourceReference } from '@dereekb/dbx-core';
2
+ import { Milliseconds, Maybe, GetterOrValue, Getter } from '@dereekb/util';
3
+ import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarEvent } from './action.snackbar';
4
4
  export interface DbxActionSnackbarGeneratorInput<T = unknown, O = unknown> {
5
5
  event: DbxActionSnackbarEvent<O>;
6
6
  undo?: Maybe<DbxActionSnackbarGeneratorUndoInput<T, O>>;
@@ -1,9 +1,9 @@
1
1
  import { DbxActionSnackbarComponent } from './action.snackbar.component';
2
- import { InjectionToken, Type } from "@angular/core";
3
- import { MatSnackBar, MatSnackBarConfig, MatSnackBarRef } from "@angular/material/snack-bar";
4
- import { Milliseconds, Maybe } from "@dereekb/util";
5
- import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarType } from "./action.snackbar";
6
- import { DbxActionSnackbarGeneratorInput, DbxMakeActionSnackbarGeneratorConfiguration } from "./action.snackbar.generator";
2
+ import { InjectionToken, Type } from '@angular/core';
3
+ import { MatSnackBar, MatSnackBarConfig, MatSnackBarRef } from '@angular/material/snack-bar';
4
+ import { Milliseconds, Maybe } from '@dereekb/util';
5
+ import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarType } from './action.snackbar';
6
+ import { DbxActionSnackbarGeneratorInput, DbxMakeActionSnackbarGeneratorConfiguration } from './action.snackbar.generator';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const DBX_ACTION_SNACKBAR_SERVICE_CONFIG: InjectionToken<unknown>;
9
9
  export declare const DEFAULT_SNACKBAR_DIRECTIVE_DURATION: number;
@@ -5,7 +5,6 @@ $button-spacer-width: 6px;
5
5
 
6
6
  // MARK: Mixin
7
7
  @mixin core() {
8
-
9
8
  .dbx-wide-button {
10
9
  .dbx-button {
11
10
  min-width: 120px;
@@ -30,12 +29,13 @@ $button-spacer-width: 6px;
30
29
  // mat-spinners marked with dbx-spinner-custom should allow the stroke to be inherited.
31
30
  stroke: unset !important;
32
31
  }
33
-
34
32
  }
35
33
 
36
- @mixin color($theme-config) {}
34
+ @mixin color($theme-config) {
35
+ }
37
36
 
38
- @mixin typography($typography-config) {}
37
+ @mixin typography($typography-config) {
38
+ }
39
39
 
40
40
  @mixin theme($theme-config) {
41
41
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-button') {
@@ -7,7 +7,7 @@
7
7
  width: 100%;
8
8
  }
9
9
  .bar {
10
- position:absolute;
10
+ position: absolute;
11
11
  top: 0;
12
12
  left: 0;
13
13
  }
@@ -5,7 +5,7 @@
5
5
  cursor: not-allowed;
6
6
  }
7
7
  & ::ng-deep .mat-button-wrapper {
8
- display:flex;
8
+ display: flex;
9
9
  align-items: center;
10
10
  justify-content: center;
11
11
  }
@@ -15,22 +15,22 @@
15
15
  .spinner {
16
16
  position: absolute;
17
17
  // top: 25%;
18
- opacity:0;
19
- transition: opacity .3s ease-in-out;
18
+ opacity: 0;
19
+ transition: opacity 0.3s ease-in-out;
20
20
  &.working {
21
21
  opacity: 1;
22
22
  }
23
23
  }
24
24
  .button-text {
25
25
  opacity: 1;
26
- transition: opacity .3s ease-in-out;
26
+ transition: opacity 0.3s ease-in-out;
27
27
  &.working {
28
28
  opacity: 0;
29
29
  }
30
30
  }
31
31
  mat-icon.mat-button-icon {
32
32
  padding-right: 5px;
33
- transition: opacity .3s ease-in-out;
33
+ transition: opacity 0.3s ease-in-out;
34
34
  &.is-mat-icon {
35
35
  font-size: 18px;
36
36
  position: relative;
@@ -2,13 +2,15 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
- @mixin core() {}
6
+ @mixin core() {
7
+ }
8
8
 
9
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
10
11
 
11
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
12
14
 
13
15
  @mixin theme($theme-config) {
14
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-error') {
@@ -6,9 +6,7 @@ $max-dialog-width: 90vw;
6
6
 
7
7
  // MARK: Mixin
8
8
  @mixin core() {
9
-
10
9
  .dbx-dialog-content {
11
-
12
10
  &.normal-dialog-content {
13
11
  width: $dialog-width;
14
12
  min-width: $dialog-width;
@@ -17,14 +15,14 @@ $max-dialog-width: 90vw;
17
15
  &.wide-dialog-content {
18
16
  width: $max-dialog-width;
19
17
  }
20
-
21
18
  }
22
-
23
19
  }
24
20
 
25
- @mixin color($theme-config) {}
21
+ @mixin color($theme-config) {
22
+ }
26
23
 
27
- @mixin typography($typography-config) {}
24
+ @mixin typography($typography-config) {
25
+ }
28
26
 
29
27
  @mixin theme($theme-config) {
30
28
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-dialog') {
@@ -3,11 +3,14 @@
3
3
  // MARK: Variables
4
4
 
5
5
  // MARK: Mixin
6
- @mixin core() {}
6
+ @mixin core() {
7
+ }
7
8
 
8
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
9
11
 
10
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
11
14
 
12
15
  @mixin theme($theme-config) {
13
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-filter') {
@@ -7,7 +7,6 @@ $dbx-popover-header-height: 48px;
7
7
 
8
8
  // MARK: Mixin
9
9
  @mixin core() {
10
-
11
10
  .dbx-popover-content,
12
11
  .dbx-popover-component {
13
12
  height: 100%;
@@ -72,12 +71,10 @@ $dbx-popover-header-height: 48px;
72
71
  &.popover-has-controls-and-header {
73
72
  @include fillPopoverContentHeight(1, 1);
74
73
  }
75
-
76
74
  }
77
75
  }
78
76
 
79
77
  @mixin color($theme-config) {
80
-
81
78
  .dbx-popover-header {
82
79
  .dbx-popover-header-content {
83
80
  @include theming.if-small-screen($theme-config) {
@@ -85,10 +82,10 @@ $dbx-popover-header-height: 48px;
85
82
  }
86
83
  }
87
84
  }
88
-
89
85
  }
90
86
 
91
- @mixin typography($typography-config) {}
87
+ @mixin typography($typography-config) {
88
+ }
92
89
 
93
90
  @mixin theme($theme-config) {
94
91
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-popover') {
@@ -1,5 +1,5 @@
1
- import { Maybe } from "@dereekb/util";
2
- import { Observable } from "rxjs";
1
+ import { Maybe } from '@dereekb/util';
2
+ import { Observable } from 'rxjs';
3
3
  export declare type DbxPopoverKey = string;
4
4
  export declare abstract class DbxPopoverController<O = unknown, I = unknown> {
5
5
  abstract readonly key: DbxPopoverKey;
@@ -13,7 +13,6 @@ $dbx-popup-border-radius: 4px;
13
13
 
14
14
  // MARK: Mixin
15
15
  @mixin core() {
16
-
17
16
  .dbx-popup-content {
18
17
  box-sizing: border-box;
19
18
  overflow: hidden;
@@ -21,7 +20,7 @@ $dbx-popup-border-radius: 4px;
21
20
  }
22
21
 
23
22
  .dbx-popup-content-container {
24
- max-height: calc(theming.$app-height - #{ $dbx-popup-controls-height });
23
+ max-height: calc(theming.$app-height - #{$dbx-popup-controls-height});
25
24
  padding: $dbx-popup-content-padding;
26
25
  padding-top: $dbx-popup-content-padding-top;
27
26
  overflow: auto;
@@ -43,7 +42,6 @@ $dbx-popup-border-radius: 4px;
43
42
  display: inline-block;
44
43
  text-align: right;
45
44
  }
46
-
47
45
  }
48
46
 
49
47
  @mixin color($theme-config) {
@@ -59,11 +57,9 @@ $dbx-popup-border-radius: 4px;
59
57
  }
60
58
 
61
59
  @mixin typography($typography-config) {
62
-
63
60
  .dbx-popup-controls-header {
64
61
  @include theming.limit-text();
65
62
  }
66
-
67
63
  }
68
64
 
69
65
  @mixin theme($theme-config) {
@@ -6,10 +6,9 @@ $dbx-popup-controls-height: 33px;
6
6
 
7
7
  // MARK: Mixin
8
8
  @mixin core() {
9
-
10
9
  .dbx-prompt-page {
11
10
  .dbx-prompt-page-content-wrap {
12
- padding-top: calc(theming.$app-height * .2)
11
+ padding-top: calc(theming.$app-height * 0.2);
13
12
  }
14
13
  }
15
14
 
@@ -21,14 +20,14 @@ $dbx-popup-controls-height: 33px;
21
20
  &.elevated {
22
21
  @include theming.elevation(2);
23
22
  }
24
-
25
23
  }
26
-
27
24
  }
28
25
 
29
- @mixin color($theme-config) {}
26
+ @mixin color($theme-config) {
27
+ }
30
28
 
31
- @mixin typography($typography-config) {}
29
+ @mixin typography($typography-config) {
30
+ }
32
31
 
33
32
  @mixin theme($theme-config) {
34
33
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-prompt') {
@@ -5,11 +5,9 @@
5
5
 
6
6
  // Sections
7
7
  @mixin core() {
8
-
9
8
  .cdk-overlay-pane .mat-menu-panel {
10
9
  max-width: 90vw;
11
10
  }
12
-
13
11
  }
14
12
 
15
13
  @mixin color($theme-config) {
@@ -18,7 +16,10 @@
18
16
  $foreground: map.get($color-config, 'foreground');
19
17
  $cdk-background-color: theming.get-color-from-palette($background, 'background');
20
18
  $cdk-text-color: theming.get-color-from-palette($foreground, 'text');
21
- $cdk-border-color: color.adjust($color: $cdk-text-color, $alpha: -0.90);
19
+ $cdk-border-color: color.adjust(
20
+ $color: $cdk-text-color,
21
+ $alpha: -0.9
22
+ );
22
23
 
23
24
  .ng-overlay-container {
24
25
  color: $cdk-text-color;
@@ -26,10 +27,10 @@
26
27
  @include theming.elevation(8);
27
28
  border: 1px solid $cdk-border-color;
28
29
  }
29
-
30
30
  }
31
31
 
32
- @mixin typography($typography-config) {}
32
+ @mixin typography($typography-config) {
33
+ }
33
34
 
34
35
  @mixin theme($theme-config) {
35
36
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-interaction-style') {
@@ -9,7 +9,6 @@ $bar-vertical-padding: theming.$padding-1;
9
9
 
10
10
  // MARK: Mixin
11
11
  @mixin core() {
12
-
13
12
  .dbx-banner {
14
13
  @include theming.elevation(3);
15
14
  }
@@ -33,7 +32,6 @@ $bar-vertical-padding: theming.$padding-1;
33
32
  display: none;
34
33
  }
35
34
  }
36
-
37
35
  }
38
36
 
39
37
  @mixin color($theme-config) {
@@ -54,15 +52,12 @@ $bar-vertical-padding: theming.$padding-1;
54
52
  background: $dbx-bar-bg-color;
55
53
  color: $dbx-bar-color;
56
54
  }
57
-
58
55
  }
59
56
 
60
57
  @mixin typography($typography-config) {
61
-
62
58
  .dbx-bar {
63
59
  font-size: theming.font-size($typography-config, 'caption');
64
60
  }
65
-
66
61
  }
67
62
 
68
63
  @mixin theme($theme-config) {
@@ -6,7 +6,6 @@ $two-block-top-height-var: --dbx-two-block-top-height;
6
6
 
7
7
  // MARK: Mixin
8
8
  @mixin core() {
9
-
10
9
  .dbx-two-block.dbx-two-block-fixed-top {
11
10
  height: 100%;
12
11
  }
@@ -19,12 +18,13 @@ $two-block-top-height-var: --dbx-two-block-top-height;
19
18
  height: calc(100% - var($two-block-top-height-var));
20
19
  }
21
20
  }
22
-
23
21
  }
24
22
 
25
- @mixin color($theme-config) {}
23
+ @mixin color($theme-config) {
24
+ }
26
25
 
27
- @mixin typography($typography-config) {}
26
+ @mixin typography($typography-config) {
27
+ }
28
28
 
29
29
  @mixin theme($theme-config) {
30
30
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-block') {
@@ -2,13 +2,15 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
- @mixin core() {}
6
+ @mixin core() {
7
+ }
8
8
 
9
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
10
11
 
11
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
12
14
 
13
15
  @mixin theme($theme-config) {
14
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-card') {
@@ -8,7 +8,6 @@ $two-columns-right-padding-size: 6px;
8
8
 
9
9
  // MARK: Mixin
10
10
  @mixin core() {
11
-
12
11
  .dbx-two-column {
13
12
  height: 100%;
14
13
  max-width: 100%;
@@ -43,7 +42,6 @@ $two-columns-right-padding-size: 6px;
43
42
  }
44
43
  }
45
44
 
46
-
47
45
  .right-column {
48
46
  flex: 1 1 auto;
49
47
  max-width: calc(100% - #{$two-column-left-width});
@@ -93,13 +91,10 @@ $two-columns-right-padding-size: 6px;
93
91
  .side-spacer {
94
92
  padding-left: $two-columns-right-padding-size;
95
93
  }
96
-
97
94
  }
98
-
99
95
  }
100
96
 
101
97
  @mixin color($theme-config) {
102
-
103
98
  .dbx-two-column {
104
99
  @include theming.if-small-screen($theme-config) {
105
100
  .left-column {
@@ -121,10 +116,10 @@ $two-columns-right-padding-size: 6px;
121
116
  }
122
117
  }
123
118
  }
124
-
125
119
  }
126
120
 
127
- @mixin typography($typography-config) {}
121
+ @mixin typography($typography-config) {
122
+ }
128
123
 
129
124
  @mixin theme($theme-config) {
130
125
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-column') {
@@ -17,7 +17,6 @@ $content-container-padding: theming.$padding-4;
17
17
  $content-container-padding-small-screen: theming.$padding-2;
18
18
 
19
19
  @mixin core() {
20
-
21
20
  .dbx-content-border {
22
21
  padding: $content-border-inner-padding;
23
22
  }
@@ -108,9 +107,7 @@ $content-container-padding-small-screen: theming.$padding-2;
108
107
  overflow-x: hidden;
109
108
  overflow-y: auto;
110
109
  }
111
-
112
110
  }
113
-
114
111
  }
115
112
 
116
113
  @mixin color($theme-config) {
@@ -132,9 +129,7 @@ $content-container-padding-small-screen: theming.$padding-2;
132
129
  }
133
130
 
134
131
  .dbx-content-container {
135
-
136
132
  @include theming.if-small-screen($theme-config) {
137
-
138
133
  // reduce all paddings down.
139
134
  &,
140
135
  &.container-padding-min,
@@ -146,14 +141,12 @@ $content-container-padding-small-screen: theming.$padding-2;
146
141
  &.container-padding-none {
147
142
  padding: 0;
148
143
  }
149
-
150
144
  }
151
-
152
145
  }
153
-
154
146
  }
155
147
 
156
- @mixin typography($typography-config) {}
148
+ @mixin typography($typography-config) {
149
+ }
157
150
 
158
151
  @mixin theme($theme-config) {
159
152
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-content') {
@@ -2,13 +2,15 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
- @mixin core() {}
6
+ @mixin core() {
7
+ }
8
8
 
9
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
10
11
 
11
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
12
14
 
13
15
  @mixin theme($theme-config) {
14
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-flag') {
@@ -6,7 +6,6 @@ $dbx-flex-group-columns-count: 6;
6
6
 
7
7
  // MARK: Mixin
8
8
  @mixin core() {
9
-
10
9
  .dbx-flex {
11
10
  display: flex;
12
11
  }
@@ -22,7 +21,7 @@ $dbx-flex-group-columns-count: 6;
22
21
  margin: 0 #{-$dbx-flex-group-padding} #{-$dbx-flex-group-padding} 0;
23
22
  // padding: 0 $dbx-flex-group-padding $dbx-flex-group-padding 0;
24
23
 
25
- >* {
24
+ > * {
26
25
  box-sizing: border-box;
27
26
  padding: 0 $dbx-flex-group-padding $dbx-flex-group-padding 0;
28
27
  }
@@ -35,10 +34,9 @@ $dbx-flex-group-columns-count: 6;
35
34
  max-width: calc((100% * (#{$i}/#{$dbx-flex-group-columns-count})));
36
35
  }
37
36
  }
38
-
39
37
  }
40
38
 
41
- .dbx-flex-group-relative>.dbx-flex-group,
39
+ .dbx-flex-group-relative > .dbx-flex-group,
42
40
  .dbx-flex-group.dbx-flex-group-relative {
43
41
  @for $i from 1 through 6 {
44
42
  .dbx-flex-#{$i} {
@@ -47,7 +45,7 @@ $dbx-flex-group-columns-count: 6;
47
45
  }
48
46
  }
49
47
 
50
- .dbx-flex-group-small>.dbx-flex-group,
48
+ .dbx-flex-group-small > .dbx-flex-group,
51
49
  .dbx-flex-group.dbx-flex-group-small {
52
50
  @for $i from 1 through 5 {
53
51
  .dbx-flex-#{$i} {
@@ -57,12 +55,13 @@ $dbx-flex-group-columns-count: 6;
57
55
  }
58
56
  }
59
57
  }
60
-
61
58
  }
62
59
 
63
- @mixin color($theme-config) {}
60
+ @mixin color($theme-config) {
61
+ }
64
62
 
65
- @mixin typography($typography-config) {}
63
+ @mixin typography($typography-config) {
64
+ }
66
65
 
67
66
  @mixin theme($theme-config) {
68
67
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-flex') {
@@ -2,13 +2,15 @@
2
2
 
3
3
  // MARK: Variables
4
4
 
5
-
6
5
  // MARK: Mixin
7
- @mixin core() {}
6
+ @mixin core() {
7
+ }
8
8
 
9
- @mixin color($theme-config) {}
9
+ @mixin color($theme-config) {
10
+ }
10
11
 
11
- @mixin typography($typography-config) {}
12
+ @mixin typography($typography-config) {
13
+ }
12
14
 
13
15
  @mixin theme($theme-config) {
14
16
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-item') {
@@ -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-list {
10
8
  overflow: hidden;
11
9
  height: 100%;
@@ -27,7 +25,6 @@
27
25
  &.dbx-list-content-hidden {
28
26
  display: none;
29
27
  }
30
-
31
28
  }
32
29
 
33
30
  .dbx-list-content-box {
@@ -35,7 +32,6 @@
35
32
  }
36
33
 
37
34
  .dbx-list-view {
38
-
39
35
  .mat-list-base .dbx-list-view-item.mat-list-item {
40
36
  height: unset;
41
37
 
@@ -46,15 +42,15 @@
46
42
  min-height: 56px;
47
43
  }
48
44
  }
49
-
50
45
  }
51
46
  }
52
-
53
47
  }
54
48
 
55
- @mixin color($theme-config) {}
49
+ @mixin color($theme-config) {
50
+ }
56
51
 
57
- @mixin typography($typography-config) {}
52
+ @mixin typography($typography-config) {
53
+ }
58
54
 
59
55
  @mixin theme($theme-config) {
60
56
  @include theming.private-check-duplicate-theme-styles($theme-config, 'dbx-layout-list') {
@@ -1,8 +1,8 @@
1
1
  import { ListLoadingState, ObservableOrValue } from '@dereekb/rxjs';
2
2
  import { Observable } from 'rxjs';
3
- import { EventEmitter, OnInit, OnDestroy } from "@angular/core";
4
- import { DbxListConfig } from "./list.component";
5
- import { DbxListSelectionMode, DbxListView, ListSelectionState } from "./list.view";
3
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
4
+ import { DbxListConfig } from './list.component';
5
+ import { DbxListSelectionMode, DbxListView, ListSelectionState } from './list.view';
6
6
  import { Maybe } from '@dereekb/util';
7
7
  import { DbxListViewWrapper } from './list.wrapper';
8
8
  import * as i0 from "@angular/core";