@bravura/ui 2.6.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +7 -0
- package/alert/alert-container.component.d.ts +1 -1
- package/alert/alert-message.component.d.ts +3 -1
- package/behavior/await.directive.d.ts +1 -1
- package/behavior/sizing-monitor.directive.d.ts +1 -1
- package/behavior/sizing.directive.d.ts +1 -1
- package/clip-note/clip-note.component.d.ts +1 -1
- package/clip-note/clip-note.directive.d.ts +1 -1
- package/currency-input/currency-input.directive.d.ts +1 -1
- package/decimal-input/decimal-input.directive.d.ts +1 -1
- package/discrete-input/discrete-input.component.d.ts +1 -1
- package/esm2020/alert/alert-container.component.mjs +4 -4
- package/esm2020/alert/alert-message.component.mjs +17 -6
- package/esm2020/alert/alert.module.mjs +4 -4
- package/esm2020/behavior/await.directive.mjs +5 -5
- package/esm2020/behavior/behavior.module.mjs +4 -4
- package/esm2020/behavior/sizing-monitor.directive.mjs +3 -3
- package/esm2020/behavior/sizing.directive.mjs +3 -3
- package/esm2020/clip-note/clip-note.component.mjs +5 -5
- package/esm2020/clip-note/clip-note.directive.mjs +3 -3
- package/esm2020/clip-note/clip-note.module.mjs +4 -4
- package/esm2020/common/common.module.mjs +4 -4
- package/esm2020/currency-input/currency-input.directive.mjs +3 -3
- package/esm2020/currency-input/currency-input.module.mjs +4 -4
- package/esm2020/decimal-input/decimal-input.directive.mjs +3 -3
- package/esm2020/decimal-input/decimal-input.module.mjs +4 -4
- package/esm2020/discrete-input/discrete-input.component.mjs +3 -3
- package/esm2020/discrete-input/discrete-input.module.mjs +4 -4
- package/esm2020/file-upload/file-upload.component.mjs +5 -5
- package/esm2020/file-upload/file-upload.module.mjs +4 -4
- package/esm2020/file-upload/file-upload.service.mjs +3 -3
- package/esm2020/form-field/form-field.component.mjs +66 -80
- package/esm2020/form-field/form-field.module.mjs +21 -8
- package/esm2020/form-field/public-api.mjs +2 -2
- package/esm2020/icon-font/icon-font.module.mjs +4 -4
- package/esm2020/icon-font/icon.directive.mjs +3 -3
- package/esm2020/panel/panel-section.component.mjs +3 -3
- package/esm2020/panel/panel.component.mjs +5 -5
- package/esm2020/panel/panel.module.mjs +4 -4
- package/esm2020/phone-number/phone-number.directive.mjs +3 -3
- package/esm2020/phone-number/phone-number.module.mjs +4 -4
- package/esm2020/phone-number/phone-number.pipe.mjs +3 -3
- package/esm2020/phone-number/phone-number.validator.mjs +3 -3
- package/esm2020/radio-panel/radio-panel-item.component.mjs +3 -3
- package/esm2020/radio-panel/radio-panel.component.mjs +3 -3
- package/esm2020/radio-panel/radio-panel.module.mjs +4 -4
- package/esm2020/selection-panel/selection-panel-item.component.mjs +5 -5
- package/esm2020/selection-panel/selection-panel.directive.mjs +3 -3
- package/esm2020/selection-panel/selection-panel.module.mjs +4 -4
- package/esm2020/skeletons/skeleton-loader-presets.directive.mjs +3 -3
- package/esm2020/skeletons/skeleton-loader.component.mjs +3 -3
- package/esm2020/skeletons/skeletons.module.mjs +4 -4
- package/esm2020/stepper/stepper.component.mjs +10 -6
- package/esm2020/stepper/stepper.module.mjs +4 -4
- package/esm2020/tooltip/tooltip.component.mjs +18 -18
- package/esm2020/tooltip/tooltip.directive.mjs +10 -4
- package/esm2020/tooltip/tooltip.module.mjs +4 -4
- package/fesm2015/bravura-ui-alert.mjs +24 -12
- package/fesm2015/bravura-ui-alert.mjs.map +1 -1
- package/fesm2015/bravura-ui-behavior.mjs +15 -14
- package/fesm2015/bravura-ui-behavior.mjs.map +1 -1
- package/fesm2015/bravura-ui-clip-note.mjs +12 -11
- package/fesm2015/bravura-ui-clip-note.mjs.map +1 -1
- package/fesm2015/bravura-ui-common.mjs +5 -4
- package/fesm2015/bravura-ui-currency-input.mjs +8 -7
- package/fesm2015/bravura-ui-decimal-input.mjs +8 -7
- package/fesm2015/bravura-ui-discrete-input.mjs +8 -7
- package/fesm2015/bravura-ui-file-upload.mjs +12 -11
- package/fesm2015/bravura-ui-file-upload.mjs.map +1 -1
- package/fesm2015/bravura-ui-form-field.mjs +88 -86
- package/fesm2015/bravura-ui-form-field.mjs.map +1 -1
- package/fesm2015/bravura-ui-icon-font.mjs +8 -7
- package/fesm2015/bravura-ui-panel.mjs +12 -11
- package/fesm2015/bravura-ui-panel.mjs.map +1 -1
- package/fesm2015/bravura-ui-phone-number.mjs +14 -13
- package/fesm2015/bravura-ui-radio-panel.mjs +11 -10
- package/fesm2015/bravura-ui-selection-panel.mjs +12 -11
- package/fesm2015/bravura-ui-selection-panel.mjs.map +1 -1
- package/fesm2015/bravura-ui-skeletons.mjs +11 -10
- package/fesm2015/bravura-ui-stepper.mjs +14 -9
- package/fesm2015/bravura-ui-stepper.mjs.map +1 -1
- package/fesm2015/bravura-ui-tooltip.mjs +33 -26
- package/fesm2015/bravura-ui-tooltip.mjs.map +1 -1
- package/fesm2015/bravura-ui.mjs +1 -0
- package/fesm2020/bravura-ui-alert.mjs +24 -12
- package/fesm2020/bravura-ui-alert.mjs.map +1 -1
- package/fesm2020/bravura-ui-behavior.mjs +15 -14
- package/fesm2020/bravura-ui-behavior.mjs.map +1 -1
- package/fesm2020/bravura-ui-clip-note.mjs +12 -11
- package/fesm2020/bravura-ui-clip-note.mjs.map +1 -1
- package/fesm2020/bravura-ui-common.mjs +5 -4
- package/fesm2020/bravura-ui-currency-input.mjs +8 -7
- package/fesm2020/bravura-ui-decimal-input.mjs +8 -7
- package/fesm2020/bravura-ui-discrete-input.mjs +8 -7
- package/fesm2020/bravura-ui-file-upload.mjs +12 -11
- package/fesm2020/bravura-ui-file-upload.mjs.map +1 -1
- package/fesm2020/bravura-ui-form-field.mjs +86 -86
- package/fesm2020/bravura-ui-form-field.mjs.map +1 -1
- package/fesm2020/bravura-ui-icon-font.mjs +8 -7
- package/fesm2020/bravura-ui-panel.mjs +12 -11
- package/fesm2020/bravura-ui-panel.mjs.map +1 -1
- package/fesm2020/bravura-ui-phone-number.mjs +14 -13
- package/fesm2020/bravura-ui-radio-panel.mjs +11 -10
- package/fesm2020/bravura-ui-selection-panel.mjs +12 -11
- package/fesm2020/bravura-ui-selection-panel.mjs.map +1 -1
- package/fesm2020/bravura-ui-skeletons.mjs +11 -10
- package/fesm2020/bravura-ui-stepper.mjs +14 -9
- package/fesm2020/bravura-ui-stepper.mjs.map +1 -1
- package/fesm2020/bravura-ui-tooltip.mjs +33 -26
- package/fesm2020/bravura-ui-tooltip.mjs.map +1 -1
- package/fesm2020/bravura-ui.mjs +1 -0
- package/file-upload/file-upload.component.d.ts +1 -1
- package/form-field/form-field.component.d.ts +27 -27
- package/form-field/form-field.module.d.ts +4 -1
- package/form-field/public-api.d.ts +1 -1
- package/icon-font/icon.directive.d.ts +1 -1
- package/package.json +8 -8
- package/panel/panel-section.component.d.ts +1 -1
- package/panel/panel.component.d.ts +1 -1
- package/phone-number/phone-number.directive.d.ts +1 -1
- package/phone-number/phone-number.validator.d.ts +1 -1
- package/radio-panel/radio-panel-item.component.d.ts +1 -1
- package/radio-panel/radio-panel.component.d.ts +1 -1
- package/selection-panel/selection-panel-item.component.d.ts +1 -1
- package/selection-panel/selection-panel.directive.d.ts +1 -1
- package/skeletons/skeleton-loader-presets.directive.d.ts +1 -1
- package/skeletons/skeleton-loader.component.d.ts +1 -1
- package/stepper/stepper.component.d.ts +3 -1
- package/theme/_bui-card.scss +11 -20
- package/theme/_ui-theme.scss +11 -3
- package/tooltip/tooltip.component.d.ts +3 -5
- package/tooltip/tooltip.directive.d.ts +1 -1
|
@@ -40,5 +40,5 @@ export declare class SkeletonLoaderComponent extends ContentLoaderComponent impl
|
|
|
40
40
|
ngOnDestroy(): void;
|
|
41
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonLoaderComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "bui-skeleton", never, {}, {}, never, never, false>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonLoaderComponent, "bui-skeleton", never, {}, {}, never, never, false, never>;
|
|
44
44
|
}
|
|
@@ -66,6 +66,8 @@ export declare class StepperComponent extends CdkStepper implements AfterContent
|
|
|
66
66
|
_stepIsNavigable(index: number, step: MatStep): boolean;
|
|
67
67
|
/** @ignore */
|
|
68
68
|
_widthChanged(w: number): void;
|
|
69
|
+
/** @ignore */
|
|
70
|
+
_startStepTransition(): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null, { self: true; }, { optional: true; skipSelf: true; }]>;
|
|
70
|
-
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>;
|
|
72
|
+
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>;
|
|
71
73
|
}
|
package/theme/_bui-card.scss
CHANGED
|
@@ -9,56 +9,47 @@
|
|
|
9
9
|
$bui-card-header-background-color: var(--bui-card-header-background-color-dark-theme, inherit);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.bui-card-flat.mat-card,
|
|
13
|
-
.bui-card-shaded.mat-card {
|
|
12
|
+
.bui-card-flat.mat-mdc-card,
|
|
13
|
+
.bui-card-shaded.mat-mdc-card {
|
|
14
14
|
border-radius: 4px;
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
|
|
18
|
-
.mat-card-header {
|
|
19
|
-
margin: -16px -16px 0 -16px;
|
|
18
|
+
.mat-mdc-card-header {
|
|
20
19
|
padding: 16px;
|
|
21
20
|
|
|
22
|
-
.mat-card-title {
|
|
21
|
+
.mat-mdc-card-title {
|
|
23
22
|
font-size: 16px;
|
|
24
23
|
color: $bui-card-header-text-color;
|
|
25
24
|
margin-bottom: 0;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
.mat-card-title + .mat-card-subtitle {
|
|
27
|
+
.mat-mdc-card-title + .mat-mdc-card-subtitle {
|
|
29
28
|
margin-top: 0;
|
|
30
29
|
margin-bottom: 0;
|
|
31
30
|
}
|
|
32
|
-
|
|
33
|
-
.mat-card-header-text {
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
31
|
}
|
|
37
32
|
|
|
38
|
-
.mat-card-content {
|
|
33
|
+
.mat-mdc-card-content {
|
|
39
34
|
flex: 1;
|
|
40
35
|
}
|
|
41
36
|
|
|
42
|
-
.mat-card-
|
|
43
|
-
margin: 0 16px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mat-card-header + .mat-card-content {
|
|
37
|
+
.mat-mdc-card-header + .mat-mdc-card-content {
|
|
47
38
|
padding-top: 16px;
|
|
48
39
|
}
|
|
49
40
|
}
|
|
50
41
|
|
|
51
|
-
.bui-card-flat.mat-card {
|
|
42
|
+
.bui-card-flat.mat-mdc-card {
|
|
52
43
|
box-shadow: none;
|
|
53
44
|
border: 1px solid #e0e0e0;
|
|
54
45
|
|
|
55
|
-
.mat-card-header {
|
|
46
|
+
.mat-mdc-card-header {
|
|
56
47
|
border-bottom: 1px solid #e0e0e0;
|
|
57
48
|
}
|
|
58
49
|
}
|
|
59
50
|
|
|
60
|
-
.bui-card-shaded.mat-card {
|
|
61
|
-
.mat-card-header {
|
|
51
|
+
.bui-card-shaded.mat-mdc-card {
|
|
52
|
+
.mat-mdc-card-header {
|
|
62
53
|
background: $bui-card-header-background-color;
|
|
63
54
|
}
|
|
64
55
|
}
|
package/theme/_ui-theme.scss
CHANGED
|
@@ -7,7 +7,9 @@ $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55,
|
|
|
7
7
|
$mat-foreground-extract: (
|
|
8
8
|
'secondary-text': 'light',
|
|
9
9
|
'hint-text': 'muted',
|
|
10
|
-
'divider': 'divider'
|
|
10
|
+
'divider': 'divider',
|
|
11
|
+
'base': 'base',
|
|
12
|
+
'inactive': 'inactive'
|
|
11
13
|
);
|
|
12
14
|
|
|
13
15
|
$mat-background-extract: (
|
|
@@ -46,8 +48,15 @@ $mat-background-extract: (
|
|
|
46
48
|
@include apply-color($p, $c, $border-color-transition);
|
|
47
49
|
}
|
|
48
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
|
+
|
|
49
59
|
@each $key, $name in $mat-foreground-extract {
|
|
50
|
-
$fg: map.get($color-config, 'foreground');
|
|
51
60
|
$c: map.get($fg, $key);
|
|
52
61
|
@include apply-color($name, $c, $border-color-transition);
|
|
53
62
|
}
|
|
@@ -60,7 +69,6 @@ $mat-background-extract: (
|
|
|
60
69
|
}
|
|
61
70
|
|
|
62
71
|
@each $key, $name in $mat-foreground-extract {
|
|
63
|
-
$fg: map.get($color-config, 'foreground');
|
|
64
72
|
$c: map.get($fg, $key);
|
|
65
73
|
--bui-color-#{$name}: #{$c};
|
|
66
74
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
1
|
import { ChangeDetectorRef, ElementRef, InjectionToken, TemplateRef } from '@angular/core';
|
|
3
2
|
import { TooltipComponent as MatTooltipComponent } from '@angular/material/tooltip';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
@@ -17,10 +16,9 @@ export declare class TooltipComponent extends MatTooltipComponent {
|
|
|
17
16
|
private _messageCopy;
|
|
18
17
|
_tooltip: ElementRef<HTMLElement>;
|
|
19
18
|
private tooltipDiv;
|
|
20
|
-
constructor(changeDetectorRef: ChangeDetectorRef,
|
|
19
|
+
constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _tooltipInst: TooltipTemplateContainer, animationMode?: string);
|
|
21
20
|
show(delay: number): void;
|
|
22
|
-
|
|
23
|
-
static
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "bui-tooltip-component", never, {}, {}, never, never, false>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [null, null, null, { optional: true; }]>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "bui-tooltip-component", never, {}, {}, never, never, false, never>;
|
|
25
23
|
}
|
|
26
24
|
export {};
|
|
@@ -37,5 +37,5 @@ export declare class TooltipDirective extends _MatTooltipBase<TooltipComponent>
|
|
|
37
37
|
/** @ignore */
|
|
38
38
|
clicked(): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[buiTooltip]", ["buiTooltip"], { "buiTooltipPosition": "buiTooltipPosition"; "buiTooltipDisabled": "buiTooltipDisabled"; "buiTooltip": "buiTooltip"; "buiTooltipClass": "buiTooltipClass"; }, {}, never, never, false>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[buiTooltip]", ["buiTooltip"], { "buiTooltipPosition": "buiTooltipPosition"; "buiTooltipDisabled": "buiTooltipDisabled"; "buiTooltip": "buiTooltip"; "buiTooltipClass": "buiTooltipClass"; }, {}, never, never, false, never>;
|
|
41
41
|
}
|