@bravura/ui 3.4.1 → 3.5.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 (90) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/esm2020/alert/alert-container.component.mjs +3 -3
  3. package/esm2020/alert/alert-message.component.mjs +3 -3
  4. package/esm2020/alert/alert.module.mjs +4 -4
  5. package/esm2020/behavior/await.directive.mjs +3 -3
  6. package/esm2020/behavior/behavior.module.mjs +4 -4
  7. package/esm2020/behavior/observe-content-class.directive.mjs +3 -3
  8. package/esm2020/behavior/sizing-monitor.directive.mjs +3 -3
  9. package/esm2020/behavior/sizing.directive.mjs +3 -3
  10. package/esm2020/clip-note/clip-note.component.mjs +3 -3
  11. package/esm2020/clip-note/clip-note.directive.mjs +3 -3
  12. package/esm2020/clip-note/clip-note.module.mjs +4 -4
  13. package/esm2020/common/common.module.mjs +4 -4
  14. package/esm2020/currency-input/currency-input.directive.mjs +3 -3
  15. package/esm2020/currency-input/currency-input.module.mjs +4 -4
  16. package/esm2020/decimal-input/decimal-input.directive.mjs +3 -3
  17. package/esm2020/decimal-input/decimal-input.module.mjs +4 -4
  18. package/esm2020/discrete-input/discrete-input.component.mjs +3 -3
  19. package/esm2020/discrete-input/discrete-input.module.mjs +4 -4
  20. package/esm2020/file-upload/file-upload.component.mjs +3 -3
  21. package/esm2020/file-upload/file-upload.module.mjs +4 -4
  22. package/esm2020/file-upload/file-upload.service.mjs +3 -3
  23. package/esm2020/form-field/form-field.component.mjs +6 -6
  24. package/esm2020/form-field/form-field.module.mjs +4 -4
  25. package/esm2020/icon-font/icon-font.module.mjs +4 -4
  26. package/esm2020/icon-font/icon.directive.mjs +3 -3
  27. package/esm2020/panel/panel-section.component.mjs +3 -3
  28. package/esm2020/panel/panel.component.mjs +15 -10
  29. package/esm2020/panel/panel.module.mjs +9 -8
  30. package/esm2020/panel/tinted.directive.mjs +60 -0
  31. package/esm2020/phone-number/phone-number.directive.mjs +3 -3
  32. package/esm2020/phone-number/phone-number.module.mjs +4 -4
  33. package/esm2020/phone-number/phone-number.pipe.mjs +3 -3
  34. package/esm2020/phone-number/phone-number.validator.mjs +3 -3
  35. package/esm2020/radio-panel/radio-panel-item.component.mjs +3 -3
  36. package/esm2020/radio-panel/radio-panel.component.mjs +3 -3
  37. package/esm2020/radio-panel/radio-panel.module.mjs +4 -4
  38. package/esm2020/selection-panel/selection-panel-item.component.mjs +3 -3
  39. package/esm2020/selection-panel/selection-panel.directive.mjs +3 -3
  40. package/esm2020/selection-panel/selection-panel.module.mjs +4 -4
  41. package/esm2020/skeletons/skeleton-loader-presets.directive.mjs +3 -3
  42. package/esm2020/skeletons/skeleton-loader.component.mjs +3 -3
  43. package/esm2020/skeletons/skeletons.module.mjs +4 -4
  44. package/esm2020/stepper/stepper.component.mjs +3 -3
  45. package/esm2020/stepper/stepper.module.mjs +4 -4
  46. package/esm2020/tooltip/tooltip.component.mjs +3 -3
  47. package/esm2020/tooltip/tooltip.directive.mjs +3 -3
  48. package/esm2020/tooltip/tooltip.module.mjs +4 -4
  49. package/fesm2015/bravura-ui-alert.mjs +10 -11
  50. package/fesm2015/bravura-ui-behavior.mjs +16 -17
  51. package/fesm2015/bravura-ui-clip-note.mjs +10 -11
  52. package/fesm2015/bravura-ui-common.mjs +4 -5
  53. package/fesm2015/bravura-ui-currency-input.mjs +7 -8
  54. package/fesm2015/bravura-ui-decimal-input.mjs +7 -8
  55. package/fesm2015/bravura-ui-discrete-input.mjs +7 -8
  56. package/fesm2015/bravura-ui-file-upload.mjs +10 -11
  57. package/fesm2015/bravura-ui-form-field.mjs +10 -11
  58. package/fesm2015/bravura-ui-icon-font.mjs +7 -8
  59. package/fesm2015/bravura-ui-panel.mjs +85 -21
  60. package/fesm2015/bravura-ui-panel.mjs.map +1 -1
  61. package/fesm2015/bravura-ui-phone-number.mjs +13 -14
  62. package/fesm2015/bravura-ui-radio-panel.mjs +10 -11
  63. package/fesm2015/bravura-ui-selection-panel.mjs +10 -11
  64. package/fesm2015/bravura-ui-skeletons.mjs +10 -11
  65. package/fesm2015/bravura-ui-stepper.mjs +7 -8
  66. package/fesm2015/bravura-ui-tooltip.mjs +10 -11
  67. package/fesm2015/bravura-ui.mjs +0 -1
  68. package/fesm2020/bravura-ui-alert.mjs +10 -11
  69. package/fesm2020/bravura-ui-behavior.mjs +16 -17
  70. package/fesm2020/bravura-ui-clip-note.mjs +10 -11
  71. package/fesm2020/bravura-ui-common.mjs +4 -5
  72. package/fesm2020/bravura-ui-currency-input.mjs +7 -8
  73. package/fesm2020/bravura-ui-decimal-input.mjs +7 -8
  74. package/fesm2020/bravura-ui-discrete-input.mjs +7 -8
  75. package/fesm2020/bravura-ui-file-upload.mjs +10 -11
  76. package/fesm2020/bravura-ui-form-field.mjs +10 -11
  77. package/fesm2020/bravura-ui-icon-font.mjs +7 -8
  78. package/fesm2020/bravura-ui-panel.mjs +81 -21
  79. package/fesm2020/bravura-ui-panel.mjs.map +1 -1
  80. package/fesm2020/bravura-ui-phone-number.mjs +13 -14
  81. package/fesm2020/bravura-ui-radio-panel.mjs +10 -11
  82. package/fesm2020/bravura-ui-selection-panel.mjs +10 -11
  83. package/fesm2020/bravura-ui-skeletons.mjs +10 -11
  84. package/fesm2020/bravura-ui-stepper.mjs +7 -8
  85. package/fesm2020/bravura-ui-tooltip.mjs +10 -11
  86. package/fesm2020/bravura-ui.mjs +0 -1
  87. package/package.json +1 -1
  88. package/panel/panel.component.d.ts +6 -2
  89. package/panel/panel.module.d.ts +7 -5
  90. package/panel/tinted.directive.d.ts +26 -0
@@ -141,13 +141,13 @@ class StepperComponent extends CdkStepper {
141
141
  setTimeout(() => (this._stepTransitioning = true));
142
142
  }
143
143
  }
144
- StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: StepperComponent, deps: [{ token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: STEPPER_GLOBAL_OPTIONS, self: true }, { token: STEPPER_GLOBAL_OPTIONS, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
145
- StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: StepperComponent, selector: "bui-stepper, [buiStepper]", inputs: { selectedIndex: "selectedIndex", disableRipple: "disableRipple", color: "color", indicatorFormatter: "indicatorFormatter", nextStepLabelPrefix: "nextStepLabelPrefix" }, outputs: { animationDone: "animationDone" }, host: { attributes: { "role": "tablist" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "bui-stepper bui-host" }, providers: [
144
+ StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StepperComponent, deps: [{ token: i1.Directionality, optional: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: STEPPER_GLOBAL_OPTIONS, self: true }, { token: STEPPER_GLOBAL_OPTIONS, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
145
+ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: StepperComponent, selector: "bui-stepper, [buiStepper]", inputs: { selectedIndex: "selectedIndex", disableRipple: "disableRipple", color: "color", indicatorFormatter: "indicatorFormatter", nextStepLabelPrefix: "nextStepLabelPrefix" }, outputs: { animationDone: "animationDone" }, host: { attributes: { "role": "tablist" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "bui-stepper bui-host" }, providers: [
146
146
  { provide: MatStepper, useExisting: StepperComponent },
147
147
  { provide: CdkStepper, useExisting: StepperComponent },
148
148
  { provide: STEPPER_GLOBAL_OPTIONS, useValue: { displayDefaultIndicatorType: false } }
149
149
  ], queries: [{ propertyName: "_steps", predicate: MatStep, descendants: true }, { propertyName: "_icons", predicate: MatStepperIcon, descendants: true }], viewQueries: [{ propertyName: "_editIconTemplate", first: true, predicate: ["editIconTemplate"], descendants: true, static: true }, { propertyName: "_stepHeader", predicate: MatStepHeader, descendants: true }], exportAs: ["buiStepper", "matStepper", "matVerticalStepper", "matHorizontalStepper"], usesInheritance: true, ngImport: i0, template: "<div class=\"bui-stepper-wrapper\" [style.display]=\"_leftDrawerState.startsWith('open') ? 'flex' : 'block'\" #sizeMonitor>\n\t<div\n\t\tclass=\"bui-stepper-left-header-container\"\n\t\t[@leftDrawer]=\"_leftDrawerState\"\n\t\t(@leftDrawer.start)=\"_leftDrawerStarted.next($event)\"\n\t\t(@leftDrawer.done)=\"_leftDrawerEnded.next($event)\"\n\t>\n\t\t<div\n\t\t\t*ngFor=\"let step of steps; let i = index; let isLast = last\"\n\t\t\tclass=\"bui-stepper-header-wrapper\"\n\t\t\t[class.bui-stepper-vertical-line]=\"!isLast\"\n\t\t>\n\t\t\t<mat-step-header\n\t\t\t\tclass=\"bui-stepper-header\"\n\t\t\t\t(click)=\"step.select()\"\n\t\t\t\t(keydown)=\"_onKeydown($event)\"\n\t\t\t\t[tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n\t\t\t\t[id]=\"_getStepLabelId(i)\"\n\t\t\t\t[attr.aria-posinset]=\"i + 1\"\n\t\t\t\t[attr.aria-setsize]=\"steps.length\"\n\t\t\t\t[attr.aria-controls]=\"_getStepContentId(i)\"\n\t\t\t\t[attr.aria-selected]=\"selectedIndex == i\"\n\t\t\t\t[attr.aria-label]=\"step.ariaLabel || null\"\n\t\t\t\t[attr.aria-labelledby]=\"!step.ariaLabel && step.ariaLabelledby ? step.ariaLabelledby : null\"\n\t\t\t\t[attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n\t\t\t\t[index]=\"i\"\n\t\t\t\t[state]=\"_getIndicatorType(i, step.state)\"\n\t\t\t\t[label]=\"step.stepLabel || step.label\"\n\t\t\t\t[selected]=\"selectedIndex === i\"\n\t\t\t\t[active]=\"_stepIsNavigable(i, step)\"\n\t\t\t\t[optional]=\"step.optional\"\n\t\t\t\t[errorMessage]=\"step.errorMessage\"\n\t\t\t\t[iconOverrides]=\"_iconOverrides\"\n\t\t\t\t[disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n\t\t\t\t[color]=\"step.color || color\"\n\t\t\t></mat-step-header>\n\t\t</div>\n\t</div>\n\n\t<div class=\"bui-stepper-content-container\" [buiSizingBy]=\"sizeMonitor\" (buiResized)=\"_widthChanged($event.width)\">\n\t\t<div\n\t\t\tclass=\"bui-stepper-top-header-container\"\n\t\t\t[class.bui-stepper-header-active]=\"_leftDrawerState === 'void'\"\n\t\t\t[@topDrawer]=\"_topDrawerState\"\n\t\t\t(@topDrawer.start)=\"_topDrawerStarted.next($event)\"\n\t\t\t(@topDrawer.done)=\"_topDrawerEnded.next($event)\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"bui-stepper-top-header-progress\"\n\t\t\t\t[style]=\"'height:' + _progressCircleSize + 'px; width:' + _progressCircleSize + 'px'\"\n\t\t\t>\n\t\t\t\t<mat-progress-spinner\n\t\t\t\t\tclass=\"bui-progress-spinner-light\"\n\t\t\t\t\t[value]=\"100\"\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\n\t\t\t\t></mat-progress-spinner>\n\t\t\t\t<mat-progress-spinner\n\t\t\t\t\t[color]=\"color\"\n\t\t\t\t\t[value]=\"((selectedIndex + 1) * 100) / steps.length\"\n\t\t\t\t\t[diameter]=\"_progressCircleSize\"\n\t\t\t\t\t[strokeWidth]=\"_progressCircleWidth\"\n\t\t\t\t></mat-progress-spinner>\n\t\t\t\t<span class=\"bui-stepper-top-header-indicator\">\n\t\t\t\t\t{{ indicatorFormatter(selectedIndex + 1, steps.length) }}\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t\t<div class=\"bui-stepper-top-header-titles-wrapper\" *ngIf=\"selected\">\n\t\t\t\t<div class=\"bui-stepper-top-header-title\">\n\t\t\t\t\t<ng-template\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: selected }\"\n\t\t\t\t\t></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"bui-stepper-top-header-title-next\" *ngIf=\"selectedIndex < steps.length - 1\">\n\t\t\t\t\t{{ nextStepLabelPrefix }}\n\t\t\t\t\t<ng-template\n\t\t\t\t\t\t[ngTemplateOutlet]=\"labelTemplate\"\n\t\t\t\t\t\t[ngTemplateOutletContext]=\"{ $implicit: steps.get(selectedIndex + 1) }\"\n\t\t\t\t\t></ng-template>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"bui-stepper-content-wrapper\" [class.bui-stepper-content-wrapper-transitioning]=\"_stepTransitioning\">\n\t\t\t<div\n\t\t\t\t*ngFor=\"let step of steps; let i = index\"\n\t\t\t\tclass=\"bui-stepper-content\"\n\t\t\t\trole=\"tabpanel\"\n\t\t\t\t[@stepTransition]=\"_getAnimationDirection(i)\"\n\t\t\t\t(@stepTransition.start)=\"_startStepTransition()\"\n\t\t\t\t(@stepTransition.done)=\"_animationDone.next($event)\"\n\t\t\t\t[id]=\"_getStepContentId(i)\"\n\t\t\t\t[attr.aria-labelledby]=\"_getStepLabelId(i)\"\n\t\t\t\t[attr.aria-expanded]=\"selectedIndex === i\"\n\t\t\t>\n\t\t\t\t<div class=\"bui-stepper-content-header-label\" *ngIf=\"!_narrow\">\n\t\t\t\t\t<ng-template [ngTemplateOutlet]=\"labelTemplate\" [ngTemplateOutletContext]=\"{ $implicit: step }\"></ng-template>\n\t\t\t\t</div>\n\t\t\t\t<ng-template [ngTemplateOutlet]=\"step.content\"></ng-template>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n\n<ng-template #labelTemplate let-step>\n\t<ng-template [ngIf]=\"step.stepLabel\" [ngIfElse]=\"stringLabelTempl\">\n\t\t<ng-template [ngTemplateOutlet]=\"step.stepLabel.template\"></ng-template>\n\t</ng-template>\n\t<ng-template #stringLabelTempl>{{ step.label }}</ng-template>\n</ng-template>\n\n<ng-template #editIconTemplate let-index=\"index\">\n\t<span>{{ index + 1 }}</span>\n</ng-template>\n", styles: [".bui-stepper:not([hidden]){display:block;box-sizing:border-box}.bui-stepper-wrapper{display:flex;box-sizing:border-box;background-color:var(--bui-bg-card)}.bui-stepper-left-header-container{max-width:30%}.bui-stepper-header-wrapper{position:relative}.bui-stepper-vertical-line:before{content:\"\";position:absolute;left:28px;border-left-width:1px;border-left-style:solid;border-left-color:var(--bui-color-divider);top:44px;bottom:-12px}[dir=rtl] .bui-stepper-vertical-line:before{left:auto;right:0}.bui-stepper-content-header-label{font-size:larger;font-weight:700;margin-bottom:32px}.bui-stepper .bui-stepper-header{display:flex;align-items:center;padding:0 16px;height:56px}.bui-stepper .bui-stepper-header .mat-step-icon{margin-right:16px}[dir=rtl] .bui-stepper .bui-stepper-header .mat-step-icon{margin-right:0;margin-left:16px}.bui-stepper .bui-stepper-header .mat-step-icon.mat-step-icon-state-done{background-color:var(--bui-color-success);color:#fff}.bui-stepper .bui-stepper-header .mat-step-icon.mat-step-icon-state-number{color:var(--bui-bg-card)}.bui-stepper-top-header-container{display:flex;align-items:stretch}.bui-stepper-top-header-container.bui-stepper-header-active{margin-bottom:16px}.bui-progress-spinner-light circle{stroke:var(--bui-color-divider)!important}.bui-stepper-top-header-progress{position:relative;display:flex;justify-content:center;align-items:center;margin-right:16px}[dir=rtl] .bui-stepper-top-header-progress{margin-right:unset;margin-left:16px}.bui-stepper-top-header-progress>.mat-mdc-progress-spinner{position:absolute}.bui-stepper-top-header-progress .bui-stepper-top-header-indicator{color:var(--bui-color-muted)}.bui-stepper-top-header-titles-wrapper{display:flex;flex-basis:max-content;flex-direction:column;justify-content:space-evenly;flex-shrink:3}.bui-stepper-top-header-title{font-size:larger}.bui-stepper-top-header-title-next{color:var(--bui-color-muted)}.bui-stepper-content-container{flex:1 1 100%;padding:16px;display:flex;flex-direction:column}.bui-stepper-content-wrapper{flex:1 1 100%}.bui-stepper-content-wrapper-transitioning{overflow:hidden}.bui-stepper-content{outline:0}.bui-stepper-content[aria-expanded=false]{height:0;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.MatStepHeader, selector: "mat-step-header", inputs: ["color", "state", "label", "errorMessage", "iconOverrides", "index", "selected", "active", "optional", "disableRipple"] }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i5.SizingDirective, selector: "[buiSizing],[buiResized],[buiSizingBy],[buiFixedHeight]", inputs: ["buiSizing", "sizingBy", "buiSizingBy", "buiFixedHeight"], outputs: ["buiResized"] }], animations: [animation.stepTransition, animation.leftDrawer, animation.topDrawer], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: StepperComponent, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StepperComponent, decorators: [{
151
151
  type: Component,
152
152
  args: [{ selector: 'bui-stepper, [buiStepper]', exportAs: 'buiStepper, matStepper, matVerticalStepper, matHorizontalStepper', inputs: ['selectedIndex'], host: {
153
153
  class: 'bui-stepper bui-host',
@@ -201,8 +201,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
201
201
 
202
202
  class StepperModule {
203
203
  }
204
- StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
205
- StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: StepperModule, declarations: [StepperComponent], imports: [CommonModule,
204
+ StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
205
+ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: StepperModule, declarations: [StepperComponent], imports: [CommonModule,
206
206
  PortalModule,
207
207
  CdkStepperModule,
208
208
  MatStepperModule,
@@ -211,7 +211,7 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
211
211
  MatRippleModule,
212
212
  MatProgressSpinnerModule,
213
213
  BehaviorModule], exports: [StepperComponent, MatStepperModule] });
214
- StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: StepperModule, imports: [CommonModule,
214
+ StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StepperModule, imports: [CommonModule,
215
215
  PortalModule,
216
216
  CdkStepperModule,
217
217
  MatStepperModule,
@@ -220,7 +220,7 @@ StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
220
220
  MatRippleModule,
221
221
  MatProgressSpinnerModule,
222
222
  BehaviorModule, MatStepperModule] });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: StepperModule, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StepperModule, decorators: [{
224
224
  type: NgModule,
225
225
  args: [{
226
226
  declarations: [StepperComponent],
@@ -245,4 +245,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
245
245
 
246
246
  export { StepperComponent, StepperModule };
247
247
  //# sourceMappingURL=bravura-ui-stepper.mjs.map
248
- //# sourceMappingURL=bravura-ui-stepper.mjs.map
@@ -34,9 +34,9 @@ class TooltipComponent extends TooltipComponent$1 {
34
34
  super.show(delay);
35
35
  }
36
36
  }
37
- TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: BUI_TOOLTIP_TEMPLATE_REF }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component });
38
- TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: TooltipComponent, selector: "bui-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" }, classAttribute: "bui-tooltip-component bui-host" }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }, { propertyName: "tooltipDiv", first: true, predicate: ["tooltipDiv"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n\t#tooltip\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\n\t[ngClass]=\"tooltipClass\"\n\t(animationend)=\"_handleAnimationEnd($event)\"\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\n>\n\t<ng-template [ngIf]=\"_tooltipInst.template\">\n\t\t<ng-template [ngTemplateOutlet]=\"_tooltipInst.template\"></ng-template>\n\t</ng-template>\n\t<div #tooltipDiv></div>\n</div>\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [matTooltipAnimations.tooltipState], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipComponent, decorators: [{
37
+ TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: BUI_TOOLTIP_TEMPLATE_REF }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component });
38
+ TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: TooltipComponent, selector: "bui-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" }, classAttribute: "bui-tooltip-component bui-host" }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }, { propertyName: "tooltipDiv", first: true, predicate: ["tooltipDiv"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div\n\t#tooltip\n\tclass=\"mdc-tooltip mdc-tooltip--shown mat-mdc-tooltip bui-tooltip\"\n\t[ngClass]=\"tooltipClass\"\n\t(animationend)=\"_handleAnimationEnd($event)\"\n\t[class.mdc-tooltip--multiline]=\"_isMultiline\"\n>\n\t<ng-template [ngIf]=\"_tooltipInst.template\">\n\t\t<ng-template [ngTemplateOutlet]=\"_tooltipInst.template\"></ng-template>\n\t</ng-template>\n\t<div #tooltipDiv></div>\n</div>\n", styles: [".bui-tooltip.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-size: inherit;padding:8px;border-radius:4px;background-color:var(--mdc-plain-tooltip-container-color, #fff);color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-400{max-width:400px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-500{max-width:500px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-600{max-width:600px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-700{max-width:700px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-800{max-width:800px!important}.bui-tooltip.mat-mdc-tooltip.bui-tooltip-900{max-width:900px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [matTooltipAnimations.tooltipState], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipComponent, decorators: [{
40
40
  type: Component,
41
41
  args: [{ selector: 'bui-tooltip-component', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [matTooltipAnimations.tooltipState], host: {
42
42
  class: 'bui-tooltip-component bui-host',
@@ -154,14 +154,14 @@ class TooltipDirective extends _MatTooltipBase {
154
154
  this._contentSub.unsubscribe();
155
155
  }
156
156
  }
157
- TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
158
- TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0", type: TooltipDirective, selector: "[buiTooltip]", inputs: { buiTooltipPosition: "buiTooltipPosition", buiTooltipDisabled: "buiTooltipDisabled", buiTooltip: "buiTooltip", buiTooltipClass: "buiTooltipClass" }, host: { listeners: { "click": "clicked()" }, classAttribute: "mat-tooltip-trigger bui-tooltip-trigger" }, providers: [
157
+ TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipDirective, deps: [{ token: i1$1.Overlay }, { token: i0.ElementRef }, { token: i1$1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MAT_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality, optional: true }, { token: MAT_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
158
+ TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TooltipDirective, selector: "[buiTooltip]", inputs: { buiTooltipPosition: "buiTooltipPosition", buiTooltipDisabled: "buiTooltipDisabled", buiTooltip: "buiTooltip", buiTooltipClass: "buiTooltipClass" }, host: { listeners: { "click": "clicked()" }, classAttribute: "mat-tooltip-trigger bui-tooltip-trigger" }, providers: [
159
159
  {
160
160
  provide: BUI_TOOLTIP_TEMPLATE_REF,
161
161
  useExisting: forwardRef(() => TooltipDirective)
162
162
  }
163
163
  ], exportAs: ["buiTooltip"], usesInheritance: true, ngImport: i0 });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipDirective, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipDirective, decorators: [{
165
165
  type: Directive,
166
166
  args: [{
167
167
  selector: '[buiTooltip]',
@@ -204,10 +204,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
204
204
 
205
205
  class TooltipModule {
206
206
  }
207
- TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
208
- TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [TooltipDirective, MatCommonModule, CdkScrollableModule] });
209
- TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] });
210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: TooltipModule, decorators: [{
207
+ TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
208
+ TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective, TooltipComponent], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule], exports: [TooltipDirective, MatCommonModule, CdkScrollableModule] });
209
+ TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipModule, providers: [MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule, MatCommonModule, CdkScrollableModule] });
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TooltipModule, decorators: [{
211
211
  type: NgModule,
212
212
  args: [{
213
213
  imports: [A11yModule, CommonModule, OverlayModule, MatCommonModule],
@@ -223,4 +223,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
223
223
 
224
224
  export { BUI_TOOLTIP_TEMPLATE_REF, TooltipDirective, TooltipModule };
225
225
  //# sourceMappingURL=bravura-ui-tooltip.mjs.map
226
- //# sourceMappingURL=bravura-ui-tooltip.mjs.map
@@ -6,4 +6,3 @@ const NO_EXPORT = 'NO_EXPORT';
6
6
 
7
7
  export { NO_EXPORT };
8
8
  //# sourceMappingURL=bravura-ui.mjs.map
9
- //# sourceMappingURL=bravura-ui.mjs.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bravura/ui",
3
3
  "description": "Bravura UI Components for Angular applications",
4
- "version": "3.4.1",
4
+ "version": "3.5.0",
5
5
  "keywords": [
6
6
  "Angular",
7
7
  "Angular Material",
@@ -1,5 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { ThemePalette } from '@angular/material/core';
3
+ import { TintedDirective } from './tinted.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * A `bui-panel` consists of a `mat-card` and a tinted backdrop.
@@ -15,8 +16,11 @@ import * as i0 from "@angular/core";
15
16
  */
16
17
  export declare class PanelComponent implements OnInit {
17
18
  private _cd;
19
+ private _tinted;
18
20
  /**
19
21
  * Additional style classes on the tinted backdrop element.
22
+ * @deprecated
23
+ * @ignore
20
24
  */
21
25
  backdropClass?: string;
22
26
  /**
@@ -47,10 +51,10 @@ export declare class PanelComponent implements OnInit {
47
51
  _width: number;
48
52
  private _color;
49
53
  private _appearance;
50
- constructor(_cd: ChangeDetectorRef);
54
+ constructor(_cd: ChangeDetectorRef, _tinted: TintedDirective);
51
55
  ngOnInit(): void;
52
56
  /** @ignore */
53
57
  _resized(width: number): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, [null, { host: true; }]>;
55
59
  static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "bui-panel", never, { "backdropClass": "backdropClass"; "cardClass": "cardClass"; "color": "color"; "appearance": "appearance"; "breakpoint": "breakpoint"; }, {}, never, ["*"], false, never>;
56
60
  }
@@ -1,14 +1,16 @@
1
1
  import { PanelComponent } from './panel.component';
2
2
  import { PanelSectionComponent } from './panel-section.component';
3
+ import { TintedDirective } from './tinted.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "./panel.component";
5
6
  import * as i2 from "./panel-section.component";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/material/card";
8
- import * as i5 from "@bravura/ui/behavior";
7
+ import * as i3 from "./tinted.directive";
8
+ import * as i4 from "@angular/common";
9
+ import * as i5 from "@angular/material/card";
10
+ import * as i6 from "@bravura/ui/behavior";
9
11
  export declare class PanelModule {
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent, typeof i2.PanelSectionComponent], [typeof i3.CommonModule, typeof i4.MatCardModule, typeof i5.BehaviorModule], [typeof i4.MatCardModule, typeof i1.PanelComponent, typeof i2.PanelSectionComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PanelModule, [typeof i1.PanelComponent, typeof i2.PanelSectionComponent, typeof i3.TintedDirective], [typeof i4.CommonModule, typeof i5.MatCardModule, typeof i6.BehaviorModule], [typeof i5.MatCardModule, typeof i1.PanelComponent, typeof i2.PanelSectionComponent, typeof i3.TintedDirective]>;
12
14
  static ɵinj: i0.ɵɵInjectorDeclaration<PanelModule>;
13
15
  }
14
- export { PanelComponent, PanelSectionComponent };
16
+ export { PanelComponent, PanelSectionComponent, TintedDirective };
@@ -0,0 +1,26 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { ThemePalette } from '@angular/material/core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A "tinted" element has a shaded background specified by the `ThemePalette`, which
6
+ * is compatible with both light and dark themes.
7
+ */
8
+ export declare class TintedDirective implements OnInit, OnDestroy {
9
+ private _doc;
10
+ /**
11
+ * The base color of the shaded background
12
+ * @default 'primary'
13
+ */
14
+ get color(): ThemePalette;
15
+ set color(c: ThemePalette);
16
+ private _color;
17
+ private readonly _addedStyle;
18
+ private readonly _attr;
19
+ private _element;
20
+ constructor(_doc: Document, elemRef: ElementRef<HTMLElement>);
21
+ ngOnInit(): void;
22
+ ngOnDestroy(): void;
23
+ private generateStyle;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TintedDirective, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TintedDirective, "[buiTinted], bui-panel", ["buiTinted"], { "color": "buiTinted"; }, {}, never, never, false, never>;
26
+ }