pixelize-design-library 2.2.177 → 2.2.179
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/coverage/clover.xml +638 -0
- package/coverage/coverage-final.json +20 -0
- package/coverage/lcov-report/Table/CompactSelect.tsx.html +379 -0
- package/coverage/lcov-report/Table/Components/ActiveFilters.tsx.html +514 -0
- package/coverage/lcov-report/Table/Components/HeaderActions.tsx.html +373 -0
- package/coverage/lcov-report/Table/Components/Pagination.tsx.html +574 -0
- package/coverage/lcov-report/Table/Components/TableActions.tsx.html +574 -0
- package/coverage/lcov-report/Table/Components/TableBody.tsx.html +1027 -0
- package/coverage/lcov-report/Table/Components/TableFilters.tsx.html +397 -0
- package/coverage/lcov-report/Table/Components/TableHeader.tsx.html +1060 -0
- package/coverage/lcov-report/Table/Components/TableLoading.tsx.html +361 -0
- package/coverage/lcov-report/Table/Components/TableSearch.tsx.html +337 -0
- package/coverage/lcov-report/Table/Components/index.html +266 -0
- package/coverage/lcov-report/Table/Components/useDebounce.ts.html +178 -0
- package/coverage/lcov-report/Table/Components/useTable.ts.html +778 -0
- package/coverage/lcov-report/Table/LeftFilterPane.tsx.html +1810 -0
- package/coverage/lcov-report/Table/SelectOperationControls.tsx.html +178 -0
- package/coverage/lcov-report/Table/Table.tsx.html +1567 -0
- package/coverage/lcov-report/Table/TableProps.tsx.html +658 -0
- package/coverage/lcov-report/Table/TableSettings/ManageColumns.tsx.html +619 -0
- package/coverage/lcov-report/Table/TableSettings/TableFilters.tsx.html +229 -0
- package/coverage/lcov-report/Table/TableSettings/TableSettings.tsx.html +532 -0
- package/coverage/lcov-report/Table/TableSettings/index.html +146 -0
- package/coverage/lcov-report/Table/TableToDo.tsx.html +973 -0
- package/coverage/lcov-report/Table/TextOperationControls.tsx.html +271 -0
- package/coverage/lcov-report/Table/filterTypes.ts.html +97 -0
- package/coverage/lcov-report/Table/index.html +176 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +146 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov.info +1836 -0
- package/debug-storybook.log +72 -0
- package/dist/Assets/defaultLogo.tsx +31 -0
- package/dist/Components/KanbanBoard/KanbanBoard.js +18 -16
- package/dist/Components/Table/Components/TableBody.js +2 -2
- package/dist/Components/Table/Components/useTable.d.ts +1 -1
- package/dist/Components/Table/Components/useTable.js +71 -62
- package/dist/Components/Table/Table.js +14 -12
- package/dist/Hooks/usePreferences.js +18 -3
- package/dist/Theme/Dark/palette.d.ts +370 -0
- package/dist/Theme/Dark/palette.js +372 -0
- package/dist/Utils/table.d.ts +2 -1
- package/dist/Utils/table.js +1 -3
- package/package.json +1 -1
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var darkPalette = {
|
|
4
|
+
primary: {
|
|
5
|
+
50: "#2d1f4a",
|
|
6
|
+
100: "#3d2a63",
|
|
7
|
+
200: "#4e357c",
|
|
8
|
+
300: "#6244a0",
|
|
9
|
+
400: "#7a56c5",
|
|
10
|
+
500: "#9A4FE5",
|
|
11
|
+
600: "#a967e8",
|
|
12
|
+
700: "#bb83ed",
|
|
13
|
+
800: "#cca3f2",
|
|
14
|
+
900: "#dfc3f7",
|
|
15
|
+
opacity: {
|
|
16
|
+
4: "#9A4FE50a",
|
|
17
|
+
8: "#9A4FE514",
|
|
18
|
+
16: "#9A4FE529",
|
|
19
|
+
24: "#9A4FE53d",
|
|
20
|
+
32: "#9A4FE552",
|
|
21
|
+
40: "#9A4FE566",
|
|
22
|
+
48: "#9A4FE57a",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
secondary: {
|
|
26
|
+
50: "#1e2235",
|
|
27
|
+
100: "#252b42",
|
|
28
|
+
200: "#2d3554",
|
|
29
|
+
300: "#3a4269",
|
|
30
|
+
400: "#47507e",
|
|
31
|
+
500: "#5a6496",
|
|
32
|
+
600: "#6f79a8",
|
|
33
|
+
700: "#8e97be",
|
|
34
|
+
800: "#adb4d3",
|
|
35
|
+
900: "#ccd0e7",
|
|
36
|
+
opacity: {
|
|
37
|
+
4: "#5a64960a",
|
|
38
|
+
8: "#5a649614",
|
|
39
|
+
16: "#5a649629",
|
|
40
|
+
24: "#5a64963d",
|
|
41
|
+
32: "#5a649652",
|
|
42
|
+
40: "#5a649666",
|
|
43
|
+
48: "#5a64967a",
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
tertiary: {
|
|
47
|
+
50: "#1a1d2e",
|
|
48
|
+
100: "#21253a",
|
|
49
|
+
200: "#292e48",
|
|
50
|
+
300: "#333857",
|
|
51
|
+
400: "#3d4366",
|
|
52
|
+
500: "#4a5175",
|
|
53
|
+
600: "#5f668b",
|
|
54
|
+
700: "#7d83a4",
|
|
55
|
+
800: "#9ca1bc",
|
|
56
|
+
900: "#bbbfd4",
|
|
57
|
+
opacity: {
|
|
58
|
+
4: "#4a51750a",
|
|
59
|
+
8: "#4a517514",
|
|
60
|
+
16: "#4a517529",
|
|
61
|
+
24: "#4a51753d",
|
|
62
|
+
32: "#4a517552",
|
|
63
|
+
40: "#4a517566",
|
|
64
|
+
48: "#4a51757a",
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
transparent: "transparent",
|
|
68
|
+
black: "#000",
|
|
69
|
+
white: "#fff",
|
|
70
|
+
semantic: {
|
|
71
|
+
success: {
|
|
72
|
+
50: "#0d2e1f",
|
|
73
|
+
100: "#133d28",
|
|
74
|
+
200: "#1a5236",
|
|
75
|
+
300: "#216644",
|
|
76
|
+
400: "#297b53",
|
|
77
|
+
500: "#23b85c",
|
|
78
|
+
600: "#3dc770",
|
|
79
|
+
700: "#5fd388",
|
|
80
|
+
800: "#88e0a7",
|
|
81
|
+
900: "#b3edc6",
|
|
82
|
+
},
|
|
83
|
+
error: {
|
|
84
|
+
50: "#2e1210",
|
|
85
|
+
100: "#3d1917",
|
|
86
|
+
200: "#52201e",
|
|
87
|
+
300: "#662825",
|
|
88
|
+
400: "#7b302c",
|
|
89
|
+
500: "#f2463a",
|
|
90
|
+
600: "#f45f54",
|
|
91
|
+
700: "#f6796f",
|
|
92
|
+
800: "#f9998f",
|
|
93
|
+
900: "#fbbbb6",
|
|
94
|
+
},
|
|
95
|
+
warning: {
|
|
96
|
+
50: "#2e1f0d",
|
|
97
|
+
100: "#3d2a12",
|
|
98
|
+
200: "#523817",
|
|
99
|
+
300: "#66461d",
|
|
100
|
+
400: "#7b5523",
|
|
101
|
+
500: "#Ff9162",
|
|
102
|
+
600: "#ffa07a",
|
|
103
|
+
700: "#ffb395",
|
|
104
|
+
800: "#ffc7ae",
|
|
105
|
+
900: "#ffdacb",
|
|
106
|
+
},
|
|
107
|
+
info: {
|
|
108
|
+
50: "#0d2430",
|
|
109
|
+
100: "#123040",
|
|
110
|
+
200: "#184055",
|
|
111
|
+
300: "#1e5069",
|
|
112
|
+
400: "#24607e",
|
|
113
|
+
500: "#5FC4de",
|
|
114
|
+
600: "#76cde3",
|
|
115
|
+
700: "#90d8ea",
|
|
116
|
+
800: "#aee3f1",
|
|
117
|
+
900: "#caecf7",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
gray: {
|
|
121
|
+
50: "#f7fafc",
|
|
122
|
+
100: "#edf2f7",
|
|
123
|
+
200: "#e2e8f0",
|
|
124
|
+
300: "#cbd5e0",
|
|
125
|
+
400: "#a0aec0",
|
|
126
|
+
500: "#718096",
|
|
127
|
+
600: "#4a5568",
|
|
128
|
+
700: "#2d3748",
|
|
129
|
+
800: "#1a202c",
|
|
130
|
+
900: "#171923",
|
|
131
|
+
},
|
|
132
|
+
red: {
|
|
133
|
+
50: "#2e1210",
|
|
134
|
+
100: "#3d1917",
|
|
135
|
+
200: "#52201e",
|
|
136
|
+
300: "#662825",
|
|
137
|
+
400: "#7b302c",
|
|
138
|
+
500: "#f2463a",
|
|
139
|
+
600: "#f45f54",
|
|
140
|
+
700: "#f6796f",
|
|
141
|
+
800: "#f9998f",
|
|
142
|
+
900: "#fbbbb6",
|
|
143
|
+
},
|
|
144
|
+
orange: {
|
|
145
|
+
50: "#2e1f0d",
|
|
146
|
+
100: "#3d2a12",
|
|
147
|
+
200: "#523817",
|
|
148
|
+
300: "#66461d",
|
|
149
|
+
400: "#7b5523",
|
|
150
|
+
500: "#Ff9162",
|
|
151
|
+
600: "#ffa07a",
|
|
152
|
+
700: "#ffb395",
|
|
153
|
+
800: "#ffc7ae",
|
|
154
|
+
900: "#ffdacb",
|
|
155
|
+
},
|
|
156
|
+
yellow: {
|
|
157
|
+
50: "#2b2509",
|
|
158
|
+
100: "#3a310d",
|
|
159
|
+
200: "#4d4211",
|
|
160
|
+
300: "#615315",
|
|
161
|
+
400: "#756419",
|
|
162
|
+
500: "#f7d343",
|
|
163
|
+
600: "#f9db62",
|
|
164
|
+
700: "#fbe281",
|
|
165
|
+
800: "#fdeaa5",
|
|
166
|
+
900: "#fef2c8",
|
|
167
|
+
},
|
|
168
|
+
green: {
|
|
169
|
+
50: "#0d2e1f",
|
|
170
|
+
100: "#133d28",
|
|
171
|
+
200: "#1a5236",
|
|
172
|
+
300: "#216644",
|
|
173
|
+
400: "#297b53",
|
|
174
|
+
500: "#23b85c",
|
|
175
|
+
600: "#3dc770",
|
|
176
|
+
700: "#5fd388",
|
|
177
|
+
800: "#88e0a7",
|
|
178
|
+
900: "#b3edc6",
|
|
179
|
+
},
|
|
180
|
+
teal: {
|
|
181
|
+
50: "#0d2430",
|
|
182
|
+
100: "#123040",
|
|
183
|
+
200: "#184055",
|
|
184
|
+
300: "#1e5069",
|
|
185
|
+
400: "#24607e",
|
|
186
|
+
500: "#5FC4de",
|
|
187
|
+
600: "#76cde3",
|
|
188
|
+
700: "#90d8ea",
|
|
189
|
+
800: "#aee3f1",
|
|
190
|
+
900: "#caecf7",
|
|
191
|
+
},
|
|
192
|
+
blue: {
|
|
193
|
+
50: "#0d2033",
|
|
194
|
+
100: "#122b44",
|
|
195
|
+
200: "#173959",
|
|
196
|
+
300: "#1c476e",
|
|
197
|
+
400: "#215583",
|
|
198
|
+
500: "#3182ce",
|
|
199
|
+
600: "#4a95d9",
|
|
200
|
+
700: "#6aaae2",
|
|
201
|
+
800: "#8dbfeb",
|
|
202
|
+
900: "#b4d5f3",
|
|
203
|
+
},
|
|
204
|
+
cyan: {
|
|
205
|
+
50: "#0d2a2e",
|
|
206
|
+
100: "#12383d",
|
|
207
|
+
200: "#174b51",
|
|
208
|
+
300: "#1c5e65",
|
|
209
|
+
400: "#21717a",
|
|
210
|
+
500: "#00b5d8",
|
|
211
|
+
600: "#1fc4e5",
|
|
212
|
+
700: "#44cfec",
|
|
213
|
+
800: "#72dcf2",
|
|
214
|
+
900: "#a3e9f7",
|
|
215
|
+
},
|
|
216
|
+
purple: {
|
|
217
|
+
50: "#1e1533",
|
|
218
|
+
100: "#281d44",
|
|
219
|
+
200: "#34265a",
|
|
220
|
+
300: "#422f70",
|
|
221
|
+
400: "#513987",
|
|
222
|
+
500: "#805ad5",
|
|
223
|
+
600: "#9f7aea",
|
|
224
|
+
700: "#b794f4",
|
|
225
|
+
800: "#d6bcfa",
|
|
226
|
+
900: "#e9d8fd",
|
|
227
|
+
},
|
|
228
|
+
pink: {
|
|
229
|
+
50: "#2e1020",
|
|
230
|
+
100: "#3d152b",
|
|
231
|
+
200: "#521c3a",
|
|
232
|
+
300: "#662249",
|
|
233
|
+
400: "#7b2958",
|
|
234
|
+
500: "#d53f8c",
|
|
235
|
+
600: "#dd5a9e",
|
|
236
|
+
700: "#e577b2",
|
|
237
|
+
800: "#ed98c8",
|
|
238
|
+
900: "#f5badc",
|
|
239
|
+
},
|
|
240
|
+
background: {
|
|
241
|
+
50: "#1a1d2e",
|
|
242
|
+
100: "#1e2235",
|
|
243
|
+
200: "#22273c",
|
|
244
|
+
300: "#262c43",
|
|
245
|
+
400: "#2a314a",
|
|
246
|
+
500: "#2e3652",
|
|
247
|
+
600: "#434d6b",
|
|
248
|
+
700: "#616e8e",
|
|
249
|
+
800: "#8490ae",
|
|
250
|
+
900: "#a8b1ca",
|
|
251
|
+
},
|
|
252
|
+
backgroundColor: {
|
|
253
|
+
main: "#111827",
|
|
254
|
+
secondary: "#1a202c",
|
|
255
|
+
tertiary: "#1e2535",
|
|
256
|
+
quaternary: "#252e3d",
|
|
257
|
+
light: "#161b27",
|
|
258
|
+
medium: "#1c2333",
|
|
259
|
+
accent: "#212840",
|
|
260
|
+
subtle: "#131926",
|
|
261
|
+
muted: "#202840",
|
|
262
|
+
neutral: "#1a2133",
|
|
263
|
+
base: "#111827",
|
|
264
|
+
tableHeader: "#161d2e",
|
|
265
|
+
},
|
|
266
|
+
text: {
|
|
267
|
+
50: "#1a1d2b",
|
|
268
|
+
100: "#2d3149",
|
|
269
|
+
200: "#434867",
|
|
270
|
+
300: "#5c6180",
|
|
271
|
+
400: "#777c9a",
|
|
272
|
+
500: "#9499b4",
|
|
273
|
+
600: "#adb1c8",
|
|
274
|
+
700: "#c6c9da",
|
|
275
|
+
800: "#dfe1eb",
|
|
276
|
+
900: "#f0f1f7",
|
|
277
|
+
},
|
|
278
|
+
header: {
|
|
279
|
+
50: "#1c2130",
|
|
280
|
+
100: "#252c3f",
|
|
281
|
+
200: "#2f384e",
|
|
282
|
+
300: "#39445e",
|
|
283
|
+
400: "#44506e",
|
|
284
|
+
500: "#c8cfe0",
|
|
285
|
+
600: "#d4dae8",
|
|
286
|
+
700: "#e0e5f0",
|
|
287
|
+
800: "#eceff7",
|
|
288
|
+
900: "#f5f7fb",
|
|
289
|
+
},
|
|
290
|
+
placeholder: {
|
|
291
|
+
50: "#1e2235",
|
|
292
|
+
100: "#272c42",
|
|
293
|
+
200: "#31374f",
|
|
294
|
+
300: "#3b425c",
|
|
295
|
+
400: "#464d6a",
|
|
296
|
+
500: "#6b7191",
|
|
297
|
+
600: "#8388a5",
|
|
298
|
+
700: "#9da2ba",
|
|
299
|
+
800: "#b7bbcf",
|
|
300
|
+
900: "#d1d4e4",
|
|
301
|
+
},
|
|
302
|
+
boxShadow: {
|
|
303
|
+
primary: "#9A52E247",
|
|
304
|
+
error: "#F2463A47",
|
|
305
|
+
default: "#00000066",
|
|
306
|
+
},
|
|
307
|
+
sidebar: {
|
|
308
|
+
background: {
|
|
309
|
+
50: "#0d1117",
|
|
310
|
+
100: "#111827",
|
|
311
|
+
200: "#0d1526",
|
|
312
|
+
300: "#1a2540",
|
|
313
|
+
400: "#1f2d4d",
|
|
314
|
+
500: "#0a0f1e",
|
|
315
|
+
600: "#090d1b",
|
|
316
|
+
700: "#070b17",
|
|
317
|
+
800: "#060913",
|
|
318
|
+
900: "#04070f",
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
boxborder: {
|
|
322
|
+
50: "#1e2235",
|
|
323
|
+
100: "#252b42",
|
|
324
|
+
200: "#2c3250",
|
|
325
|
+
300: "#33395e",
|
|
326
|
+
400: "#3a406c",
|
|
327
|
+
500: "#41477a",
|
|
328
|
+
600: "#565c91",
|
|
329
|
+
700: "#7479a8",
|
|
330
|
+
800: "#9499bf",
|
|
331
|
+
900: "#b5b9d6",
|
|
332
|
+
},
|
|
333
|
+
border: {
|
|
334
|
+
50: "#1a1e2e",
|
|
335
|
+
100: "#1f2438",
|
|
336
|
+
200: "#252a42",
|
|
337
|
+
300: "#2b314c",
|
|
338
|
+
400: "#313756",
|
|
339
|
+
500: "#373d60",
|
|
340
|
+
600: "#4d5479",
|
|
341
|
+
700: "#6b7296",
|
|
342
|
+
800: "#8d93b3",
|
|
343
|
+
900: "#b0b4d0",
|
|
344
|
+
},
|
|
345
|
+
table: {
|
|
346
|
+
hover: {
|
|
347
|
+
50: "#171c2c",
|
|
348
|
+
100: "#1b2033",
|
|
349
|
+
200: "#1f243a",
|
|
350
|
+
300: "#232841",
|
|
351
|
+
400: "#272c48",
|
|
352
|
+
500: "#2b304f",
|
|
353
|
+
600: "#3a3f63",
|
|
354
|
+
700: "#545879",
|
|
355
|
+
800: "#72768f",
|
|
356
|
+
900: "#9295a6",
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
disabled: {
|
|
360
|
+
50: "#1a1e2e",
|
|
361
|
+
100: "#1f2438",
|
|
362
|
+
200: "#252a42",
|
|
363
|
+
300: "#2b314c",
|
|
364
|
+
400: "#313756",
|
|
365
|
+
500: "#373d60",
|
|
366
|
+
600: "#4d5479",
|
|
367
|
+
700: "#6b7296",
|
|
368
|
+
800: "#8d93b3",
|
|
369
|
+
900: "#b0b4d0",
|
|
370
|
+
},
|
|
371
|
+
};
|
|
372
|
+
exports.default = darkPalette;
|
package/dist/Utils/table.d.ts
CHANGED
|
@@ -23,8 +23,9 @@ type TableCellCalculationProps = {
|
|
|
23
23
|
row: DataObject;
|
|
24
24
|
freezedBgColor?: string;
|
|
25
25
|
index: number;
|
|
26
|
+
theme: Record<string, any>;
|
|
26
27
|
};
|
|
27
|
-
export declare const TableCellCalculation: ({ isFrozen, columnWidths, headerIndex, isCheckbox, header, row, freezedBgColor, index, }: TableCellCalculationProps) => {
|
|
28
|
+
export declare const TableCellCalculation: ({ isFrozen, columnWidths, headerIndex, isCheckbox, header, row, freezedBgColor, index, theme, }: TableCellCalculationProps) => {
|
|
28
29
|
leftOffset: number;
|
|
29
30
|
cellBgColor: any;
|
|
30
31
|
rowBgColor: any;
|
package/dist/Utils/table.js
CHANGED
|
@@ -49,7 +49,6 @@ exports.debounce = debounce;
|
|
|
49
49
|
exports.useDebounce = useDebounce;
|
|
50
50
|
exports.globalSearchFilter = globalSearchFilter;
|
|
51
51
|
var react_1 = __importStar(require("react"));
|
|
52
|
-
var useCustomTheme_1 = require("../Theme/useCustomTheme");
|
|
53
52
|
function SortMultiColumnData(data, sortConfig) {
|
|
54
53
|
if (!sortConfig.length)
|
|
55
54
|
return data;
|
|
@@ -210,8 +209,7 @@ var pageSizeCalculation = function (records) {
|
|
|
210
209
|
exports.pageSizeCalculation = pageSizeCalculation;
|
|
211
210
|
var TableCellCalculation = function (_a) {
|
|
212
211
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
213
|
-
var isFrozen = _a.isFrozen, columnWidths = _a.columnWidths, headerIndex = _a.headerIndex, isCheckbox = _a.isCheckbox, header = _a.header, row = _a.row, freezedBgColor = _a.freezedBgColor, index = _a.index;
|
|
214
|
-
var theme = (0, useCustomTheme_1.useCustomTheme)();
|
|
212
|
+
var isFrozen = _a.isFrozen, columnWidths = _a.columnWidths, headerIndex = _a.headerIndex, isCheckbox = _a.isCheckbox, header = _a.header, row = _a.row, freezedBgColor = _a.freezedBgColor, index = _a.index, theme = _a.theme;
|
|
215
213
|
var leftOffset = isFrozen
|
|
216
214
|
? (0, exports.calculateLeftOffset)(columnWidths, headerIndex) + (isCheckbox ? 50 : 0)
|
|
217
215
|
: 0;
|