@timlassiter11/yatl 0.3.21 → 1.0.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.
- package/README.md +243 -90
- package/dist/index.d.mts +632 -0
- package/dist/index.d.ts +632 -0
- package/dist/index.js +1903 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1868 -0
- package/dist/index.mjs.map +1 -0
- package/dist/yatl.min.global.js +455 -0
- package/dist/yatl.min.global.js.map +1 -0
- package/package.json +32 -21
- package/dist/data-table.css +0 -2
- package/dist/data-table.css.map +0 -1
- package/dist/data-table.d.mts +0 -624
- package/dist/data-table.d.ts +0 -624
- package/dist/data-table.global.js +0 -4
- package/dist/data-table.global.js.map +0 -1
- package/dist/data-table.js +0 -4
- package/dist/data-table.js.map +0 -1
- package/dist/data-table.mjs +0 -4
- package/dist/data-table.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timlassiter11/yatl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Yet another table library with all of the standard bells and whistles.",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
7
|
-
"
|
|
8
|
-
"
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"unpkg": "./dist/yatl.min.js",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"types": "./dist/
|
|
12
|
-
"import": "./dist/
|
|
13
|
-
"require": "./dist/
|
|
14
|
-
}
|
|
15
|
-
"./data-table.css": "./dist/data-table.css"
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.js"
|
|
14
|
+
}
|
|
16
15
|
},
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"./dist/index.mjs",
|
|
18
|
+
"./dist/index.js"
|
|
19
|
+
],
|
|
17
20
|
"keywords": [
|
|
18
21
|
"table",
|
|
19
22
|
"datatable",
|
|
@@ -30,35 +33,43 @@
|
|
|
30
33
|
"lint": "eslint",
|
|
31
34
|
"format": "prettier src/* --write",
|
|
32
35
|
"build": "tsup",
|
|
33
|
-
"test": "
|
|
36
|
+
"test": "web-test-runner src/**/*.test.ts --node-resolve",
|
|
37
|
+
"test:watch": "web-test-runner src/**/*.test.ts --node-resolve --watch"
|
|
34
38
|
},
|
|
35
39
|
"repository": {
|
|
36
40
|
"type": "git",
|
|
37
|
-
"url": "
|
|
41
|
+
"url": "https://github.com/timlassiter11/YATL"
|
|
38
42
|
},
|
|
39
43
|
"bugs": {
|
|
40
44
|
"url": "https://github.com/timlassiter11/YATL/issues"
|
|
41
45
|
},
|
|
42
46
|
"homepage": "https://github.com/timlassiter11/YATL#readme",
|
|
43
47
|
"engines": {
|
|
44
|
-
"node": "
|
|
48
|
+
"node": ">22.0.0"
|
|
49
|
+
},
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public",
|
|
52
|
+
"provenance": true
|
|
45
53
|
},
|
|
46
54
|
"devDependencies": {
|
|
47
55
|
"@eslint/js": "^9.28.0",
|
|
48
|
-
"@
|
|
56
|
+
"@open-wc/testing": "^4.0.0",
|
|
57
|
+
"@types/mocha": "^10.0.10",
|
|
49
58
|
"@types/node": "^22.15.17",
|
|
59
|
+
"@web/dev-server": "^0.4.6",
|
|
60
|
+
"@web/dev-server-esbuild": "^1.0.4",
|
|
61
|
+
"@web/test-runner": "^0.20.2",
|
|
50
62
|
"esbuild": "^0.25.4",
|
|
51
63
|
"eslint": "^9.28.0",
|
|
52
|
-
"identity-obj-proxy": "^3.0.0",
|
|
53
|
-
"jest": "^29.7.0",
|
|
54
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
55
|
-
"postcss": "^8.5.3",
|
|
56
64
|
"prettier": "^3.5.3",
|
|
57
|
-
"
|
|
58
|
-
"ts-node": "^10.9.2",
|
|
65
|
+
"sinon": "^21.0.1",
|
|
59
66
|
"tsup": "^8.4.0",
|
|
60
67
|
"typedoc": "^0.28.13",
|
|
61
68
|
"typescript": "^5.8.3",
|
|
62
69
|
"typescript-eslint": "^8.33.1"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@lit-labs/virtualizer": "^2.1.1",
|
|
73
|
+
"lit": "^3.3.2"
|
|
63
74
|
}
|
|
64
|
-
}
|
|
75
|
+
}
|
package/dist/data-table.css
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.data-table{--dt-header-sorter-width: 1ch;--dt-header-resizer-width: 10px;--dt-header-drop-color: rgba(255, 255, 255, .1);position:relative;white-space:nowrap;overflow:auto;table-layout:fixed}.dt-scroller{max-width:100%;max-height:100%;overflow:auto;position:relative}.dt-headers{position:sticky;top:0;z-index:1}.dt-headers th{overflow:hidden;box-sizing:border-box}.dt-headers .dt-header-content{position:relative}.dt-sortable .dt-header-content{cursor:pointer}.dt-header-title-wrapper{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;overflow:hidden}.dt-sort-icon{position:relative;width:var(--dt-header-sorter-width);align-self:stretch;padding:0 12px;overflow:hidden;flex-shrink:0}.dt-sort-icon:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dt-sortable.dt-descending .dt-sort-icon:after{content:"\2191"}.dt-sortable.dt-ascending .dt-sort-icon:after{content:"\2193"}.dt-resizer{position:absolute;top:0;right:calc((var(--dt-header-resizer-width) / 2) * -1);height:100%;width:var(--dt-header-resizer-width);cursor:ew-resize;z-index:2}.dt-resizer:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:1px;height:60%;background-color:currentColor}.dt-headers>tr>th.dt-drag-over,.dt-headers>tr>th:has(.dt-drag-over){background-color:var(--dt-header-drop-color)}.data-table>tbody>tr>td,.dt-header-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dt-empty{text-align:center;pointer-events:none}
|
|
2
|
-
/*# sourceMappingURL=data-table.css.map */
|
package/dist/data-table.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/data-table/data-table.css"],"sourcesContent":[".data-table {\n --dt-header-sorter-width: 1ch;\n --dt-header-resizer-width: 10px;\n --dt-header-drop-color: rgba(255, 255, 255, 0.1);\n\n position: relative;\n white-space: nowrap;\n overflow: auto;\n table-layout: fixed;\n}\n\n.dt-scroller {\n max-width: 100%;\n max-height: 100%;\n overflow: auto;\n position: relative;\n}\n\n.dt-headers {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.dt-headers th {\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.dt-headers .dt-header-content {\n position: relative;\n}\n\n.dt-sortable .dt-header-content {\n cursor: pointer;\n}\n\n.dt-header-title-wrapper {\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-wrap: nowrap;\n overflow: hidden;\n}\n\n.dt-sort-icon {\n position: relative;\n width: var(--dt-header-sorter-width);\n align-self: stretch;\n padding: 0 12px;\n overflow: hidden;\n flex-shrink: 0;\n}\n\n.dt-sort-icon::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.dt-sortable.dt-descending .dt-sort-icon::after {\n content: '\\2191';\n}\n\n.dt-sortable.dt-ascending .dt-sort-icon::after {\n content: '\\2193';\n}\n\n.dt-resizer {\n position: absolute;\n top: 0;\n right: calc((var(--dt-header-resizer-width) / 2) * -1);\n height: 100%;\n width: var(--dt-header-resizer-width);\n cursor: ew-resize;\n z-index: 2;\n}\n\n.dt-resizer::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 1px;\n height: 60%;\n background-color: currentColor;\n}\n\n.dt-headers > tr > th.dt-drag-over,\n.dt-headers > tr > th:has(.dt-drag-over) {\n background-color: var(--dt-header-drop-color);\n}\n\n.data-table > tbody > tr > td,\n.dt-header-title {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.dt-empty {\n text-align: center;\n pointer-events: none;\n}\n"],"mappings":"AAAA,CAAC,WACC,0BAA0B,IAC1B,2BAA2B,KAC3B,wBAAwB,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAE5C,SAAU,SACV,YAAa,OACb,SAAU,KACV,aAAc,KAChB,CAEA,CAAC,YACC,UAAW,KACX,WAAY,KACZ,SAAU,KACV,SAAU,QACZ,CAEA,CAAC,WACC,SAAU,OACV,IAAK,EACL,QAAS,CACX,CAEA,CANC,WAMW,GACV,SAAU,OACV,WAAY,UACd,CAEA,CAXC,WAWW,CAAC,kBACX,SAAU,QACZ,CAEA,CAAC,YAAY,CAJA,kBAKX,OAAQ,OACV,CAEA,CAAC,wBACC,QAAS,KACT,eAAgB,IAChB,YAAa,OACb,UAAW,OACX,SAAU,MACZ,CAEA,CAAC,aACC,SAAU,SACV,MAAO,IAAI,0BACX,WAAY,QAhDd,QAiDW,EAAE,KACX,SAAU,OACV,YAAa,CACf,CAEA,CATC,YASY,OACX,QAAS,GACT,SAAU,SACV,IAAK,IACL,KAAM,IACN,UAAW,UAAU,IAAI,CAAE,KAC7B,CAEA,CA7BC,WA6BW,CAAC,cAAc,CAjB1B,YAiBuC,OACtC,QAAS,OACX,CAEA,CAjCC,WAiCW,CAAC,aAAa,CArBzB,YAqBsC,OACrC,QAAS,OACX,CAEA,CAAC,WACC,SAAU,SACV,IAAK,EACL,MAAO,KAAK,CAAC,IAAI,2BAA2B,EAAE,GAAG,EAAE,IACnD,OAAQ,KACR,MAAO,IAAI,2BACX,OAAQ,UACR,QAAS,CACX,CAEA,CAVC,UAUU,OACT,QAAS,GACT,SAAU,SACV,IAAK,IACL,KAAM,IACN,UAAW,UAAU,IAAI,CAAE,MAC3B,MAAO,IACP,OAAQ,IACR,iBAAkB,YACpB,CAEA,CAzEC,UAyEW,CAAE,EAAG,CAAE,EAAE,CAAC,aACtB,CA1EC,UA0EW,CAAE,EAAG,CAAE,EAAE,KAAK,CADJ,cAEpB,iBAAkB,IAAI,uBACxB,CAEA,CAhGC,UAgGW,CAAE,KAAM,CAAE,EAAG,CAAE,GAC3B,CAAC,gBACC,cAAe,SACf,YAAa,OACb,SAAU,MACZ,CAEA,CAAC,SACC,WAAY,OACZ,eAAgB,IAClB","names":[]}
|