@brickclay-org/ui 0.1.58 → 0.1.59
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/index.d.ts
CHANGED
|
@@ -1760,6 +1760,7 @@ declare class BKTooltipDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
1760
1760
|
tooltipPosition: 'left' | 'right' | 'top' | 'bottom';
|
|
1761
1761
|
scrollable: boolean;
|
|
1762
1762
|
maxHeight: string;
|
|
1763
|
+
tooltipSize: 'sm' | 'md';
|
|
1763
1764
|
autoHeight: boolean;
|
|
1764
1765
|
private tooltipElement;
|
|
1765
1766
|
private contentWrapper;
|
|
@@ -1791,7 +1792,7 @@ declare class BKTooltipDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
1791
1792
|
private removeTooltip;
|
|
1792
1793
|
private setStyle;
|
|
1793
1794
|
static ɵfac: i0.ɵɵFactoryDeclaration<BKTooltipDirective, never>;
|
|
1794
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BKTooltipDirective, "[bkTooltip]", never, { "tooltipContent": { "alias": "bkTooltip"; "required": false; }; "tooltipPosition": { "alias": "bkTooltipPosition"; "required": false; }; "scrollable": { "alias": "bkTooltipScrollable"; "required": false; }; "maxHeight": { "alias": "bkTooltipMaxHeight"; "required": false; }; "autoHeight": { "alias": "bkTooltipAutoHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
1795
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BKTooltipDirective, "[bkTooltip]", never, { "tooltipContent": { "alias": "bkTooltip"; "required": false; }; "tooltipPosition": { "alias": "bkTooltipPosition"; "required": false; }; "scrollable": { "alias": "bkTooltipScrollable"; "required": false; }; "maxHeight": { "alias": "bkTooltipMaxHeight"; "required": false; }; "tooltipSize": { "alias": "bkTooltipSize"; "required": false; }; "autoHeight": { "alias": "bkTooltipAutoHeight"; "required": false; }; }, {}, never, never, true, never>;
|
|
1795
1796
|
}
|
|
1796
1797
|
|
|
1797
1798
|
declare class BkValidator implements OnInit {
|
package/package.json
CHANGED
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
|
|
53
53
|
/* ─── Severity – ERROR (red) ──────────────────────────────────────────────── */
|
|
54
54
|
.toast-item[data-severity="error"] {
|
|
55
|
-
@apply bg-[#
|
|
55
|
+
@apply bg-[#C84144] border-[#FFF1F1];
|
|
56
56
|
}
|
|
57
|
-
.toast-item[data-severity="error"] .toast-icon path { stroke:
|
|
58
|
-
.toast-item[data-severity="error"] .toast-summary { @apply text-
|
|
59
|
-
|
|
57
|
+
.toast-item[data-severity="error"] .toast-icon path { stroke: white; }
|
|
58
|
+
.toast-item[data-severity="error"] .toast-summary { @apply text-white; }
|
|
59
|
+
.toast-item[data-severity="error"] .toast-detail { @apply text-gray-200; }
|
|
60
60
|
.toast-item[data-severity="error"] .toast-action {
|
|
61
|
-
@apply bg-[#CB1432]
|
|
61
|
+
@apply bg-white text-[#CB1432];
|
|
62
62
|
}
|
|
63
63
|
/* .toast-item[data-severity="error"] .toast-action:hover { @apply bg-red-800; } */
|
|
64
|
-
.toast-item[data-severity="error"] .toast-close path { stroke:
|
|
64
|
+
.toast-item[data-severity="error"] .toast-close path { stroke: white; }
|
|
65
65
|
|
|
66
66
|
/* ─── Severity – WARN (orange / amber) ────────────────────────────────────── */
|
|
67
67
|
.toast-item[data-severity="warn"] {
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
.bk-tooltip-content {
|
|
3
3
|
background-color: #000;
|
|
4
4
|
color: #fff;
|
|
5
|
-
padding: 8px 12px;
|
|
6
5
|
border-radius: 8px;
|
|
7
6
|
font-weight: 500;
|
|
8
|
-
font-size: 12px;
|
|
9
7
|
line-height: 18px;
|
|
10
8
|
position: fixed; /* match directive */
|
|
11
9
|
font-family: 'Inter', sans-serif !important;
|
|
@@ -14,6 +12,19 @@
|
|
|
14
12
|
width: max-content; /* ← key fix: shrink to content, respect max-width */
|
|
15
13
|
}
|
|
16
14
|
|
|
15
|
+
/* md variation (default) */
|
|
16
|
+
.bk-tooltip-content.bk-tooltip-md {
|
|
17
|
+
padding: 8px 12px;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* sm variation */
|
|
22
|
+
.bk-tooltip-content.bk-tooltip-sm {
|
|
23
|
+
padding: 2px 4px;
|
|
24
|
+
font-size: 8px;
|
|
25
|
+
line-height: 14px;
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
.bk-tooltip-content .text {
|
|
18
29
|
margin-bottom: 0;
|
|
19
30
|
word-break: break-word;
|
|
@@ -44,6 +55,10 @@
|
|
|
44
55
|
box-sizing: border-box;
|
|
45
56
|
}
|
|
46
57
|
|
|
58
|
+
.bk-tooltip-content.bk-tooltip-scrollable.bk-tooltip-sm .bk-tooltip-content-wrapper {
|
|
59
|
+
padding: 4px 8px;
|
|
60
|
+
}
|
|
61
|
+
|
|
47
62
|
.bk-tooltip-content.bk-tooltip-scrollable .bk-tooltip-content-wrapper::-webkit-scrollbar {
|
|
48
63
|
width: 6px;
|
|
49
64
|
}
|