@bravura/ui 3.8.0 → 4.0.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 (267) hide show
  1. package/CHANGELOG.md +579 -557
  2. package/LICENSE +6 -6
  3. package/README.md +56 -54
  4. package/alert/alert-container.component.d.ts +1 -1
  5. package/alert/alert-message.component.d.ts +1 -1
  6. package/behavior/await.directive.d.ts +1 -1
  7. package/behavior/observe-content-class.directive.d.ts +1 -1
  8. package/behavior/sizing.directive.d.ts +1 -1
  9. package/clip-note/clip-note.directive.d.ts +1 -1
  10. package/currency-input/currency-input.directive.d.ts +1 -1
  11. package/decimal-input/decimal-input.directive.d.ts +1 -1
  12. package/discrete-input/discrete-input.component.d.ts +1 -1
  13. package/esm2022/alert/alert-container.component.mjs +207 -0
  14. package/esm2022/alert/alert-message.component.mjs +101 -0
  15. package/esm2022/alert/alert.module.mjs +22 -0
  16. package/{esm2020 → esm2022}/alert/public-api.mjs +1 -1
  17. package/esm2022/alert/testing/test-api.mjs +44 -0
  18. package/{esm2020 → esm2022}/behavior/await.directive.mjs +6 -6
  19. package/esm2022/behavior/behavior.module.mjs +37 -0
  20. package/{esm2020 → esm2022}/behavior/observe-content-class.directive.mjs +5 -5
  21. package/{esm2020 → esm2022}/behavior/public-api.mjs +1 -1
  22. package/esm2022/behavior/sizing-monitor.directive.mjs +31 -0
  23. package/esm2022/behavior/sizing.directive.mjs +256 -0
  24. package/esm2022/clip-note/clip-note.component.mjs +216 -0
  25. package/esm2022/clip-note/clip-note.directive.mjs +141 -0
  26. package/esm2022/clip-note/clip-note.module.mjs +32 -0
  27. package/{esm2020 → esm2022}/clip-note/public-api.mjs +1 -1
  28. package/{esm2020 → esm2022}/common/common-utils.mjs +1 -1
  29. package/{esm2020 → esm2022}/common/common.module.mjs +7 -7
  30. package/{esm2020 → esm2022}/common/public-api.mjs +1 -1
  31. package/{esm2020 → esm2022}/currency-input/currency-input.directive.mjs +6 -6
  32. package/esm2022/currency-input/currency-input.module.mjs +19 -0
  33. package/{esm2020 → esm2022}/currency-input/public-api.mjs +1 -1
  34. package/{esm2020 → esm2022}/decimal-input/decimal-input.directive.mjs +9 -9
  35. package/{esm2020 → esm2022}/decimal-input/decimal-input.module.mjs +5 -5
  36. package/esm2022/discrete-input/discrete-input.component.mjs +337 -0
  37. package/esm2022/discrete-input/discrete-input.module.mjs +21 -0
  38. package/{esm2020 → esm2022}/discrete-input/public-api.mjs +1 -1
  39. package/esm2022/file-upload/file-upload.component.mjs +400 -0
  40. package/esm2022/file-upload/file-upload.module.mjs +44 -0
  41. package/esm2022/file-upload/file-upload.service.mjs +29 -0
  42. package/{esm2020 → esm2022}/file-upload/public-api.mjs +1 -1
  43. package/esm2022/form-field/form-field.component.mjs +82 -0
  44. package/esm2022/form-field/form-field.module.mjs +33 -0
  45. package/{esm2020 → esm2022}/form-field/public-api.mjs +1 -1
  46. package/esm2022/icon-font/icon-font.module.mjs +22 -0
  47. package/{esm2020 → esm2022}/icon-font/icon.directive.mjs +5 -5
  48. package/{esm2020 → esm2022}/icon-font/public-api.mjs +1 -1
  49. package/{esm2020 → esm2022}/icon-font/utilities.mjs +1 -1
  50. package/esm2022/panel/panel-section.component.mjs +41 -0
  51. package/esm2022/panel/panel.component.mjs +87 -0
  52. package/esm2022/panel/panel.module.mjs +23 -0
  53. package/{esm2020 → esm2022}/panel/public-api.mjs +1 -1
  54. package/esm2022/panel/tinted.directive.mjs +60 -0
  55. package/esm2022/phone-number/phone-number.directive.mjs +188 -0
  56. package/{esm2020 → esm2022}/phone-number/phone-number.module.mjs +5 -5
  57. package/{esm2020 → esm2022}/phone-number/phone-number.pipe.mjs +6 -6
  58. package/esm2022/phone-number/phone-number.validator.mjs +64 -0
  59. package/{esm2020 → esm2022}/phone-number/public-api.mjs +1 -1
  60. package/{esm2020 → esm2022}/public-api.mjs +1 -1
  61. package/esm2022/radio-panel/radio-panel-item.component.mjs +93 -0
  62. package/esm2022/radio-panel/radio-panel.component.mjs +81 -0
  63. package/{esm2020 → esm2022}/radio-panel/radio-panel.module.mjs +5 -5
  64. package/esm2022/radio-panel/testing/test-api.mjs +46 -0
  65. package/{esm2020 → esm2022}/selection-panel/public-api.mjs +1 -1
  66. package/esm2022/selection-panel/selection-panel-item.component.mjs +166 -0
  67. package/esm2022/selection-panel/selection-panel.directive.mjs +119 -0
  68. package/esm2022/selection-panel/selection-panel.module.mjs +23 -0
  69. package/{esm2020 → esm2022}/skeletons/public-api.mjs +1 -1
  70. package/esm2022/skeletons/skeleton-loader-presets.directive.mjs +83 -0
  71. package/{esm2020 → esm2022}/skeletons/skeleton-loader.component.mjs +5 -5
  72. package/esm2022/skeletons/skeletons.module.mjs +35 -0
  73. package/{esm2020 → esm2022}/stepper/public-api.mjs +1 -1
  74. package/{esm2020 → esm2022}/stepper/stepper-animation.mjs +1 -1
  75. package/esm2022/stepper/stepper.component.mjs +176 -0
  76. package/esm2022/stepper/stepper.module.mjs +52 -0
  77. package/{esm2020 → esm2022}/tooltip/public-api.mjs +1 -1
  78. package/esm2022/tooltip/tooltip.component.mjs +63 -0
  79. package/esm2022/tooltip/tooltip.directive.mjs +148 -0
  80. package/esm2022/tooltip/tooltip.module.mjs +25 -0
  81. package/{fesm2020 → fesm2022}/bravura-ui-alert-testing.mjs +2 -2
  82. package/fesm2022/bravura-ui-alert-testing.mjs.map +1 -0
  83. package/fesm2022/bravura-ui-alert.mjs +327 -0
  84. package/fesm2022/bravura-ui-alert.mjs.map +1 -0
  85. package/{fesm2020 → fesm2022}/bravura-ui-behavior.mjs +45 -45
  86. package/fesm2022/bravura-ui-behavior.mjs.map +1 -0
  87. package/{fesm2020 → fesm2022}/bravura-ui-clip-note.mjs +70 -70
  88. package/fesm2022/bravura-ui-clip-note.mjs.map +1 -0
  89. package/{fesm2020 → fesm2022}/bravura-ui-common.mjs +6 -6
  90. package/fesm2022/bravura-ui-common.mjs.map +1 -0
  91. package/{fesm2020 → fesm2022}/bravura-ui-currency-input.mjs +11 -11
  92. package/fesm2022/bravura-ui-currency-input.mjs.map +1 -0
  93. package/{fesm2020 → fesm2022}/bravura-ui-decimal-input.mjs +12 -12
  94. package/fesm2022/bravura-ui-decimal-input.mjs.map +1 -0
  95. package/{fesm2020 → fesm2022}/bravura-ui-discrete-input.mjs +48 -48
  96. package/fesm2022/bravura-ui-discrete-input.mjs.map +1 -0
  97. package/fesm2022/bravura-ui-file-upload.mjs +474 -0
  98. package/fesm2022/bravura-ui-file-upload.mjs.map +1 -0
  99. package/{fesm2020 → fesm2022}/bravura-ui-form-field.mjs +19 -19
  100. package/fesm2022/bravura-ui-form-field.mjs.map +1 -0
  101. package/{fesm2020 → fesm2022}/bravura-ui-icon-font.mjs +8 -8
  102. package/fesm2022/bravura-ui-icon-font.mjs.map +1 -0
  103. package/fesm2022/bravura-ui-panel.mjs +206 -0
  104. package/fesm2022/bravura-ui-panel.mjs.map +1 -0
  105. package/{fesm2020 → fesm2022}/bravura-ui-phone-number.mjs +30 -30
  106. package/fesm2022/bravura-ui-phone-number.mjs.map +1 -0
  107. package/{fesm2020 → fesm2022}/bravura-ui-radio-panel-testing.mjs +5 -6
  108. package/fesm2022/bravura-ui-radio-panel-testing.mjs.map +1 -0
  109. package/{fesm2020 → fesm2022}/bravura-ui-radio-panel.mjs +31 -31
  110. package/fesm2022/bravura-ui-radio-panel.mjs.map +1 -0
  111. package/fesm2022/bravura-ui-selection-panel.mjs +306 -0
  112. package/fesm2022/bravura-ui-selection-panel.mjs.map +1 -0
  113. package/{fesm2020 → fesm2022}/bravura-ui-skeletons.mjs +43 -43
  114. package/fesm2022/bravura-ui-skeletons.mjs.map +1 -0
  115. package/fesm2022/bravura-ui-stepper.mjs +251 -0
  116. package/fesm2022/bravura-ui-stepper.mjs.map +1 -0
  117. package/{fesm2020 → fesm2022}/bravura-ui-tooltip.mjs +32 -24
  118. package/fesm2022/bravura-ui-tooltip.mjs.map +1 -0
  119. package/fesm2022/bravura-ui.mjs.map +1 -0
  120. package/file-upload/file-upload.component.d.ts +1 -1
  121. package/form-field/form-field.component.d.ts +1 -1
  122. package/icon-font/icon.directive.d.ts +1 -1
  123. package/package.json +76 -120
  124. package/panel/panel.component.d.ts +1 -1
  125. package/panel/tinted.directive.d.ts +1 -1
  126. package/phone-number/phone-number.directive.d.ts +1 -1
  127. package/phone-number/phone-number.validator.d.ts +2 -2
  128. package/radio-panel/radio-panel-item.component.d.ts +1 -1
  129. package/radio-panel/radio-panel.component.d.ts +1 -1
  130. package/radio-panel/testing/test-api.d.ts +2 -3
  131. package/selection-panel/selection-panel-item.component.d.ts +1 -1
  132. package/selection-panel/selection-panel.directive.d.ts +1 -1
  133. package/skeletons/skeleton-loader-presets.directive.d.ts +3 -3
  134. package/stepper/stepper.component.d.ts +1 -1
  135. package/theme/_bui-card.scss +56 -56
  136. package/theme/_ui-theme.scss +112 -112
  137. package/theme/global-style-by-bootstrap.scss +3 -3
  138. package/theme/global-style-by-tailwind.scss +3 -3
  139. package/theme/scrollbar.scss +40 -40
  140. package/tooltip/tooltip.component.d.ts +2 -0
  141. package/tooltip/tooltip.directive.d.ts +3 -5
  142. package/esm2020/alert/alert-container.component.mjs +0 -207
  143. package/esm2020/alert/alert-message.component.mjs +0 -102
  144. package/esm2020/alert/alert.module.mjs +0 -22
  145. package/esm2020/alert/testing/test-api.mjs +0 -44
  146. package/esm2020/behavior/behavior.module.mjs +0 -37
  147. package/esm2020/behavior/sizing-monitor.directive.mjs +0 -31
  148. package/esm2020/behavior/sizing.directive.mjs +0 -256
  149. package/esm2020/clip-note/clip-note.component.mjs +0 -216
  150. package/esm2020/clip-note/clip-note.directive.mjs +0 -141
  151. package/esm2020/clip-note/clip-note.module.mjs +0 -32
  152. package/esm2020/currency-input/currency-input.module.mjs +0 -19
  153. package/esm2020/discrete-input/discrete-input.component.mjs +0 -337
  154. package/esm2020/discrete-input/discrete-input.module.mjs +0 -21
  155. package/esm2020/file-upload/file-upload.component.mjs +0 -400
  156. package/esm2020/file-upload/file-upload.module.mjs +0 -44
  157. package/esm2020/file-upload/file-upload.service.mjs +0 -29
  158. package/esm2020/form-field/form-field.component.mjs +0 -82
  159. package/esm2020/form-field/form-field.module.mjs +0 -33
  160. package/esm2020/icon-font/icon-font.module.mjs +0 -22
  161. package/esm2020/panel/panel-section.component.mjs +0 -41
  162. package/esm2020/panel/panel.component.mjs +0 -87
  163. package/esm2020/panel/panel.module.mjs +0 -23
  164. package/esm2020/panel/tinted.directive.mjs +0 -60
  165. package/esm2020/phone-number/phone-number.directive.mjs +0 -188
  166. package/esm2020/phone-number/phone-number.validator.mjs +0 -64
  167. package/esm2020/radio-panel/radio-panel-item.component.mjs +0 -93
  168. package/esm2020/radio-panel/radio-panel.component.mjs +0 -81
  169. package/esm2020/radio-panel/testing/test-api.mjs +0 -47
  170. package/esm2020/selection-panel/selection-panel-item.component.mjs +0 -166
  171. package/esm2020/selection-panel/selection-panel.directive.mjs +0 -119
  172. package/esm2020/selection-panel/selection-panel.module.mjs +0 -23
  173. package/esm2020/skeletons/skeleton-loader-presets.directive.mjs +0 -83
  174. package/esm2020/skeletons/skeletons.module.mjs +0 -35
  175. package/esm2020/stepper/stepper.component.mjs +0 -176
  176. package/esm2020/stepper/stepper.module.mjs +0 -52
  177. package/esm2020/tooltip/tooltip.component.mjs +0 -54
  178. package/esm2020/tooltip/tooltip.directive.mjs +0 -149
  179. package/esm2020/tooltip/tooltip.module.mjs +0 -25
  180. package/fesm2015/bravura-ui-alert-testing.mjs +0 -64
  181. package/fesm2015/bravura-ui-alert-testing.mjs.map +0 -1
  182. package/fesm2015/bravura-ui-alert.mjs +0 -340
  183. package/fesm2015/bravura-ui-alert.mjs.map +0 -1
  184. package/fesm2015/bravura-ui-behavior.mjs +0 -515
  185. package/fesm2015/bravura-ui-behavior.mjs.map +0 -1
  186. package/fesm2015/bravura-ui-clip-note.mjs +0 -393
  187. package/fesm2015/bravura-ui-clip-note.mjs.map +0 -1
  188. package/fesm2015/bravura-ui-common.mjs +0 -96
  189. package/fesm2015/bravura-ui-common.mjs.map +0 -1
  190. package/fesm2015/bravura-ui-currency-input.mjs +0 -300
  191. package/fesm2015/bravura-ui-currency-input.mjs.map +0 -1
  192. package/fesm2015/bravura-ui-decimal-input.mjs +0 -145
  193. package/fesm2015/bravura-ui-decimal-input.mjs.map +0 -1
  194. package/fesm2015/bravura-ui-discrete-input.mjs +0 -365
  195. package/fesm2015/bravura-ui-discrete-input.mjs.map +0 -1
  196. package/fesm2015/bravura-ui-file-upload.mjs +0 -478
  197. package/fesm2015/bravura-ui-file-upload.mjs.map +0 -1
  198. package/fesm2015/bravura-ui-form-field.mjs +0 -120
  199. package/fesm2015/bravura-ui-form-field.mjs.map +0 -1
  200. package/fesm2015/bravura-ui-icon-font.mjs +0 -178
  201. package/fesm2015/bravura-ui-icon-font.mjs.map +0 -1
  202. package/fesm2015/bravura-ui-panel.mjs +0 -210
  203. package/fesm2015/bravura-ui-panel.mjs.map +0 -1
  204. package/fesm2015/bravura-ui-phone-number.mjs +0 -327
  205. package/fesm2015/bravura-ui-phone-number.mjs.map +0 -1
  206. package/fesm2015/bravura-ui-radio-panel-testing.mjs +0 -63
  207. package/fesm2015/bravura-ui-radio-panel-testing.mjs.map +0 -1
  208. package/fesm2015/bravura-ui-radio-panel.mjs +0 -200
  209. package/fesm2015/bravura-ui-radio-panel.mjs.map +0 -1
  210. package/fesm2015/bravura-ui-selection-panel.mjs +0 -311
  211. package/fesm2015/bravura-ui-selection-panel.mjs.map +0 -1
  212. package/fesm2015/bravura-ui-skeletons.mjs +0 -195
  213. package/fesm2015/bravura-ui-skeletons.mjs.map +0 -1
  214. package/fesm2015/bravura-ui-stepper.mjs +0 -253
  215. package/fesm2015/bravura-ui-stepper.mjs.map +0 -1
  216. package/fesm2015/bravura-ui-tooltip.mjs +0 -229
  217. package/fesm2015/bravura-ui-tooltip.mjs.map +0 -1
  218. package/fesm2015/bravura-ui.mjs.map +0 -1
  219. package/fesm2020/bravura-ui-alert-testing.mjs.map +0 -1
  220. package/fesm2020/bravura-ui-alert.mjs +0 -328
  221. package/fesm2020/bravura-ui-alert.mjs.map +0 -1
  222. package/fesm2020/bravura-ui-behavior.mjs.map +0 -1
  223. package/fesm2020/bravura-ui-clip-note.mjs.map +0 -1
  224. package/fesm2020/bravura-ui-common.mjs.map +0 -1
  225. package/fesm2020/bravura-ui-currency-input.mjs.map +0 -1
  226. package/fesm2020/bravura-ui-decimal-input.mjs.map +0 -1
  227. package/fesm2020/bravura-ui-discrete-input.mjs.map +0 -1
  228. package/fesm2020/bravura-ui-file-upload.mjs +0 -474
  229. package/fesm2020/bravura-ui-file-upload.mjs.map +0 -1
  230. package/fesm2020/bravura-ui-form-field.mjs.map +0 -1
  231. package/fesm2020/bravura-ui-icon-font.mjs.map +0 -1
  232. package/fesm2020/bravura-ui-panel.mjs +0 -206
  233. package/fesm2020/bravura-ui-panel.mjs.map +0 -1
  234. package/fesm2020/bravura-ui-phone-number.mjs.map +0 -1
  235. package/fesm2020/bravura-ui-radio-panel-testing.mjs.map +0 -1
  236. package/fesm2020/bravura-ui-radio-panel.mjs.map +0 -1
  237. package/fesm2020/bravura-ui-selection-panel.mjs +0 -306
  238. package/fesm2020/bravura-ui-selection-panel.mjs.map +0 -1
  239. package/fesm2020/bravura-ui-skeletons.mjs.map +0 -1
  240. package/fesm2020/bravura-ui-stepper.mjs +0 -251
  241. package/fesm2020/bravura-ui-stepper.mjs.map +0 -1
  242. package/fesm2020/bravura-ui-tooltip.mjs.map +0 -1
  243. package/fesm2020/bravura-ui.mjs +0 -8
  244. package/fesm2020/bravura-ui.mjs.map +0 -1
  245. /package/{esm2020 → esm2022}/alert/bravura-ui-alert.mjs +0 -0
  246. /package/{esm2020 → esm2022}/alert/testing/bravura-ui-alert-testing.mjs +0 -0
  247. /package/{esm2020 → esm2022}/behavior/bravura-ui-behavior.mjs +0 -0
  248. /package/{esm2020 → esm2022}/bravura-ui.mjs +0 -0
  249. /package/{esm2020 → esm2022}/clip-note/bravura-ui-clip-note.mjs +0 -0
  250. /package/{esm2020 → esm2022}/common/bravura-ui-common.mjs +0 -0
  251. /package/{esm2020 → esm2022}/currency-input/bravura-ui-currency-input.mjs +0 -0
  252. /package/{esm2020 → esm2022}/decimal-input/bravura-ui-decimal-input.mjs +0 -0
  253. /package/{esm2020 → esm2022}/decimal-input/public-api.mjs +0 -0
  254. /package/{esm2020 → esm2022}/discrete-input/bravura-ui-discrete-input.mjs +0 -0
  255. /package/{esm2020 → esm2022}/file-upload/bravura-ui-file-upload.mjs +0 -0
  256. /package/{esm2020 → esm2022}/form-field/bravura-ui-form-field.mjs +0 -0
  257. /package/{esm2020 → esm2022}/icon-font/bravura-ui-icon-font.mjs +0 -0
  258. /package/{esm2020 → esm2022}/panel/bravura-ui-panel.mjs +0 -0
  259. /package/{esm2020 → esm2022}/phone-number/bravura-ui-phone-number.mjs +0 -0
  260. /package/{esm2020 → esm2022}/radio-panel/bravura-ui-radio-panel.mjs +0 -0
  261. /package/{esm2020 → esm2022}/radio-panel/public-api.mjs +0 -0
  262. /package/{esm2020 → esm2022}/radio-panel/testing/bravura-ui-radio-panel-testing.mjs +0 -0
  263. /package/{esm2020 → esm2022}/selection-panel/bravura-ui-selection-panel.mjs +0 -0
  264. /package/{esm2020 → esm2022}/skeletons/bravura-ui-skeletons.mjs +0 -0
  265. /package/{esm2020 → esm2022}/stepper/bravura-ui-stepper.mjs +0 -0
  266. /package/{esm2020 → esm2022}/tooltip/bravura-ui-tooltip.mjs +0 -0
  267. /package/{fesm2015 → fesm2022}/bravura-ui.mjs +0 -0
@@ -63,5 +63,5 @@ export declare class SelectionPanelDirective implements ControlValueAccessor, Se
63
63
  /** @ignore */
64
64
  ngOnChanges(changes: SimpleChanges): void;
65
65
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionPanelDirective, never>;
66
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionPanelDirective, "bui-selection-panel", ["buiSelectionPanel"], { "color": "color"; "selectByHeader": "selectByHeader"; }, {}, ["_items"], never, false, never>;
66
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionPanelDirective, "bui-selection-panel", ["buiSelectionPanel"], { "color": { "alias": "color"; "required": false; }; "selectByHeader": { "alias": "selectByHeader"; "required": false; }; }, {}, ["_items"], never, false, never>;
67
67
  }
@@ -1,11 +1,11 @@
1
1
  import { AfterViewChecked, ElementRef, InjectionToken } from '@angular/core';
2
2
  import { SkeletonLoaderComponent } from './skeleton-loader.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare type SkeletonPreset = {
4
+ export type SkeletonPreset = {
5
5
  viewBox: string;
6
6
  content: string;
7
7
  };
8
- export declare type SkeletonPresets = {
8
+ export type SkeletonPresets = {
9
9
  [key: string]: SkeletonPreset;
10
10
  };
11
11
  export declare const SKELETON_PRESETS: InjectionToken<SkeletonPresets>;
@@ -19,5 +19,5 @@ export declare class SkeletonLoaderPresetsDirective implements AfterViewChecked
19
19
  constructor(_skeletonComponent: SkeletonLoaderComponent, _elementRef: ElementRef<HTMLElement>, _presetList: SkeletonPresets[]);
20
20
  ngAfterViewChecked(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderPresetsDirective, [{ host: true; }, null, null]>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<SkeletonLoaderPresetsDirective, "bui-skeleton[preset]", never, { "preset": "preset"; }, {}, never, never, false, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkeletonLoaderPresetsDirective, "bui-skeleton[preset]", never, { "preset": { "alias": "preset"; "required": false; }; }, {}, never, never, false, never>;
23
23
  }
@@ -70,5 +70,5 @@ export declare class StepperComponent extends CdkStepper implements AfterContent
70
70
  /** @ignore */
71
71
  _startStepTransition(): void;
72
72
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null, { self: true; }, { optional: true; skipSelf: true; }]>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "bui-stepper, [buiStepper]", ["buiStepper", "matStepper", "matVerticalStepper", "matHorizontalStepper"], { "selectedIndex": "selectedIndex"; "disableRipple": "disableRipple"; "color": "color"; "indicatorFormatter": "indicatorFormatter"; "nextStepLabelPrefix": "nextStepLabelPrefix"; }, { "animationDone": "animationDone"; }, ["_steps", "_icons"], never, false, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "bui-stepper, [buiStepper]", ["buiStepper", "matStepper", "matVerticalStepper", "matHorizontalStepper"], { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "color": { "alias": "color"; "required": false; }; "indicatorFormatter": { "alias": "indicatorFormatter"; "required": false; }; "nextStepLabelPrefix": { "alias": "nextStepLabelPrefix"; "required": false; }; }, { "animationDone": "animationDone"; }, ["_steps", "_icons"], never, false, never>;
74
74
  }
@@ -1,56 +1,56 @@
1
- @use 'sass:map';
2
-
3
- @mixin bui-card($color-config) {
4
- $bui-card-header-text-color: var(--bui-card-header-text-color, #19315b);
5
- $bui-card-header-background-color: var(--bui-card-header-background-color, #fafafa);
6
-
7
- @if map.get($color-config, 'is-dark') {
8
- $bui-card-header-text-color: var(--bui-card-header-text-color-dark-theme, white);
9
- $bui-card-header-background-color: var(--bui-card-header-background-color-dark-theme, inherit);
10
- }
11
-
12
- .bui-card-flat.mat-mdc-card,
13
- .bui-card-shaded.mat-mdc-card {
14
- border-radius: 4px;
15
- display: flex;
16
- flex-direction: column;
17
-
18
- .mat-mdc-card-header {
19
- padding: 16px;
20
-
21
- .mat-mdc-card-title {
22
- font-size: 16px;
23
- color: $bui-card-header-text-color;
24
- margin-bottom: 0;
25
- }
26
-
27
- .mat-mdc-card-title + .mat-mdc-card-subtitle {
28
- margin-top: 0;
29
- margin-bottom: 0;
30
- }
31
- }
32
-
33
- .mat-mdc-card-content {
34
- flex: 1;
35
- }
36
-
37
- .mat-mdc-card-header + .mat-mdc-card-content {
38
- padding-top: 16px;
39
- }
40
- }
41
-
42
- .bui-card-flat.mat-mdc-card {
43
- box-shadow: none;
44
- border: 1px solid #e0e0e0;
45
-
46
- .mat-mdc-card-header {
47
- border-bottom: 1px solid #e0e0e0;
48
- }
49
- }
50
-
51
- .bui-card-shaded.mat-mdc-card {
52
- .mat-mdc-card-header {
53
- background: $bui-card-header-background-color;
54
- }
55
- }
56
- }
1
+ @use 'sass:map';
2
+
3
+ @mixin bui-card($color-config) {
4
+ $bui-card-header-text-color: var(--bui-card-header-text-color, #19315b);
5
+ $bui-card-header-background-color: var(--bui-card-header-background-color, #fafafa);
6
+
7
+ @if map.get($color-config, 'is-dark') {
8
+ $bui-card-header-text-color: var(--bui-card-header-text-color-dark-theme, white);
9
+ $bui-card-header-background-color: var(--bui-card-header-background-color-dark-theme, inherit);
10
+ }
11
+
12
+ .bui-card-flat.mat-mdc-card,
13
+ .bui-card-shaded.mat-mdc-card {
14
+ border-radius: 4px;
15
+ display: flex;
16
+ flex-direction: column;
17
+
18
+ .mat-mdc-card-header {
19
+ padding: 16px;
20
+
21
+ .mat-mdc-card-title {
22
+ font-size: 16px;
23
+ color: $bui-card-header-text-color;
24
+ margin-bottom: 0;
25
+ }
26
+
27
+ .mat-mdc-card-title + .mat-mdc-card-subtitle {
28
+ margin-top: 0;
29
+ margin-bottom: 0;
30
+ }
31
+ }
32
+
33
+ .mat-mdc-card-content {
34
+ flex: 1;
35
+ }
36
+
37
+ .mat-mdc-card-header + .mat-mdc-card-content {
38
+ padding-top: 16px;
39
+ }
40
+ }
41
+
42
+ .bui-card-flat.mat-mdc-card {
43
+ box-shadow: none;
44
+ border: 1px solid #e0e0e0;
45
+
46
+ .mat-mdc-card-header {
47
+ border-bottom: 1px solid #e0e0e0;
48
+ }
49
+ }
50
+
51
+ .bui-card-shaded.mat-mdc-card {
52
+ .mat-mdc-card-header {
53
+ background: $bui-card-header-background-color;
54
+ }
55
+ }
56
+ }
@@ -1,112 +1,112 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use './scrollbar.scss' as scrollbar;
4
- @use './bui-card' as card;
5
-
6
- $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
7
- $mat-foreground-extract: (
8
- 'secondary-text': 'light',
9
- 'hint-text': 'muted',
10
- 'divider': 'divider',
11
- 'base': 'base',
12
- 'inactive': 'inactive'
13
- );
14
-
15
- $mat-background-extract: (
16
- 'card': 'card',
17
- 'background': 'body'
18
- );
19
-
20
- @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
21
- .bui-border-#{$name} {
22
- border-color: $color !important;
23
- transition: $border-color-transition;
24
- }
25
- .bui-bg-#{$name} {
26
- background-color: $color !important;
27
- }
28
- .bui-color-#{$name} {
29
- color: $color !important;
30
- }
31
- .bui-outline-#{$name} {
32
- outline-color: $color !important;
33
- }
34
- }
35
-
36
- @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
37
- .bui-border-emphasis:hover {
38
- border-color: currentColor !important;
39
- transition: $border-color-transition;
40
- }
41
-
42
- $color-config: mat.get-color-config($theme);
43
- @if $color-config != null {
44
- @include card.bui-card($color-config);
45
- @each $p in (primary, accent, warn) {
46
- $primary-palette: map.get($color-config, $p);
47
- $c: mat.get-color-from-palette($primary-palette, text);
48
- @include apply-color($p, $c, $border-color-transition);
49
- }
50
-
51
- $fg-original: map.get($color-config, 'foreground');
52
- $fg: map.merge(
53
- $fg-original,
54
- (
55
- inactive: rgba(map.get($fg-original, base), 0.06)
56
- )
57
- );
58
-
59
- @each $key, $name in $mat-foreground-extract {
60
- $c: map.get($fg, $key);
61
- @include apply-color($name, $c, $border-color-transition);
62
- }
63
-
64
- .bui-host {
65
- @each $p in (primary, accent, warn) {
66
- $primary-palette: map.get($color-config, $p);
67
- $c: mat.get-color-from-palette($primary-palette, text);
68
- --bui-color-#{$p}: #{$c};
69
- }
70
-
71
- @each $key, $name in $mat-foreground-extract {
72
- $c: map.get($fg, $key);
73
- --bui-color-#{$name}: #{$c};
74
- }
75
-
76
- @each $key, $name in $mat-background-extract {
77
- $bg: map.get($color-config, 'background');
78
- $c: map.get($bg, $key);
79
- --bui-bg-#{$name}: #{$c};
80
- }
81
-
82
- @if map.get($color-config, 'is-dark') == false {
83
- --bui-color-success: #519602;
84
- --bui-color-info: #0dcaf0;
85
- --bui-color-warning: #ffc107;
86
- --bui-color-error: #dc3545;
87
- }
88
- }
89
-
90
- $card-bg: map.get(map.get($color-config, 'background'), 'card');
91
- .iti__country-list {
92
- background-color: $card-bg;
93
- }
94
- }
95
- }
96
-
97
- @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
98
- @include apply-colors($theme, $border-color-transition);
99
- @include scrollbar.bui-scrollbar;
100
-
101
- .mat-icon {
102
- &.fas,
103
- &.far,
104
- &.fab,
105
- &.fa {
106
- display: inline-flex;
107
- justify-content: center;
108
- align-items: center;
109
- font-size: 20px;
110
- }
111
- }
112
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use './scrollbar.scss' as scrollbar;
4
+ @use './bui-card' as card;
5
+
6
+ $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
7
+ $mat-foreground-extract: (
8
+ 'secondary-text': 'light',
9
+ 'hint-text': 'muted',
10
+ 'divider': 'divider',
11
+ 'base': 'base',
12
+ 'inactive': 'inactive'
13
+ );
14
+
15
+ $mat-background-extract: (
16
+ 'card': 'card',
17
+ 'background': 'body'
18
+ );
19
+
20
+ @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
21
+ .bui-border-#{$name} {
22
+ border-color: $color !important;
23
+ transition: $border-color-transition;
24
+ }
25
+ .bui-bg-#{$name} {
26
+ background-color: $color !important;
27
+ }
28
+ .bui-color-#{$name} {
29
+ color: $color !important;
30
+ }
31
+ .bui-outline-#{$name} {
32
+ outline-color: $color !important;
33
+ }
34
+ }
35
+
36
+ @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
37
+ .bui-border-emphasis:hover {
38
+ border-color: currentColor !important;
39
+ transition: $border-color-transition;
40
+ }
41
+
42
+ $color-config: mat.get-color-config($theme);
43
+ @if $color-config != null {
44
+ @include card.bui-card($color-config);
45
+ @each $p in (primary, accent, warn) {
46
+ $primary-palette: map.get($color-config, $p);
47
+ $c: mat.get-color-from-palette($primary-palette, text);
48
+ @include apply-color($p, $c, $border-color-transition);
49
+ }
50
+
51
+ $fg-original: map.get($color-config, 'foreground');
52
+ $fg: map.merge(
53
+ $fg-original,
54
+ (
55
+ inactive: rgba(map.get($fg-original, base), 0.06)
56
+ )
57
+ );
58
+
59
+ @each $key, $name in $mat-foreground-extract {
60
+ $c: map.get($fg, $key);
61
+ @include apply-color($name, $c, $border-color-transition);
62
+ }
63
+
64
+ .bui-host {
65
+ @each $p in (primary, accent, warn) {
66
+ $primary-palette: map.get($color-config, $p);
67
+ $c: mat.get-color-from-palette($primary-palette, text);
68
+ --bui-color-#{$p}: #{$c};
69
+ }
70
+
71
+ @each $key, $name in $mat-foreground-extract {
72
+ $c: map.get($fg, $key);
73
+ --bui-color-#{$name}: #{$c};
74
+ }
75
+
76
+ @each $key, $name in $mat-background-extract {
77
+ $bg: map.get($color-config, 'background');
78
+ $c: map.get($bg, $key);
79
+ --bui-bg-#{$name}: #{$c};
80
+ }
81
+
82
+ @if map.get($color-config, 'is-dark') == false {
83
+ --bui-color-success: #519602;
84
+ --bui-color-info: #0dcaf0;
85
+ --bui-color-warning: #ffc107;
86
+ --bui-color-error: #dc3545;
87
+ }
88
+ }
89
+
90
+ $card-bg: map.get(map.get($color-config, 'background'), 'card');
91
+ .iti__country-list {
92
+ background-color: $card-bg;
93
+ }
94
+ }
95
+ }
96
+
97
+ @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
98
+ @include apply-colors($theme, $border-color-transition);
99
+ @include scrollbar.bui-scrollbar;
100
+
101
+ .mat-icon {
102
+ &.fas,
103
+ &.far,
104
+ &.fab,
105
+ &.fa {
106
+ display: inline-flex;
107
+ justify-content: center;
108
+ align-items: center;
109
+ font-size: 20px;
110
+ }
111
+ }
112
+ }
@@ -1,3 +1,3 @@
1
- body {
2
- box-sizing: border-box;
3
- }
1
+ body {
2
+ box-sizing: border-box;
3
+ }
@@ -1,3 +1,3 @@
1
- body {
2
- box-sizing: border-box;
3
- }
1
+ body {
2
+ box-sizing: border-box;
3
+ }
@@ -1,40 +1,40 @@
1
- @mixin bui-scrollbar {
2
- $bui-scrollbar-width: var(--bui-scrollbar-width, 8px);
3
- $bui-scrollbar-background: var(--bui-scrollbar-background, rgba(128, 128, 128, 0.02));
4
- $bui-scrollbar-thumb-color: var(--bui-scrollbar-thumb-color, rgba(128, 128, 128, 0.4));
5
- $bui-scrollbar-thumb-hover: var(--bui-scrollbar-thumb-hover, rgba(128, 128, 128, 0.6));
6
- $bui-scrollbar-thumb-active: var(--bui-scrollbar-thumb-active, rgba(128, 128, 128, 0.8));
7
-
8
- .bui-styled-scrollbar {
9
- scrollbar-width: thin;
10
-
11
- &::-webkit-scrollbar-track {
12
- -webkit-box-shadow: inset 0 0 6px rgba(128, 128, 128, 0.2);
13
- background-color: $bui-scrollbar-background;
14
- border-radius: $bui-scrollbar-width;
15
- }
16
-
17
- &::-webkit-scrollbar {
18
- width: $bui-scrollbar-width;
19
- background-color: $bui-scrollbar-background;
20
- }
21
-
22
- &::-webkit-scrollbar-thumb {
23
- background-color: $bui-scrollbar-thumb-color;
24
- border-radius: $bui-scrollbar-width;
25
- &:hover {
26
- background-color: $bui-scrollbar-thumb-hover;
27
- }
28
- &:active {
29
- background-color: $bui-scrollbar-thumb-active;
30
- }
31
- }
32
-
33
- &.ng-scrollbar {
34
- --scrollbar-hover-size: #{$bui-scrollbar-width};
35
- --scrollbar-thumb-color: #{$bui-scrollbar-thumb-color};
36
- --scrollbar-thumb-hover-color: #{$bui-scrollbar-thumb-hover};
37
- --scrollbar-border-radius: #{$bui-scrollbar-width};
38
- }
39
- }
40
- }
1
+ @mixin bui-scrollbar {
2
+ $bui-scrollbar-width: var(--bui-scrollbar-width, 8px);
3
+ $bui-scrollbar-background: var(--bui-scrollbar-background, rgba(128, 128, 128, 0.02));
4
+ $bui-scrollbar-thumb-color: var(--bui-scrollbar-thumb-color, rgba(128, 128, 128, 0.4));
5
+ $bui-scrollbar-thumb-hover: var(--bui-scrollbar-thumb-hover, rgba(128, 128, 128, 0.6));
6
+ $bui-scrollbar-thumb-active: var(--bui-scrollbar-thumb-active, rgba(128, 128, 128, 0.8));
7
+
8
+ .bui-styled-scrollbar {
9
+ scrollbar-width: thin;
10
+
11
+ &::-webkit-scrollbar-track {
12
+ -webkit-box-shadow: inset 0 0 6px rgba(128, 128, 128, 0.2);
13
+ background-color: $bui-scrollbar-background;
14
+ border-radius: $bui-scrollbar-width;
15
+ }
16
+
17
+ &::-webkit-scrollbar {
18
+ width: $bui-scrollbar-width;
19
+ background-color: $bui-scrollbar-background;
20
+ }
21
+
22
+ &::-webkit-scrollbar-thumb {
23
+ background-color: $bui-scrollbar-thumb-color;
24
+ border-radius: $bui-scrollbar-width;
25
+ &:hover {
26
+ background-color: $bui-scrollbar-thumb-hover;
27
+ }
28
+ &:active {
29
+ background-color: $bui-scrollbar-thumb-active;
30
+ }
31
+ }
32
+
33
+ &.ng-scrollbar {
34
+ --scrollbar-hover-size: #{$bui-scrollbar-width};
35
+ --scrollbar-thumb-color: #{$bui-scrollbar-thumb-color};
36
+ --scrollbar-thumb-hover-color: #{$bui-scrollbar-thumb-hover};
37
+ --scrollbar-border-radius: #{$bui-scrollbar-width};
38
+ }
39
+ }
40
+ }
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  interface TooltipTemplateContainer {
8
8
  template?: TemplateRef<any>;
9
+ message?: string;
9
10
  }
10
11
  /**
11
12
  * @ignore
@@ -16,6 +17,7 @@ export declare class TooltipComponent extends MatTooltipComponent {
16
17
  private _messageCopy;
17
18
  _tooltip: ElementRef<HTMLElement>;
18
19
  private tooltipDiv;
20
+ private messageCont;
19
21
  constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _tooltipInst: TooltipTemplateContainer, animationMode?: string);
20
22
  show(delay: number): void;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [null, null, null, { optional: true; }]>;
@@ -3,9 +3,8 @@ import { Directionality } from '@angular/cdk/bidi';
3
3
  import { Overlay, ScrollDispatcher } from '@angular/cdk/overlay';
4
4
  import { Platform } from '@angular/cdk/platform';
5
5
  import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
6
- import { MatTooltipDefaultOptions, TooltipPosition, _MatTooltipBase } from '@angular/material/tooltip';
6
+ import { MatTooltip, MatTooltipDefaultOptions, TooltipPosition } from '@angular/material/tooltip';
7
7
  import { Observable } from 'rxjs';
8
- import { TooltipComponent } from './tooltip.component';
9
8
  import * as i0 from "@angular/core";
10
9
  /**
11
10
  * This directive extends [Angular Material tooltip](https://material.angular.io/components/tooltip/overview), with the additional capability of displaying
@@ -13,8 +12,7 @@ import * as i0 from "@angular/core";
13
12
  *
14
13
  * All the other features are identical as those in Angular Material tooltip.
15
14
  */
16
- export declare class TooltipDirective extends _MatTooltipBase<TooltipComponent> {
17
- protected readonly _tooltipComponent: typeof TooltipComponent;
15
+ export declare class TooltipDirective extends MatTooltip {
18
16
  private _templateRef?;
19
17
  private _contentSub;
20
18
  private _contentObs?;
@@ -46,5 +44,5 @@ export declare class TooltipDirective extends _MatTooltipBase<TooltipComponent>
46
44
  } | undefined): void;
47
45
  ngOnDestroy(): void;
48
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[buiTooltip]", ["buiTooltip"], { "buiTooltipPosition": "buiTooltipPosition"; "buiTooltipDisabled": "buiTooltipDisabled"; "buiTooltip": "buiTooltip"; "buiTooltipClass": "buiTooltipClass"; }, {}, never, never, false, never>;
47
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[buiTooltip]", ["buiTooltip"], { "buiTooltipPosition": { "alias": "buiTooltipPosition"; "required": false; }; "buiTooltipDisabled": { "alias": "buiTooltipDisabled"; "required": false; }; "buiTooltip": { "alias": "buiTooltip"; "required": false; }; "buiTooltipClass": { "alias": "buiTooltipClass"; "required": false; }; }, {}, never, never, false, never>;
50
48
  }