@mezzanine-ui/core 0.13.0 → 0.13.2
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/package.json +3 -3
- package/table/_table-styles.scss +4 -0
- package/table/table.d.ts +6 -0
- package/table/table.js +1 -0
- package/tree/tree.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mezzanine-ui/core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "Core for mezzanine-ui",
|
|
5
5
|
"author": "Mezzanine",
|
|
6
6
|
"repository": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@mezzanine-ui/icons": "^0.13.
|
|
40
|
-
"@mezzanine-ui/system": "^0.13.
|
|
39
|
+
"@mezzanine-ui/icons": "^0.13.2",
|
|
40
|
+
"@mezzanine-ui/system": "^0.13.2",
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
42
|
"tslib": "^2.4.1"
|
|
43
43
|
}
|
package/table/_table-styles.scss
CHANGED
package/table/table.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const tableClasses: {
|
|
|
18
18
|
readonly bodyEmpty: `${string}__empty`;
|
|
19
19
|
readonly bodyFetchMore: `${string}__fetchMore`;
|
|
20
20
|
readonly bodyRow: `${string}__row`;
|
|
21
|
+
readonly bodyRowDragging: `${string}__row--drag`;
|
|
21
22
|
readonly bodyRowHighlight: `${string}__row--highlight`;
|
|
22
23
|
readonly bodyRowCellWrapper: `${string}__row__cellWrapper`;
|
|
23
24
|
readonly bodyRowCellWrapperFixed: `${string}__row__cellWrapper--fixed`;
|
|
@@ -81,6 +82,11 @@ export interface TableRowSelection {
|
|
|
81
82
|
onChange?(keys: string[]): void;
|
|
82
83
|
actions?: TableRowAction[];
|
|
83
84
|
}
|
|
85
|
+
/** === Feature draggable */
|
|
86
|
+
export interface TableDraggable {
|
|
87
|
+
enabled: boolean;
|
|
88
|
+
onDragEnd?: (nextDataSource: any[]) => void;
|
|
89
|
+
}
|
|
84
90
|
/** === Feature Expandable */
|
|
85
91
|
export type ExpandRowBySources = {
|
|
86
92
|
dataSource: TableDataSource[];
|
package/table/table.js
CHANGED
|
@@ -18,6 +18,7 @@ const tableClasses = {
|
|
|
18
18
|
bodyEmpty: `${tableBodyPrefix}__empty`,
|
|
19
19
|
bodyFetchMore: `${tableBodyPrefix}__fetchMore`,
|
|
20
20
|
bodyRow: `${tableBodyPrefix}__row`,
|
|
21
|
+
bodyRowDragging: `${tableBodyPrefix}__row--drag`,
|
|
21
22
|
bodyRowHighlight: `${tableBodyPrefix}__row--highlight`,
|
|
22
23
|
bodyRowCellWrapper: `${tableBodyPrefix}__row__cellWrapper`,
|
|
23
24
|
bodyRowCellWrapperFixed: `${tableBodyPrefix}__row__cellWrapper--fixed`,
|