@uibit/table 0.1.0 → 0.2.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 +10 -0
- package/custom-elements.json +462 -0
- package/dist/frameworks/angular/index.ts +101 -75
- package/dist/frameworks/astro/index.d.ts +17 -1
- package/dist/frameworks/preact/index.d.ts +2 -0
- package/dist/frameworks/react/index.ts +193 -0
- package/dist/frameworks/solid/index.d.ts +1 -0
- package/dist/frameworks/stencil/index.d.ts +2 -0
- package/dist/frameworks/svelte/index.svelte +104 -37
- package/dist/frameworks/vue/index.ts +228 -30
- package/package.json +7 -7
- package/dist/frameworks/react/index.d.ts +0 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uibit/table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Wraps any standard HTML <table> in the default slot and adds a full datagrid feature set — without touching the source markup. All features are individually opt-in via boolean attributes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"import": "./dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./custom-elements.json": "./custom-elements.json",
|
|
14
|
-
"./react": "./dist/frameworks/react/index.
|
|
14
|
+
"./react": "./dist/frameworks/react/index.ts",
|
|
15
15
|
"./vue": "./dist/frameworks/vue/index.ts",
|
|
16
16
|
"./svelte": "./dist/frameworks/svelte/index.svelte",
|
|
17
17
|
"./angular": "./dist/frameworks/angular/index.ts",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"lucide": "^1.24.0",
|
|
50
|
-
"@uibit/core": "0.
|
|
50
|
+
"@uibit/core": "0.2.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^20.19.43",
|
|
54
54
|
"lit": "^3.3.3",
|
|
55
55
|
"typescript": "7.0.2",
|
|
56
|
-
"@uibit/codegen": "0.
|
|
56
|
+
"@uibit/codegen": "0.2.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"lit": "^3.0.0",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"tagName": "uibit-table"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
|
-
"build": "cem analyze --
|
|
88
|
-
"dev": "concurrently \"cem analyze --
|
|
89
|
-
"analyze": "cem analyze --
|
|
87
|
+
"build": "cem analyze --config ../custom-elements-manifest.config.js && uibit-codegen --package . && tsc",
|
|
88
|
+
"dev": "concurrently \"cem analyze --config ../custom-elements-manifest.config.js --watch\" \"tsc --watch\"",
|
|
89
|
+
"analyze": "cem analyze --config ../custom-elements-manifest.config.js",
|
|
90
90
|
"typecheck": "tsc --noEmit",
|
|
91
91
|
"test": "vitest run -c ../../../vitest.config.ts --passWithNoTests"
|
|
92
92
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ClassAttributes } from 'react';
|
|
2
|
-
import type { Table as HTMLElementClass } from '@uibit/table';
|
|
3
|
-
import '@uibit/table';
|
|
4
|
-
|
|
5
|
-
declare global {
|
|
6
|
-
namespace React {
|
|
7
|
-
namespace JSX {
|
|
8
|
-
interface IntrinsicElements {
|
|
9
|
-
'uibit-table': ClassAttributes<HTMLElementClass> & HTMLAttributes<HTMLElementClass> & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
class?: string;
|
|
12
|
-
searchable?: boolean;
|
|
13
|
-
paginated?: boolean;
|
|
14
|
-
exportable?: boolean;
|
|
15
|
-
selectable?: boolean;
|
|
16
|
-
filterable?: boolean;
|
|
17
|
-
resizable?: boolean;
|
|
18
|
-
columnChooser?: boolean;
|
|
19
|
-
striped?: boolean;
|
|
20
|
-
stickyHeader?: boolean;
|
|
21
|
-
pageSizes?: string;
|
|
22
|
-
controlsLayout?: 'inline' | 'menu';
|
|
23
|
-
infiniteScroll?: boolean;
|
|
24
|
-
loading?: boolean;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|