@brickclay-org/ui 0.0.19 → 0.0.21

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
@@ -573,7 +573,7 @@ interface TableAction {
573
573
  }
574
574
 
575
575
  type SortDirection = 'asc' | 'desc';
576
- declare class BkGrid<T = any> {
576
+ declare class GridComponent<T = any> {
577
577
  draggable: boolean;
578
578
  columns: TableColumn<T>[];
579
579
  result: T[];
@@ -599,9 +599,9 @@ declare class BkGrid<T = any> {
599
599
  dropList(event: CdkDragDrop<T[]>): void;
600
600
  onDragMoved(event: CdkDragMove<any>): void;
601
601
  onDragStart(event: CdkDragStart<any>): void;
602
- static ɵfac: i0.ɵɵFactoryDeclaration<BkGrid<any>, never>;
603
- 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; }; }, { "actionClick": "actionClick"; "sortChange": "sortChange"; "dragDropChange": "dragDropChange"; }, never, never, true, never>;
602
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent<any>, never>;
603
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent<any>, "bk-grid", never, { "draggable": { "alias": "draggable"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "result": { "alias": "result"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "actionClick": "actionClick"; "sortChange": "sortChange"; "dragDropChange": "dragDropChange"; }, never, never, true, never>;
604
604
  }
605
605
 
606
- export { BadgeComponent, BkGrid, BrickclayIcons, BrickclayLib, ButtonGroup, CalendarManagerService, CalendarModule, CheckboxComponent, CustomCalendarComponent, PillComponent, RadioComponent, ScheduledDatePickerComponent, Spinner, Textarea, TimePickerComponent, ToggleComponent, UiButton, UiIconButton };
606
+ export { BadgeComponent, BrickclayIcons, BrickclayLib, ButtonGroup, CalendarManagerService, CalendarModule, CheckboxComponent, CustomCalendarComponent, GridComponent, PillComponent, RadioComponent, ScheduledDatePickerComponent, Spinner, Textarea, TimePickerComponent, ToggleComponent, UiButton, UiIconButton };
607
607
  export type { BadgeColor, BadgeSize, BadgeVariant, ButtonSize, ButtonVariant, CalendarRange, CalendarSelection, GroupItem, GroupMode, IconButtonSize, IconButtonVariant, PillColor, PillSize, PillVariant, ScheduledDateSelection, SortDirection, SpinnerSize, TableAction, TableColumn, TimeConfiguration };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0 <=21.0.0",
6
6
  "@angular/core": ">=17.0.0 <=21.0.0",
@@ -0,0 +1,18 @@
1
+ .cdk-drag-preview {
2
+ display: table;
3
+ width: 100%;
4
+ background: #fff;
5
+ box-shadow: 0 5px 5px -3px rgba(0,0,0,.2),
6
+ 0 8px 10px 1px rgba(0,0,0,.14),
7
+ 0 3px 14px 2px rgba(0,0,0,.12);
8
+ }
9
+
10
+ .cdk-drag-placeholder {
11
+ opacity: 0.4;
12
+ background-color: #f3f4f6;
13
+ }
14
+
15
+ .cdk-drag-animating,
16
+ .cdk-drop-list-dragging .cdk-drag {
17
+ transition: transform 250ms cubic-bezier(0,0,.2,1);
18
+ }