@bravura/ui 2.5.3 → 3.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.
- package/CHANGELOG.md +27 -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 +58 -80
- package/esm2020/form-field/form-field.module.mjs +8 -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 +67 -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 +65 -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 +23 -16
- package/form-field/form-field.module.d.ts +1 -1
- package/form-field/public-api.d.ts +1 -1
- package/icon-font/icon.directive.d.ts +1 -1
- package/package.json +1 -1
- 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 +56 -0
- package/theme/_ui-theme.scss +15 -3
- package/theme/scrollbar.scss +32 -30
- package/tooltip/tooltip.component.d.ts +3 -5
- package/tooltip/tooltip.directive.d.ts +1 -1
package/theme/scrollbar.scss
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
$bui-scrollbar-
|
|
3
|
-
$bui-scrollbar-
|
|
4
|
-
$bui-scrollbar-thumb-
|
|
5
|
-
$bui-scrollbar-thumb-
|
|
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));
|
|
6
7
|
|
|
7
|
-
.bui-styled-scrollbar {
|
|
8
|
-
|
|
8
|
+
.bui-styled-scrollbar {
|
|
9
|
+
scrollbar-width: thin;
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
&::-webkit-scrollbar {
|
|
17
|
-
width: $bui-scrollbar-width;
|
|
18
|
-
background-color: $bui-scrollbar-background;
|
|
19
|
-
}
|
|
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
|
+
}
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
&:hover {
|
|
25
|
-
background-color: $bui-scrollbar-thumb-hover;
|
|
17
|
+
&::-webkit-scrollbar {
|
|
18
|
+
width: $bui-scrollbar-width;
|
|
19
|
+
background-color: $bui-scrollbar-background;
|
|
26
20
|
}
|
|
27
|
-
|
|
28
|
-
|
|
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
|
+
}
|
|
29
31
|
}
|
|
30
|
-
}
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -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
|
}
|