@uzum-tech/ui 2.0.8 → 2.1.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.
Files changed (83) hide show
  1. package/dist/index.js +1787 -467
  2. package/dist/index.mjs +1782 -468
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/carousel/src/Carousel.d.ts +1 -1
  6. package/es/components.d.ts +655 -5
  7. package/es/components.mjs +5 -0
  8. package/es/config-provider/src/internal-interface.d.ts +3 -1
  9. package/es/data-table/src/DataTable.d.ts +1 -1
  10. package/es/descriptions/src/Descriptions.d.ts +1 -1
  11. package/es/kanban/index.d.ts +7 -0
  12. package/es/kanban/index.mjs +5 -0
  13. package/es/kanban/src/Kanban.d.ts +570 -0
  14. package/es/kanban/src/Kanban.mjs +349 -0
  15. package/es/kanban/src/KanbanCard.d.ts +39 -0
  16. package/es/kanban/src/KanbanCard.mjs +86 -0
  17. package/es/kanban/src/KanbanColumn.d.ts +45 -0
  18. package/es/kanban/src/KanbanColumn.mjs +176 -0
  19. package/es/kanban/src/injection.d.ts +28 -0
  20. package/es/kanban/src/injection.mjs +2 -0
  21. package/es/kanban/src/interface.d.ts +215 -0
  22. package/es/kanban/src/interface.mjs +84 -0
  23. package/es/kanban/src/styles/index.cssr.d.ts +2 -0
  24. package/es/kanban/src/styles/index.cssr.mjs +165 -0
  25. package/es/kanban/src/use-kanban-data.d.ts +4 -0
  26. package/es/kanban/src/use-kanban-data.mjs +69 -0
  27. package/es/kanban/src/use-kanban-drag.d.ts +2 -0
  28. package/es/kanban/src/use-kanban-drag.mjs +238 -0
  29. package/es/kanban/styles/dark.d.ts +73 -0
  30. package/es/kanban/styles/dark.mjs +15 -0
  31. package/es/kanban/styles/index.d.ts +3 -0
  32. package/es/kanban/styles/index.mjs +2 -0
  33. package/es/kanban/styles/light.d.ts +109 -0
  34. package/es/kanban/styles/light.mjs +64 -0
  35. package/es/modal/src/BodyWrapper.d.ts +1 -1
  36. package/es/themes/dark.mjs +2 -0
  37. package/es/themes/light.mjs +2 -0
  38. package/es/tree/src/Tree.d.ts +1 -1
  39. package/es/tree/src/TreeNode.d.ts +1 -1
  40. package/es/tree/src/TreeNode.mjs +2 -1
  41. package/es/version.d.ts +1 -1
  42. package/es/version.mjs +1 -1
  43. package/lib/carousel/src/Carousel.d.ts +1 -1
  44. package/lib/components.d.ts +655 -5
  45. package/lib/components.js +13 -5
  46. package/lib/config-provider/src/internal-interface.d.ts +3 -1
  47. package/lib/data-table/src/DataTable.d.ts +1 -1
  48. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  49. package/lib/kanban/index.d.ts +7 -0
  50. package/lib/kanban/index.js +17 -0
  51. package/lib/kanban/src/Kanban.d.ts +570 -0
  52. package/lib/kanban/src/Kanban.js +291 -0
  53. package/lib/kanban/src/KanbanCard.d.ts +39 -0
  54. package/lib/kanban/src/KanbanCard.js +63 -0
  55. package/lib/kanban/src/KanbanColumn.d.ts +45 -0
  56. package/lib/kanban/src/KanbanColumn.js +141 -0
  57. package/lib/kanban/src/injection.d.ts +28 -0
  58. package/lib/kanban/src/injection.js +5 -0
  59. package/lib/kanban/src/interface.d.ts +215 -0
  60. package/lib/kanban/src/interface.js +87 -0
  61. package/lib/kanban/src/styles/index.cssr.d.ts +2 -0
  62. package/lib/kanban/src/styles/index.cssr.js +170 -0
  63. package/lib/kanban/src/use-kanban-data.d.ts +4 -0
  64. package/lib/kanban/src/use-kanban-data.js +70 -0
  65. package/lib/kanban/src/use-kanban-drag.d.ts +2 -0
  66. package/lib/kanban/src/use-kanban-drag.js +220 -0
  67. package/lib/kanban/styles/dark.d.ts +73 -0
  68. package/lib/kanban/styles/dark.js +17 -0
  69. package/lib/kanban/styles/index.d.ts +3 -0
  70. package/lib/kanban/styles/index.js +10 -0
  71. package/lib/kanban/styles/light.d.ts +109 -0
  72. package/lib/kanban/styles/light.js +54 -0
  73. package/lib/modal/src/BodyWrapper.d.ts +1 -1
  74. package/lib/themes/dark.js +98 -96
  75. package/lib/themes/light.js +96 -94
  76. package/lib/tree/src/Tree.d.ts +1 -1
  77. package/lib/tree/src/TreeNode.d.ts +1 -1
  78. package/lib/tree/src/TreeNode.js +2 -1
  79. package/lib/version.d.ts +1 -1
  80. package/lib/version.js +1 -1
  81. package/package.json +1 -1
  82. package/volar.d.ts +3 -0
  83. package/web-types.json +171 -1
@@ -0,0 +1,220 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useKanbanDrag = useKanbanDrag;
4
+ const vue_1 = require("vue");
5
+ const use_kanban_data_1 = require("./use-kanban-data");
6
+ const DROP_HALF_DIVISOR = 2;
7
+ function useKanbanDrag(deps) {
8
+ const { dataRef, columnsRef, columnFieldRef, orientationRef, getItemKey, isItemDraggable, isColumnDraggable, allowDropRef } = deps;
9
+ const draggingItemKeySetRef = (0, vue_1.ref)(new Set());
10
+ const draggingItemRef = (0, vue_1.ref)(null);
11
+ const draggingColumnKeyRef = (0, vue_1.ref)(null);
12
+ const droppingColumnKeyRef = (0, vue_1.ref)(null);
13
+ const droppingItemKeyRef = (0, vue_1.ref)(null);
14
+ const droppingPositionRef = (0, vue_1.ref)(null);
15
+ const columnByKeyRef = (0, vue_1.computed)(() => {
16
+ const map = new Map();
17
+ for (const column of columnsRef.value) {
18
+ map.set(column.key, column);
19
+ }
20
+ return map;
21
+ });
22
+ function resetDropState() {
23
+ droppingColumnKeyRef.value = null;
24
+ droppingItemKeyRef.value = null;
25
+ droppingPositionRef.value = null;
26
+ }
27
+ function handleDragEnd() {
28
+ draggingItemKeySetRef.value = new Set();
29
+ draggingItemRef.value = null;
30
+ draggingColumnKeyRef.value = null;
31
+ resetDropState();
32
+ }
33
+ function getColumnOf(item) {
34
+ return columnByKeyRef.value.get(item[columnFieldRef.value]);
35
+ }
36
+ function resolvePosition(event, target) {
37
+ const rect = target.getBoundingClientRect();
38
+ if (orientationRef.value === 'vertical') {
39
+ const offset = event.clientX - rect.left;
40
+ return offset < rect.width / DROP_HALF_DIVISOR ? 'before' : 'after';
41
+ }
42
+ const offset = event.clientY - rect.top;
43
+ return offset < rect.height / DROP_HALF_DIVISOR ? 'before' : 'after';
44
+ }
45
+ function handleItemDragStart(event, item) {
46
+ const column = getColumnOf(item);
47
+ if (!column || !isItemDraggable(item, column)) {
48
+ event.preventDefault();
49
+ return;
50
+ }
51
+ draggingItemKeySetRef.value = new Set([getItemKey(item)]);
52
+ draggingItemRef.value = item;
53
+ draggingColumnKeyRef.value = null;
54
+ if (event.dataTransfer) {
55
+ event.dataTransfer.effectAllowed = 'move';
56
+ event.dataTransfer.setData('text/plain', String(getItemKey(item)));
57
+ }
58
+ deps.emitDragStart({ type: 'item', item, column });
59
+ }
60
+ function handleItemDragOver(event, item) {
61
+ if (!draggingItemKeySetRef.value.size) {
62
+ return;
63
+ }
64
+ event.stopPropagation();
65
+ event.preventDefault();
66
+ if (event.dataTransfer) {
67
+ event.dataTransfer.dropEffect = 'move';
68
+ }
69
+ const column = getColumnOf(item);
70
+ if (column === null || column === void 0 ? void 0 : column.frozen) {
71
+ resetDropState();
72
+ return;
73
+ }
74
+ droppingColumnKeyRef.value = item[columnFieldRef.value];
75
+ if (draggingItemKeySetRef.value.has(getItemKey(item))) {
76
+ return;
77
+ }
78
+ const target = event.currentTarget;
79
+ if (!target) {
80
+ return;
81
+ }
82
+ droppingItemKeyRef.value = getItemKey(item);
83
+ droppingPositionRef.value = resolvePosition(event, target);
84
+ }
85
+ function handleItemDrop(event, item) {
86
+ if (!draggingItemKeySetRef.value.size) {
87
+ return;
88
+ }
89
+ event.stopPropagation();
90
+ event.preventDefault();
91
+ finishItemDrop(item[columnFieldRef.value]);
92
+ }
93
+ function handleColumnDragStart(event, column) {
94
+ if (!isColumnDraggable(column)) {
95
+ event.preventDefault();
96
+ return;
97
+ }
98
+ draggingColumnKeyRef.value = column.key;
99
+ draggingItemKeySetRef.value = new Set();
100
+ if (event.dataTransfer) {
101
+ event.dataTransfer.effectAllowed = 'move';
102
+ event.dataTransfer.setData('text/plain', String(column.key));
103
+ }
104
+ deps.emitDragStart({ type: 'column', column });
105
+ }
106
+ function handleColumnDragOver(event, column) {
107
+ if (draggingColumnKeyRef.value != null) {
108
+ event.preventDefault();
109
+ if (event.dataTransfer) {
110
+ event.dataTransfer.dropEffect = 'move';
111
+ }
112
+ const target = event.currentTarget;
113
+ droppingColumnKeyRef.value = column.key;
114
+ droppingItemKeyRef.value = null;
115
+ droppingPositionRef.value = target ? resolvePosition(event, target) : null;
116
+ return;
117
+ }
118
+ if (draggingItemKeySetRef.value.size) {
119
+ if (column.frozen) {
120
+ return;
121
+ }
122
+ event.preventDefault();
123
+ if (event.dataTransfer) {
124
+ event.dataTransfer.dropEffect = 'move';
125
+ }
126
+ if (droppingColumnKeyRef.value !== column.key) {
127
+ droppingColumnKeyRef.value = column.key;
128
+ droppingItemKeyRef.value = null;
129
+ droppingPositionRef.value = null;
130
+ }
131
+ }
132
+ }
133
+ function handleColumnDrop(event, column) {
134
+ var _a;
135
+ event.preventDefault();
136
+ if (draggingColumnKeyRef.value != null) {
137
+ const next = (0, use_kanban_data_1.reorderColumns)(columnsRef.value, draggingColumnKeyRef.value, column.key, (_a = droppingPositionRef.value) !== null && _a !== void 0 ? _a : 'before');
138
+ const movedColumn = columnByKeyRef.value.get(draggingColumnKeyRef.value);
139
+ handleDragEnd();
140
+ if (next && movedColumn) {
141
+ deps.emitColumnsReorder(next);
142
+ deps.emitDragEnd({ type: 'column', column: movedColumn });
143
+ }
144
+ return;
145
+ }
146
+ finishItemDrop(column.key);
147
+ }
148
+ function finishItemDrop(targetColumnKey) {
149
+ const draggingKey = draggingItemKeySetRef.value.values().next().value;
150
+ const targetColumn = columnByKeyRef.value.get(targetColumnKey);
151
+ if (draggingKey === undefined || !targetColumn || targetColumn.frozen) {
152
+ handleDragEnd();
153
+ return;
154
+ }
155
+ const columnField = columnFieldRef.value;
156
+ const targetIndex = computeTargetIndex(targetColumnKey, draggingKey);
157
+ const result = (0, use_kanban_data_1.moveItem)(dataRef.value, getItemKey, columnField, draggingKey, targetColumnKey, targetIndex);
158
+ if (!result) {
159
+ handleDragEnd();
160
+ return;
161
+ }
162
+ const ctx = {
163
+ item: result.item,
164
+ from: result.from,
165
+ to: result.to
166
+ };
167
+ if (ctx.from.column === ctx.to.column && ctx.from.index === ctx.to.index) {
168
+ handleDragEnd();
169
+ return;
170
+ }
171
+ if (ctx.from.column !== ctx.to.column
172
+ && typeof targetColumn.max === 'number') {
173
+ const targetCount = dataRef.value.filter(item => item[columnField] === targetColumnKey).length;
174
+ if (targetCount >= targetColumn.max) {
175
+ handleDragEnd();
176
+ return;
177
+ }
178
+ }
179
+ if (allowDropRef.value && !allowDropRef.value(ctx)) {
180
+ handleDragEnd();
181
+ return;
182
+ }
183
+ const movedColumn = columnByKeyRef.value.get(ctx.from.column);
184
+ handleDragEnd();
185
+ deps.emitUpdateData(result.data);
186
+ deps.emitMove(ctx);
187
+ if (movedColumn) {
188
+ deps.emitDragEnd({ type: 'item', item: ctx.item, column: movedColumn });
189
+ }
190
+ }
191
+ function computeTargetIndex(targetColumnKey, draggingKey) {
192
+ const columnField = columnFieldRef.value;
193
+ const columnItems = dataRef.value.filter(item => item[columnField] === targetColumnKey
194
+ && getItemKey(item) !== draggingKey);
195
+ const dropItemKey = droppingItemKeyRef.value;
196
+ if (dropItemKey == null) {
197
+ return columnItems.length;
198
+ }
199
+ const index = columnItems.findIndex(item => getItemKey(item) === dropItemKey);
200
+ if (index < 0) {
201
+ return columnItems.length;
202
+ }
203
+ return droppingPositionRef.value === 'after' ? index + 1 : index;
204
+ }
205
+ return {
206
+ draggingItemKeySetRef,
207
+ draggingItemRef,
208
+ draggingColumnKeyRef,
209
+ droppingColumnKeyRef,
210
+ droppingItemKeyRef,
211
+ droppingPositionRef,
212
+ handleItemDragStart,
213
+ handleItemDragOver,
214
+ handleItemDrop,
215
+ handleColumnDragStart,
216
+ handleColumnDragOver,
217
+ handleColumnDrop,
218
+ handleDragEnd
219
+ };
220
+ }
@@ -0,0 +1,73 @@
1
+ declare const kanbanDark: import("../../_mixins").Theme<"Kanban", {
2
+ columnWidth: string;
3
+ columnGap: string;
4
+ cardGap: string;
5
+ boardPadding: string;
6
+ columnHeaderPadding: string;
7
+ columnBodyPadding: string;
8
+ columnBackgroundColor: string;
9
+ columnBorderRadius: string;
10
+ columnHeaderColor: string;
11
+ countBackgroundColor: string;
12
+ countTextColor: string;
13
+ statusSuccessHeaderColor: string;
14
+ statusSuccessCountColor: string;
15
+ statusProgressHeaderColor: string;
16
+ statusProgressCountColor: string;
17
+ statusPendingHeaderColor: string;
18
+ statusPendingCountColor: string;
19
+ statusErrorHeaderColor: string;
20
+ statusErrorCountColor: string;
21
+ columnDraggingOpacity: string;
22
+ cardBackgroundColor: string;
23
+ cardBackgroundColorDragging: string;
24
+ cardBorderColorDragging: string;
25
+ cardBorderRadius: string;
26
+ cardPadding: string;
27
+ cardColor: string;
28
+ cardSubColor: string;
29
+ cardBoxShadow: string;
30
+ cardBoxShadowHover: string;
31
+ cardBoxShadowDragging: string;
32
+ dropIndicatorColor: string;
33
+ maxReachedColor: string;
34
+ }, {
35
+ Empty: import("../../_mixins").Theme<"Empty", {
36
+ iconSizeSmall: string;
37
+ iconSizeMedium: string;
38
+ iconSizeLarge: string;
39
+ iconSizeHuge: string;
40
+ titleFontSizeSmall: string;
41
+ titleFontSizeMedium: string;
42
+ titleFontSizeLarge: string;
43
+ titleFontSizeHuge: string;
44
+ descriptionFontSizeSmall: string;
45
+ descriptionFontSizeMedium: string;
46
+ descriptionFontSizeLarge: string;
47
+ descriptionFontSizeHuge: string;
48
+ titleColor: string;
49
+ descriptionColor: string;
50
+ iconColor: string;
51
+ iconBgColor: string;
52
+ extraTextColor: string;
53
+ }, any>;
54
+ Badge: import("../../_mixins").Theme<"Badge", {
55
+ color: string;
56
+ colorPrime: string;
57
+ colorInfo: string;
58
+ colorSuccess: string;
59
+ colorError: string;
60
+ colorWarning: string;
61
+ fontSize: string;
62
+ textColor: string;
63
+ textColorPrime: string;
64
+ textColorInfo: string;
65
+ textColorSuccess: string;
66
+ textColorError: string;
67
+ textColorWarning: string;
68
+ borderColor: string;
69
+ dotSize: string;
70
+ }, any>;
71
+ }>;
72
+ export default kanbanDark;
73
+ export type KanbanTheme = typeof kanbanDark;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const _mixins_1 = require("../../_mixins");
4
+ const common_1 = require("../../_styles/common");
5
+ const styles_1 = require("../../badge/styles");
6
+ const styles_2 = require("../../empty/styles");
7
+ const light_1 = require("./light");
8
+ const kanbanDark = (0, _mixins_1.createTheme)({
9
+ name: 'Kanban',
10
+ common: common_1.commonDark,
11
+ peers: {
12
+ Empty: styles_2.emptyDark,
13
+ Badge: styles_1.badgeDark
14
+ },
15
+ self: light_1.self
16
+ });
17
+ exports.default = kanbanDark;
@@ -0,0 +1,3 @@
1
+ export { default as kanbanDark } from './dark';
2
+ export { default as kanbanLight } from './light';
3
+ export type { KanbanTheme, KanbanThemeVars } from './light';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.kanbanLight = exports.kanbanDark = void 0;
7
+ var dark_1 = require("./dark");
8
+ Object.defineProperty(exports, "kanbanDark", { enumerable: true, get: function () { return __importDefault(dark_1).default; } });
9
+ var light_1 = require("./light");
10
+ Object.defineProperty(exports, "kanbanLight", { enumerable: true, get: function () { return __importDefault(light_1).default; } });
@@ -0,0 +1,109 @@
1
+ import type { ThemeCommonVars } from '../../_styles/common';
2
+ export declare function self(vars: ThemeCommonVars): {
3
+ columnWidth: string;
4
+ columnGap: string;
5
+ cardGap: string;
6
+ boardPadding: string;
7
+ columnHeaderPadding: string;
8
+ columnBodyPadding: string;
9
+ columnBackgroundColor: string;
10
+ columnBorderRadius: string;
11
+ columnHeaderColor: string;
12
+ countBackgroundColor: string;
13
+ countTextColor: string;
14
+ statusSuccessHeaderColor: string;
15
+ statusSuccessCountColor: string;
16
+ statusProgressHeaderColor: string;
17
+ statusProgressCountColor: string;
18
+ statusPendingHeaderColor: string;
19
+ statusPendingCountColor: string;
20
+ statusErrorHeaderColor: string;
21
+ statusErrorCountColor: string;
22
+ columnDraggingOpacity: string;
23
+ cardBackgroundColor: string;
24
+ cardBackgroundColorDragging: string;
25
+ cardBorderColorDragging: string;
26
+ cardBorderRadius: string;
27
+ cardPadding: string;
28
+ cardColor: string;
29
+ cardSubColor: string;
30
+ cardBoxShadow: string;
31
+ cardBoxShadowHover: string;
32
+ cardBoxShadowDragging: string;
33
+ dropIndicatorColor: string;
34
+ maxReachedColor: string;
35
+ };
36
+ export type KanbanThemeVars = ReturnType<typeof self>;
37
+ declare const kanbanLight: import("../../_mixins").Theme<"Kanban", {
38
+ columnWidth: string;
39
+ columnGap: string;
40
+ cardGap: string;
41
+ boardPadding: string;
42
+ columnHeaderPadding: string;
43
+ columnBodyPadding: string;
44
+ columnBackgroundColor: string;
45
+ columnBorderRadius: string;
46
+ columnHeaderColor: string;
47
+ countBackgroundColor: string;
48
+ countTextColor: string;
49
+ statusSuccessHeaderColor: string;
50
+ statusSuccessCountColor: string;
51
+ statusProgressHeaderColor: string;
52
+ statusProgressCountColor: string;
53
+ statusPendingHeaderColor: string;
54
+ statusPendingCountColor: string;
55
+ statusErrorHeaderColor: string;
56
+ statusErrorCountColor: string;
57
+ columnDraggingOpacity: string;
58
+ cardBackgroundColor: string;
59
+ cardBackgroundColorDragging: string;
60
+ cardBorderColorDragging: string;
61
+ cardBorderRadius: string;
62
+ cardPadding: string;
63
+ cardColor: string;
64
+ cardSubColor: string;
65
+ cardBoxShadow: string;
66
+ cardBoxShadowHover: string;
67
+ cardBoxShadowDragging: string;
68
+ dropIndicatorColor: string;
69
+ maxReachedColor: string;
70
+ }, {
71
+ Empty: import("../../_mixins").Theme<"Empty", {
72
+ iconSizeSmall: string;
73
+ iconSizeMedium: string;
74
+ iconSizeLarge: string;
75
+ iconSizeHuge: string;
76
+ titleFontSizeSmall: string;
77
+ titleFontSizeMedium: string;
78
+ titleFontSizeLarge: string;
79
+ titleFontSizeHuge: string;
80
+ descriptionFontSizeSmall: string;
81
+ descriptionFontSizeMedium: string;
82
+ descriptionFontSizeLarge: string;
83
+ descriptionFontSizeHuge: string;
84
+ titleColor: string;
85
+ descriptionColor: string;
86
+ iconColor: string;
87
+ iconBgColor: string;
88
+ extraTextColor: string;
89
+ }, any>;
90
+ Badge: import("../../_mixins").Theme<"Badge", {
91
+ color: string;
92
+ colorPrime: string;
93
+ colorInfo: string;
94
+ colorSuccess: string;
95
+ colorError: string;
96
+ colorWarning: string;
97
+ fontSize: string;
98
+ textColor: string;
99
+ textColorPrime: string;
100
+ textColorInfo: string;
101
+ textColorSuccess: string;
102
+ textColorError: string;
103
+ textColorWarning: string;
104
+ borderColor: string;
105
+ dotSize: string;
106
+ }, any>;
107
+ }>;
108
+ export default kanbanLight;
109
+ export type KanbanTheme = typeof kanbanLight;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.self = self;
4
+ const _mixins_1 = require("../../_mixins");
5
+ const common_1 = require("../../_styles/common");
6
+ const styles_1 = require("../../badge/styles");
7
+ const styles_2 = require("../../empty/styles");
8
+ function self(vars) {
9
+ const { borderRadiusLarge, surfacePrimary, containerSecondary, elementsQuinary, staticBlack, staticWhite, staticDeepBlue, textPrimary, successColor, warningColor, errorColor, staticErrorAccent } = vars;
10
+ return {
11
+ columnWidth: '316px',
12
+ columnGap: '4px',
13
+ cardGap: '8px',
14
+ boardPadding: '4px',
15
+ columnHeaderPadding: '16px 16px 12px',
16
+ columnBodyPadding: '8px',
17
+ columnBackgroundColor: containerSecondary,
18
+ columnBorderRadius: borderRadiusLarge,
19
+ columnHeaderColor: textPrimary,
20
+ countBackgroundColor: staticBlack,
21
+ countTextColor: staticWhite,
22
+ statusSuccessHeaderColor: '#eefaf2',
23
+ statusSuccessCountColor: successColor,
24
+ statusProgressHeaderColor: '#f0f3fb',
25
+ statusProgressCountColor: staticDeepBlue,
26
+ statusPendingHeaderColor: '#fef7f0',
27
+ statusPendingCountColor: warningColor,
28
+ statusErrorHeaderColor: '#fef2f1',
29
+ statusErrorCountColor: staticErrorAccent,
30
+ columnDraggingOpacity: '0.5',
31
+ cardBackgroundColor: surfacePrimary,
32
+ cardBackgroundColorDragging: containerSecondary,
33
+ cardBorderColorDragging: elementsQuinary,
34
+ cardBorderRadius: borderRadiusLarge,
35
+ cardPadding: '16px',
36
+ cardColor: textPrimary,
37
+ cardSubColor: '#83888b',
38
+ cardBoxShadow: '0px 2px 4px 0px rgba(68, 83, 113, 0.05), 0px 0px 8px 0px rgba(68, 83, 113, 0.1)',
39
+ cardBoxShadowHover: '0px 4px 8px 0px rgba(68, 83, 113, 0.05), 0px 0px 16px 0px rgba(68, 83, 113, 0.1)',
40
+ cardBoxShadowDragging: '0px 12px 20px 0px rgba(68, 83, 113, 0.05), 0px 0px 20px 0px rgba(68, 83, 113, 0.1)',
41
+ dropIndicatorColor: containerSecondary,
42
+ maxReachedColor: errorColor
43
+ };
44
+ }
45
+ const kanbanLight = (0, _mixins_1.createTheme)({
46
+ name: 'Kanban',
47
+ common: common_1.commonLight,
48
+ peers: {
49
+ Empty: styles_2.emptyLight,
50
+ Badge: styles_1.badgeLight
51
+ },
52
+ self
53
+ });
54
+ exports.default = kanbanLight;
@@ -1347,11 +1347,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1347
1347
  tag: keyof HTMLElementTagNameMap;
1348
1348
  showIcon: boolean;
1349
1349
  closable: boolean;
1350
+ draggable: boolean | ModalDraggableOptions;
1350
1351
  contentScrollable: boolean;
1351
1352
  embedded: boolean;
1352
1353
  segmented: boolean | import("../../card").CardSegmented;
1353
1354
  hoverable: boolean;
1354
- draggable: boolean | ModalDraggableOptions;
1355
1355
  trapFocus: boolean;
1356
1356
  autoFocus: boolean;
1357
1357
  blockScroll: boolean;