@brickclay-org/ui 0.1.57 → 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
@@ -797,6 +797,7 @@ declare class BkGrid<T = any> {
797
797
  actions: TableAction<T>[] | ((row: T) => TableAction<T>[]);
798
798
  customClass: string;
799
799
  actionIconClass: string;
800
+ actionClass: string;
800
801
  showNoRecords: boolean;
801
802
  noRecordFoundHeight: string;
802
803
  change: EventEmitter<{
@@ -833,7 +834,7 @@ declare class BkGrid<T = any> {
833
834
  onDragMoved(event: CdkDragMove<any>): void;
834
835
  onDragStart(event: CdkDragStart<any>): void;
835
836
  static ɵfac: i0.ɵɵFactoryDeclaration<BkGrid<any>, never>;
836
- static ɵcmp: i0.ɵɵComponentDeclaration<BkGrid<any>, "bk-grid", never, { "draggable": { "alias": "draggable"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "result": { "alias": "result"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "actionIconClass": { "alias": "actionIconClass"; "required": false; }; "showNoRecords": { "alias": "showNoRecords"; "required": false; }; "noRecordFoundHeight": { "alias": "noRecordFoundHeight"; "required": false; }; }, { "change": "change"; "actionClick": "actionClick"; "sortChange": "sortChange"; "dragDropChange": "dragDropChange"; }, never, never, true, never>;
837
+ static ɵcmp: i0.ɵɵComponentDeclaration<BkGrid<any>, "bk-grid", never, { "draggable": { "alias": "draggable"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "result": { "alias": "result"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "actionIconClass": { "alias": "actionIconClass"; "required": false; }; "actionClass": { "alias": "actionClass"; "required": false; }; "showNoRecords": { "alias": "showNoRecords"; "required": false; }; "noRecordFoundHeight": { "alias": "noRecordFoundHeight"; "required": false; }; }, { "change": "change"; "actionClick": "actionClick"; "sortChange": "sortChange"; "dragDropChange": "dragDropChange"; }, never, never, true, never>;
837
838
  }
838
839
 
839
840
  declare class BkSelect implements ControlValueAccessor {
@@ -1759,6 +1760,7 @@ declare class BKTooltipDirective implements OnInit, OnChanges, OnDestroy {
1759
1760
  tooltipPosition: 'left' | 'right' | 'top' | 'bottom';
1760
1761
  scrollable: boolean;
1761
1762
  maxHeight: string;
1763
+ tooltipSize: 'sm' | 'md';
1762
1764
  autoHeight: boolean;
1763
1765
  private tooltipElement;
1764
1766
  private contentWrapper;
@@ -1790,7 +1792,7 @@ declare class BKTooltipDirective implements OnInit, OnChanges, OnDestroy {
1790
1792
  private removeTooltip;
1791
1793
  private setStyle;
1792
1794
  static ɵfac: i0.ɵɵFactoryDeclaration<BKTooltipDirective, never>;
1793
- 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>;
1794
1796
  }
1795
1797
 
1796
1798
  declare class BkValidator implements OnInit {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-add": {
6
6
  "save": "dependencies"
@@ -52,16 +52,16 @@
52
52
 
53
53
  /* ─── Severity – ERROR (red) ──────────────────────────────────────────────── */
54
54
  .toast-item[data-severity="error"] {
55
- @apply bg-[#FFF1F1] border-[#FFF1F1];
55
+ @apply bg-[#C84144] border-[#FFF1F1];
56
56
  }
57
- .toast-item[data-severity="error"] .toast-icon path { stroke: #CB1432; }
58
- .toast-item[data-severity="error"] .toast-summary { @apply text-[#B41E32]; }
59
- /* .toast-item[data-severity="error"] .toast-detail { @apply text-red-700; } */
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] text-white;
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: #CB1432; }
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
  }