intable 0.0.19 → 0.0.21
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/LICENSE +21 -21
- package/README.md +378 -378
- package/dist/__uno.css +1 -1
- package/dist/plugins/CellSelectionPlugin.js +18 -24
- package/dist/plugins/CommandPlugin.d.ts +2 -1
- package/dist/plugins/CommandPlugin.js +5 -0
- package/dist/plugins/CopyPastePlugin.js +10 -5
- package/dist/plugins/EditablePlugin.js +43 -47
- package/dist/plugins/MenuPlugin.js +58 -56
- package/dist/plugins/ValidatorPlugin.d.ts +1 -0
- package/dist/plugins/ValidatorPlugin.js +25 -13
- package/dist/style.css +2 -2
- package/dist/theme/antd.scss +41 -41
- package/dist/theme/dark.scss +46 -46
- package/dist/theme/element-plus.scss +38 -38
- package/dist/theme/github.scss +80 -80
- package/dist/theme/material.scss +73 -73
- package/dist/theme/shadcn.scss +66 -66
- package/dist/theme/stripe.scss +57 -57
- package/package.json +1 -1
package/dist/theme/shadcn.scss
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* intable — Shadcn/Zinc Theme
|
|
3
|
-
* Neutral zinc/slate tones, clean minimal, matches shadcn/ui palette
|
|
4
|
-
* Best for: modern SaaS dashboards, admin panels, clean productivity tools
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
.data-table {
|
|
8
|
-
--bg: #ffffff;
|
|
9
|
-
--c-primary: #18181b;
|
|
10
|
-
|
|
11
|
-
--menu-bg: #ffffff;
|
|
12
|
-
--li-hover-bg: #f4f4f5;
|
|
13
|
-
|
|
14
|
-
--table-b: 1px solid var(--table-b-c);
|
|
15
|
-
--table-b-c: #e4e4e7;
|
|
16
|
-
--table-c: #09090b;
|
|
17
|
-
--table-bg: #ffffff;
|
|
18
|
-
|
|
19
|
-
--table-header-c: #71717a;
|
|
20
|
-
--table-header-bg: #ffffff;
|
|
21
|
-
|
|
22
|
-
--table-row-hover-bg: #fafafa;
|
|
23
|
-
|
|
24
|
-
--select-area-bg: #18181b14;
|
|
25
|
-
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
|
|
28
|
-
th, td {
|
|
29
|
-
padding: 10px 12px;
|
|
30
|
-
line-height: 20px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
thead th {
|
|
34
|
-
font-weight: 500;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&--small {
|
|
38
|
-
font-size: 13px;
|
|
39
|
-
|
|
40
|
-
th, td {
|
|
41
|
-
padding: 6px 10px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Dark mode variant
|
|
46
|
-
&.dark, [data-theme="dark"] & {
|
|
47
|
-
--bg: #09090b;
|
|
48
|
-
--c-primary: #fafafa;
|
|
49
|
-
|
|
50
|
-
--menu-bg: #09090b;
|
|
51
|
-
--li-hover-bg: #27272a;
|
|
52
|
-
|
|
53
|
-
--table-b-c: #27272a;
|
|
54
|
-
--table-c: #fafafa;
|
|
55
|
-
--table-bg: #09090b;
|
|
56
|
-
|
|
57
|
-
--table-header-c: #71717a;
|
|
58
|
-
--table-header-bg: #09090b;
|
|
59
|
-
|
|
60
|
-
--table-row-hover-bg: #18181b;
|
|
61
|
-
|
|
62
|
-
--select-area-bg: #ffffff14;
|
|
63
|
-
|
|
64
|
-
color-scheme: dark;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* intable — Shadcn/Zinc Theme
|
|
3
|
+
* Neutral zinc/slate tones, clean minimal, matches shadcn/ui palette
|
|
4
|
+
* Best for: modern SaaS dashboards, admin panels, clean productivity tools
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
.data-table {
|
|
8
|
+
--bg: #ffffff;
|
|
9
|
+
--c-primary: #18181b;
|
|
10
|
+
|
|
11
|
+
--menu-bg: #ffffff;
|
|
12
|
+
--li-hover-bg: #f4f4f5;
|
|
13
|
+
|
|
14
|
+
--table-b: 1px solid var(--table-b-c);
|
|
15
|
+
--table-b-c: #e4e4e7;
|
|
16
|
+
--table-c: #09090b;
|
|
17
|
+
--table-bg: #ffffff;
|
|
18
|
+
|
|
19
|
+
--table-header-c: #71717a;
|
|
20
|
+
--table-header-bg: #ffffff;
|
|
21
|
+
|
|
22
|
+
--table-row-hover-bg: #fafafa;
|
|
23
|
+
|
|
24
|
+
--select-area-bg: #18181b14;
|
|
25
|
+
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
|
|
28
|
+
th, td {
|
|
29
|
+
padding: 10px 12px;
|
|
30
|
+
line-height: 20px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
thead th {
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&--small {
|
|
38
|
+
font-size: 13px;
|
|
39
|
+
|
|
40
|
+
th, td {
|
|
41
|
+
padding: 6px 10px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Dark mode variant
|
|
46
|
+
&.dark, [data-theme="dark"] & {
|
|
47
|
+
--bg: #09090b;
|
|
48
|
+
--c-primary: #fafafa;
|
|
49
|
+
|
|
50
|
+
--menu-bg: #09090b;
|
|
51
|
+
--li-hover-bg: #27272a;
|
|
52
|
+
|
|
53
|
+
--table-b-c: #27272a;
|
|
54
|
+
--table-c: #fafafa;
|
|
55
|
+
--table-bg: #09090b;
|
|
56
|
+
|
|
57
|
+
--table-header-c: #71717a;
|
|
58
|
+
--table-header-bg: #09090b;
|
|
59
|
+
|
|
60
|
+
--table-row-hover-bg: #18181b;
|
|
61
|
+
|
|
62
|
+
--select-area-bg: #ffffff14;
|
|
63
|
+
|
|
64
|
+
color-scheme: dark;
|
|
65
|
+
}
|
|
66
|
+
}
|
package/dist/theme/stripe.scss
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* intable — Stripe Theme
|
|
3
|
-
* Ultra-clean minimal white, tight spacing, strong typographic hierarchy
|
|
4
|
-
* Best for: fintech, e-commerce, financial dashboards, data-dense UIs
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
.data-table {
|
|
8
|
-
--bg: #ffffff;
|
|
9
|
-
--c-primary: #635bff;
|
|
10
|
-
|
|
11
|
-
--menu-bg: #ffffff;
|
|
12
|
-
--li-hover-bg: #f6f8fa;
|
|
13
|
-
|
|
14
|
-
--table-b: 1px solid var(--table-b-c);
|
|
15
|
-
--table-b-c: #e3e8ee;
|
|
16
|
-
--table-c: #0a2540;
|
|
17
|
-
--table-bg: #ffffff;
|
|
18
|
-
|
|
19
|
-
--table-header-c: #425466;
|
|
20
|
-
--table-header-bg: #f7fafc;
|
|
21
|
-
|
|
22
|
-
--table-row-hover-bg: #f7fafc;
|
|
23
|
-
|
|
24
|
-
--select-area-bg: #635bff1a;
|
|
25
|
-
|
|
26
|
-
font-size: 13.5px;
|
|
27
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
28
|
-
|
|
29
|
-
th, td {
|
|
30
|
-
padding: 9px 14px;
|
|
31
|
-
line-height: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
thead th {
|
|
35
|
-
font-size: 11.5px;
|
|
36
|
-
font-weight: 600;
|
|
37
|
-
text-transform: uppercase;
|
|
38
|
-
letter-spacing: 0.04em;
|
|
39
|
-
color: var(--table-header-c);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&--small {
|
|
43
|
-
font-size: 12.5px;
|
|
44
|
-
|
|
45
|
-
th, td {
|
|
46
|
-
padding: 5px 10px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
thead th {
|
|
50
|
-
font-size: 11px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.row-selection {
|
|
55
|
-
width: 38px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* intable — Stripe Theme
|
|
3
|
+
* Ultra-clean minimal white, tight spacing, strong typographic hierarchy
|
|
4
|
+
* Best for: fintech, e-commerce, financial dashboards, data-dense UIs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
.data-table {
|
|
8
|
+
--bg: #ffffff;
|
|
9
|
+
--c-primary: #635bff;
|
|
10
|
+
|
|
11
|
+
--menu-bg: #ffffff;
|
|
12
|
+
--li-hover-bg: #f6f8fa;
|
|
13
|
+
|
|
14
|
+
--table-b: 1px solid var(--table-b-c);
|
|
15
|
+
--table-b-c: #e3e8ee;
|
|
16
|
+
--table-c: #0a2540;
|
|
17
|
+
--table-bg: #ffffff;
|
|
18
|
+
|
|
19
|
+
--table-header-c: #425466;
|
|
20
|
+
--table-header-bg: #f7fafc;
|
|
21
|
+
|
|
22
|
+
--table-row-hover-bg: #f7fafc;
|
|
23
|
+
|
|
24
|
+
--select-area-bg: #635bff1a;
|
|
25
|
+
|
|
26
|
+
font-size: 13.5px;
|
|
27
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
28
|
+
|
|
29
|
+
th, td {
|
|
30
|
+
padding: 9px 14px;
|
|
31
|
+
line-height: 20px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
thead th {
|
|
35
|
+
font-size: 11.5px;
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
text-transform: uppercase;
|
|
38
|
+
letter-spacing: 0.04em;
|
|
39
|
+
color: var(--table-header-c);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--small {
|
|
43
|
+
font-size: 12.5px;
|
|
44
|
+
|
|
45
|
+
th, td {
|
|
46
|
+
padding: 5px 10px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
thead th {
|
|
50
|
+
font-size: 11px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.row-selection {
|
|
55
|
+
width: 38px;
|
|
56
|
+
}
|
|
57
|
+
}
|