@orangelogic/design-system 2.209.0 → 2.211.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.209.0",
4
+ "version": "2.211.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -27,7 +27,9 @@ export declare const MENU_ACTION: {
27
27
  UNLINK: string;
28
28
  };
29
29
  export declare const LAYOUT_DEBOUNCE = 100;
30
- export declare const SUMMARY_HEIGHT = 46;
30
+ export declare const SUMMARY_LINE_HEIGHT = 20;
31
+ export declare const SUMMARY_GAP = 4;
32
+ export declare const SUMMARY_VERTICAL_PADDING = 8;
31
33
  export declare const MAX_LABEL_WIDTH = 132;
32
34
  export declare const MAX_LABEL_HEIGHT = 80;
33
35
  export declare const VERTICAL_LABEL_OFFSET: number;
@@ -65,6 +65,9 @@ export default class CxBoard extends CortexElement {
65
65
  private end;
66
66
  private previous;
67
67
  private lastSelectedItem;
68
+ /** Last pointer `clientY` during a drag. */
69
+ private dragPointerY;
70
+ private dragScrollFrame;
68
71
  get selectedCount(): number;
69
72
  get isAllSelected(): boolean;
70
73
  get isPartiallySelected(): boolean;
@@ -75,6 +78,8 @@ export default class CxBoard extends CortexElement {
75
78
  */
76
79
  get selectableItems(): BoardItem[];
77
80
  constructor();
81
+ runConnectedCallback(): void;
82
+ disconnectedCallback(): void;
78
83
  private resetSelectedItems;
79
84
  /** Handles the update of items in the board. */
80
85
  private handleUpdateEvent;
@@ -106,6 +111,9 @@ export default class CxBoard extends CortexElement {
106
111
  private selectSingleItem;
107
112
  private handleItemKeydown;
108
113
  handleStart(evt: Sortable.SortableEvent): void;
114
+ private handleDragPointerMove;
115
+ /** Replaces Sortable's auto-scroll, which cannot see lists inside the shadow root. */
116
+ private autoScrollDraggedList;
109
117
  handleUpdate(evt: Sortable.SortableEvent): void;
110
118
  /**
111
119
  * Keeps disabled (`readonly`) rows fixed relative to each other when other rows are reordered.
@@ -129,6 +137,7 @@ export default class CxBoard extends CortexElement {
129
137
  * real item.
130
138
  */
131
139
  private resolveRealInsertIndex;
140
+ private resolveDropIndex;
132
141
  private initSortable;
133
142
  /** Initializes the sortable functionality for the list element. */
134
143
  runFirstUpdated(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.209.0",
4
+ "version": "2.211.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {