@kareemelbalshe/any-table 1.0.3 → 1.0.4
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/FUTURE_ROADMAP.md +226 -0
- package/README.md +103 -8
- package/dist/components/AnyTable.d.ts +5 -2
- package/dist/components/TableBody.d.ts +5 -1
- package/dist/components/TableConfirmDialog.d.ts +1 -1
- package/dist/components/TableEmptyState.d.ts +1 -1
- package/dist/components/TableErrorState.d.ts +1 -1
- package/dist/components/TableHeader.d.ts +2 -1
- package/dist/components/TablePagination.d.ts +1 -1
- package/dist/components/TableSearch.d.ts +1 -1
- package/dist/components/TableSkeleton.d.ts +1 -1
- package/dist/components/TableToolbar.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAnyTableController.d.ts +2 -1
- package/dist/hooks/useAnyTableData.d.ts +2 -1
- package/dist/hooks/useAnyTableSelection.d.ts +1 -1
- package/dist/hooks/useAnyTableVirtualizer.d.ts +20 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1565 -1461
- package/dist/index.js.map +1 -1
- package/dist/renderers/ActionRenderer.d.ts +1 -1
- package/dist/renderers/CellRenderer.d.ts +1 -1
- package/dist/renderers/DefaultRenderers.d.ts +20 -59
- package/dist/style.css +1 -1
- package/dist/types/table.types.d.ts +26 -0
- package/package.json +15 -8
- package/dist/favicon.svg +0 -65
- package/dist/logo.svg +0 -65
package/dist/favicon.svg
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
-
<stop offset="0%" stop-color="#090d16" />
|
|
5
|
-
<stop offset="50%" stop-color="#0f172a" />
|
|
6
|
-
<stop offset="100%" stop-color="#1e1b4b" />
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="borderGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
9
|
-
<stop offset="0%" stop-color="#38bdf8" />
|
|
10
|
-
<stop offset="50%" stop-color="#6366f1" />
|
|
11
|
-
<stop offset="100%" stop-color="#a855f7" />
|
|
12
|
-
</linearGradient>
|
|
13
|
-
<linearGradient id="headerGrad" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
14
|
-
<stop offset="0%" stop-color="#2563eb" />
|
|
15
|
-
<stop offset="50%" stop-color="#3b82f6" />
|
|
16
|
-
<stop offset="100%" stop-color="#06b6d4" />
|
|
17
|
-
</linearGradient>
|
|
18
|
-
<linearGradient id="accentSpark" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
19
|
-
<stop offset="0%" stop-color="#38bdf8" />
|
|
20
|
-
<stop offset="100%" stop-color="#10b981" />
|
|
21
|
-
</linearGradient>
|
|
22
|
-
<filter id="glow" x="-30%" y="-30%" width="160%" height="160%">
|
|
23
|
-
<feGaussianBlur stdDeviation="3" result="blur" />
|
|
24
|
-
<feComposite in="SourceGraphic" in2="blur" operator="over" />
|
|
25
|
-
</filter>
|
|
26
|
-
</defs>
|
|
27
|
-
|
|
28
|
-
<!-- Base Icon Squircle -->
|
|
29
|
-
<rect x="6" y="6" width="116" height="116" rx="28" fill="url(#bgGrad)" stroke="url(#borderGrad)" stroke-width="2.5" />
|
|
30
|
-
|
|
31
|
-
<!-- Inner Table Card Background -->
|
|
32
|
-
<rect x="18" y="24" width="92" height="80" rx="12" fill="#1e293b" fill-opacity="0.6" stroke="#334155" stroke-width="1.5" />
|
|
33
|
-
|
|
34
|
-
<!-- Table Header Bar -->
|
|
35
|
-
<path d="M 18 36 C 18 29.37 23.37 24 30 24 L 98 24 C 104.63 24 110 29.37 110 36 L 110 44 L 18 44 Z" fill="url(#headerGrad)" />
|
|
36
|
-
|
|
37
|
-
<!-- Header Column Elements -->
|
|
38
|
-
<rect x="26" y="31" width="22" height="6" rx="3" fill="#ffffff" fill-opacity="0.95" />
|
|
39
|
-
<rect x="55" y="31" width="22" height="6" rx="3" fill="#ffffff" fill-opacity="0.65" />
|
|
40
|
-
<rect x="83" y="31" width="20" height="6" rx="3" fill="#ffffff" fill-opacity="0.65" />
|
|
41
|
-
|
|
42
|
-
<!-- Row 1 -->
|
|
43
|
-
<rect x="26" y="52" width="14" height="14" rx="4" fill="#3b82f6" fill-opacity="0.25" stroke="#3b82f6" stroke-width="1.2" />
|
|
44
|
-
<path d="M 30 59 L 33 62 L 39 55" fill="none" stroke="#38bdf8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" />
|
|
45
|
-
<rect x="47" y="55" width="28" height="8" rx="4" fill="#60a5fa" fill-opacity="0.9" />
|
|
46
|
-
<rect x="81" y="54" width="22" height="10" rx="5" fill="#10b981" fill-opacity="0.2" stroke="#10b981" stroke-width="1.2" />
|
|
47
|
-
<circle cx="86" cy="59" r="2.2" fill="#10b981" />
|
|
48
|
-
<rect x="91" y="57" width="9" height="4" rx="2" fill="#10b981" />
|
|
49
|
-
|
|
50
|
-
<!-- Row Divider -->
|
|
51
|
-
<line x1="22" y1="72" x2="106" y2="72" stroke="#334155" stroke-width="1" stroke-opacity="0.6" />
|
|
52
|
-
|
|
53
|
-
<!-- Row 2 -->
|
|
54
|
-
<rect x="26" y="79" width="14" height="14" rx="4" fill="#818cf8" fill-opacity="0.25" stroke="#818cf8" stroke-width="1.2" />
|
|
55
|
-
<circle cx="33" cy="86" r="3" fill="#818cf8" />
|
|
56
|
-
<rect x="47" y="82" width="32" height="8" rx="4" fill="#94a3b8" fill-opacity="0.75" />
|
|
57
|
-
<rect x="85" y="81" width="18" height="10" rx="5" fill="#38bdf8" fill-opacity="0.2" stroke="#38bdf8" stroke-width="1.2" />
|
|
58
|
-
<rect x="89" y="84" width="10" height="4" rx="2" fill="#38bdf8" />
|
|
59
|
-
|
|
60
|
-
<!-- Autonomous Sparkle Star (Top Right Corner) -->
|
|
61
|
-
<g transform="translate(100, 16)" filter="url(#glow)">
|
|
62
|
-
<path d="M 0 -9 Q 0 0 9 0 Q 0 0 0 9 Q 0 0 -9 0 Q 0 0 0 -9 Z" fill="url(#accentSpark)" />
|
|
63
|
-
<circle cx="0" cy="0" r="1.8" fill="#ffffff" />
|
|
64
|
-
</g>
|
|
65
|
-
</svg>
|
package/dist/logo.svg
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128">
|
|
2
|
-
<defs>
|
|
3
|
-
<linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
-
<stop offset="0%" stop-color="#090d16" />
|
|
5
|
-
<stop offset="50%" stop-color="#0f172a" />
|
|
6
|
-
<stop offset="100%" stop-color="#1e1b4b" />
|
|
7
|
-
</linearGradient>
|
|
8
|
-
<linearGradient id="borderGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
9
|
-
<stop offset="0%" stop-color="#38bdf8" />
|
|
10
|
-
<stop offset="50%" stop-color="#6366f1" />
|
|
11
|
-
<stop offset="100%" stop-color="#a855f7" />
|
|
12
|
-
</linearGradient>
|
|
13
|
-
<linearGradient id="headerGrad" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
14
|
-
<stop offset="0%" stop-color="#2563eb" />
|
|
15
|
-
<stop offset="50%" stop-color="#3b82f6" />
|
|
16
|
-
<stop offset="100%" stop-color="#06b6d4" />
|
|
17
|
-
</linearGradient>
|
|
18
|
-
<linearGradient id="accentSpark" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
19
|
-
<stop offset="0%" stop-color="#38bdf8" />
|
|
20
|
-
<stop offset="100%" stop-color="#10b981" />
|
|
21
|
-
</linearGradient>
|
|
22
|
-
<filter id="glow" x="-30%" y="-30%" width="160%" height="160%">
|
|
23
|
-
<feGaussianBlur stdDeviation="3" result="blur" />
|
|
24
|
-
<feComposite in="SourceGraphic" in2="blur" operator="over" />
|
|
25
|
-
</filter>
|
|
26
|
-
</defs>
|
|
27
|
-
|
|
28
|
-
<!-- Base Icon Squircle -->
|
|
29
|
-
<rect x="6" y="6" width="116" height="116" rx="28" fill="url(#bgGrad)" stroke="url(#borderGrad)" stroke-width="2.5" />
|
|
30
|
-
|
|
31
|
-
<!-- Inner Table Card Background -->
|
|
32
|
-
<rect x="18" y="24" width="92" height="80" rx="12" fill="#1e293b" fill-opacity="0.6" stroke="#334155" stroke-width="1.5" />
|
|
33
|
-
|
|
34
|
-
<!-- Table Header Bar -->
|
|
35
|
-
<path d="M 18 36 C 18 29.37 23.37 24 30 24 L 98 24 C 104.63 24 110 29.37 110 36 L 110 44 L 18 44 Z" fill="url(#headerGrad)" />
|
|
36
|
-
|
|
37
|
-
<!-- Header Column Elements -->
|
|
38
|
-
<rect x="26" y="31" width="22" height="6" rx="3" fill="#ffffff" fill-opacity="0.95" />
|
|
39
|
-
<rect x="55" y="31" width="22" height="6" rx="3" fill="#ffffff" fill-opacity="0.65" />
|
|
40
|
-
<rect x="83" y="31" width="20" height="6" rx="3" fill="#ffffff" fill-opacity="0.65" />
|
|
41
|
-
|
|
42
|
-
<!-- Row 1 -->
|
|
43
|
-
<rect x="26" y="52" width="14" height="14" rx="4" fill="#3b82f6" fill-opacity="0.25" stroke="#3b82f6" stroke-width="1.2" />
|
|
44
|
-
<path d="M 30 59 L 33 62 L 39 55" fill="none" stroke="#38bdf8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" />
|
|
45
|
-
<rect x="47" y="55" width="28" height="8" rx="4" fill="#60a5fa" fill-opacity="0.9" />
|
|
46
|
-
<rect x="81" y="54" width="22" height="10" rx="5" fill="#10b981" fill-opacity="0.2" stroke="#10b981" stroke-width="1.2" />
|
|
47
|
-
<circle cx="86" cy="59" r="2.2" fill="#10b981" />
|
|
48
|
-
<rect x="91" y="57" width="9" height="4" rx="2" fill="#10b981" />
|
|
49
|
-
|
|
50
|
-
<!-- Row Divider -->
|
|
51
|
-
<line x1="22" y1="72" x2="106" y2="72" stroke="#334155" stroke-width="1" stroke-opacity="0.6" />
|
|
52
|
-
|
|
53
|
-
<!-- Row 2 -->
|
|
54
|
-
<rect x="26" y="79" width="14" height="14" rx="4" fill="#818cf8" fill-opacity="0.25" stroke="#818cf8" stroke-width="1.2" />
|
|
55
|
-
<circle cx="33" cy="86" r="3" fill="#818cf8" />
|
|
56
|
-
<rect x="47" y="82" width="32" height="8" rx="4" fill="#94a3b8" fill-opacity="0.75" />
|
|
57
|
-
<rect x="85" y="81" width="18" height="10" rx="5" fill="#38bdf8" fill-opacity="0.2" stroke="#38bdf8" stroke-width="1.2" />
|
|
58
|
-
<rect x="89" y="84" width="10" height="4" rx="2" fill="#38bdf8" />
|
|
59
|
-
|
|
60
|
-
<!-- Autonomous Sparkle Star (Top Right Corner) -->
|
|
61
|
-
<g transform="translate(100, 16)" filter="url(#glow)">
|
|
62
|
-
<path d="M 0 -9 Q 0 0 9 0 Q 0 0 0 9 Q 0 0 -9 0 Q 0 0 0 -9 Z" fill="url(#accentSpark)" />
|
|
63
|
-
<circle cx="0" cy="0" r="1.8" fill="#ffffff" />
|
|
64
|
-
</g>
|
|
65
|
-
</svg>
|