trio-tanstack-table 1.0.1

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/dist/index.css ADDED
@@ -0,0 +1,85 @@
1
+ /* src/Tanstack/table.css */
2
+ .resizer {
3
+ position: absolute;
4
+ right: 0;
5
+ top: 0;
6
+ height: 100%;
7
+ width: 8px;
8
+ background-color: transparent;
9
+ cursor: col-resize;
10
+ touch-action: none;
11
+ z-index: 30;
12
+ user-select: none;
13
+ }
14
+ .resizer::after {
15
+ content: "";
16
+ position: absolute;
17
+ top: 0;
18
+ bottom: 0;
19
+ right: 0;
20
+ width: 1px;
21
+ background-color: #d9d9d9;
22
+ transition: width 160ms ease, background-color 160ms ease;
23
+ }
24
+ .resizer:hover {
25
+ background-color: transparent;
26
+ }
27
+ .resizer:hover::after {
28
+ width: 3px;
29
+ background-color: #8c8c8c;
30
+ }
31
+ .resizer.isResizing {
32
+ background-color: transparent;
33
+ }
34
+ .resizer.isResizing::after {
35
+ width: 3px;
36
+ background-color: #595959;
37
+ }
38
+ .table-wrapper {
39
+ transform: translateZ(0);
40
+ backface-visibility: hidden;
41
+ perspective: 1000;
42
+ contain: content;
43
+ }
44
+ .table-container {
45
+ overflow-x: clip;
46
+ width: 100%;
47
+ }
48
+ .ant-form-item {
49
+ margin-bottom: 0px !important;
50
+ }
51
+ .rhf-card {
52
+ position: relative;
53
+ border: 1px solid #e5e7eb;
54
+ border-radius: 10px;
55
+ padding: 14px;
56
+ margin-bottom: 6px;
57
+ background: #fff;
58
+ }
59
+ .rhf-card-badge {
60
+ position: absolute;
61
+ top: 8px;
62
+ left: 8px;
63
+ width: 24px;
64
+ height: 24px;
65
+ border-radius: 999px;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: center;
69
+ font-size: 10px;
70
+ font-weight: 600;
71
+ pointer-events: none;
72
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
73
+ }
74
+ .rhf-card-grid {
75
+ display: grid;
76
+ gap: 8px;
77
+ }
78
+ .rhf-card-label {
79
+ font-size: 12px;
80
+ color: #6b7280;
81
+ }
82
+ .group-by-available-row:hover {
83
+ background-color: #f5f5f5;
84
+ }
85
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Tanstack/table.css"],"sourcesContent":[".resizer {\n position: absolute;\n right: 0;\n top: 0;\n height: 100%;\n width: 8px;\n background-color: transparent;\n cursor: col-resize;\n touch-action: none;\n z-index: 30;\n user-select: none;\n}\n\n.resizer::after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: 1px;\n background-color: #d9d9d9;\n transition:\n width 160ms ease,\n background-color 160ms ease;\n}\n\n.resizer:hover {\n background-color: transparent;\n}\n\n.resizer:hover::after {\n width: 3px;\n background-color: #8c8c8c;\n}\n\n.resizer.isResizing {\n background-color: transparent;\n}\n\n.resizer.isResizing::after {\n width: 3px;\n background-color: #595959;\n}\n\n/* Optimize paint operations */\n.table-wrapper {\n transform: translateZ(0);\n backface-visibility: hidden;\n perspective: 1000;\n contain: content;\n}\n\n/* Optional: Add this to your table wrapper to prevent horizontal scroll jump during resize */\n.table-container {\n overflow-x: clip;\n width: 100%;\n}\n\n.ant-form-item {\n margin-bottom: 0px !important;\n}\n\n.rhf-card {\n position: relative;\n border: 1px solid #e5e7eb;\n border-radius: 10px;\n padding: 14px;\n margin-bottom: 6px;\n background: #fff;\n}\n\n.rhf-card-badge {\n position: absolute;\n top: 8px;\n left: 8px;\n width: 24px;\n height: 24px;\n border-radius: 999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 10px;\n font-weight: 600;\n pointer-events: none;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);\n}\n\n.rhf-card-grid {\n display: grid;\n gap: 8px;\n}\n\n.rhf-card-label {\n font-size: 12px;\n color: #6b7280;\n}\n/* GroupBy popover available-column row hover */\n.group-by-available-row:hover {\n background-color: #f5f5f5;\n}\n"],"mappings":";AAAA,CAAC;AACC,YAAU;AACV,SAAO;AACP,OAAK;AACL,UAAQ;AACR,SAAO;AACP,oBAAkB;AAClB,UAAQ;AACR,gBAAc;AACd,WAAS;AACT,eAAa;AACf;AAEA,CAbC,OAaO;AACN,WAAS;AACT,YAAU;AACV,OAAK;AACL,UAAQ;AACR,SAAO;AACP,SAAO;AACP,oBAAkB;AAClB,cACE,MAAM,MAAM,IAAI,EAChB,iBAAiB,MAAM;AAC3B;AAEA,CA1BC,OA0BO;AACN,oBAAkB;AACpB;AAEA,CA9BC,OA8BO,MAAM;AACZ,SAAO;AACP,oBAAkB;AACpB;AAEA,CAnCC,OAmCO,CAAC;AACP,oBAAkB;AACpB;AAEA,CAvCC,OAuCO,CAJC,UAIU;AACjB,SAAO;AACP,oBAAkB;AACpB;AAGA,CAAC;AACC,aAAW,WAAW;AACtB,uBAAqB;AACrB,eAAa;AACb,WAAS;AACX;AAGA,CAAC;AACC,cAAY;AACZ,SAAO;AACT;AAEA,CAAC;AACC,iBAAe;AACjB;AAEA,CAAC;AACC,YAAU;AACV,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,WAAS;AACT,iBAAe;AACf,cAAY;AACd;AAEA,CAAC;AACC,YAAU;AACV,OAAK;AACL,QAAM;AACN,SAAO;AACP,UAAQ;AACR,iBAAe;AACf,WAAS;AACT,eAAa;AACb,mBAAiB;AACjB,aAAW;AACX,eAAa;AACb,kBAAgB;AAChB,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACtC;AAEA,CAAC;AACC,WAAS;AACT,OAAK;AACP;AAEA,CAAC;AACC,aAAW;AACX,SAAO;AACT;AAEA,CAAC,sBAAsB;AACrB,oBAAkB;AACpB;","names":[]}