@stackshift-ui/data-table 1.0.0-beta.1 → 1.0.0-beta.10
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/chunk-URJGIMUX.mjs +1 -0
- package/dist/data-table-view-options.js +1 -1
- package/dist/data-table-view-options.mjs +1 -1
- package/dist/data-table.js +1 -1
- package/dist/data-table.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/setupTests.js +36 -40
- package/dist/setupTests.mjs +34 -38
- package/package.json +8 -9
- package/src/data-table-view-options.tsx +1 -1
- package/dist/chunk-WNXZYFCR.mjs +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/data-table",
|
|
3
3
|
"description": "Powerful table and datagrids built using TanStack Table.",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.10",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -35,19 +35,18 @@
|
|
|
35
35
|
"@stackshift-ui/eslint-config": "6.0.10"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
39
38
|
"@tanstack/react-table": "^8.21.3",
|
|
40
39
|
"classnames": "^2.5.1",
|
|
41
40
|
"lucide-react": "^0.468.0",
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
44
|
-
"@stackshift-ui/
|
|
45
|
-
"@stackshift-ui/
|
|
46
|
-
"@stackshift-ui/table": "1.0.0-beta.
|
|
47
|
-
"@stackshift-ui/
|
|
41
|
+
"@stackshift-ui/dropdown-menu": "1.0.0-beta.8",
|
|
42
|
+
"@stackshift-ui/scripts": "7.0.0-beta.6",
|
|
43
|
+
"@stackshift-ui/select": "7.0.0-beta.7",
|
|
44
|
+
"@stackshift-ui/system": "7.0.0-beta.7",
|
|
45
|
+
"@stackshift-ui/table": "1.0.0-beta.8",
|
|
46
|
+
"@stackshift-ui/button": "7.0.0-beta.9"
|
|
48
47
|
},
|
|
49
48
|
"peerDependencies": {
|
|
50
|
-
"@stackshift-ui/system": ">=
|
|
49
|
+
"@stackshift-ui/system": ">=7.0.0-beta.7",
|
|
51
50
|
"@types/react": "16.8 - 19",
|
|
52
51
|
"next": "10 - 14",
|
|
53
52
|
"react": "16.8 - 19",
|
package/dist/chunk-WNXZYFCR.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{DropdownMenuTrigger as l}from"@radix-ui/react-dropdown-menu";import{Settings2 as s}from"lucide-react";import{Button as d}from"@stackshift-ui/button";import{DropdownMenu as m,DropdownMenuCheckboxItem as u,DropdownMenuContent as D,DropdownMenuLabel as g,DropdownMenuSeparator as w}from"@stackshift-ui/dropdown-menu";import{DefaultComponent as f,useStackShiftUIComponents as C}from"@stackshift-ui/system";import{jsx as o,jsxs as n}from"react/jsx-runtime";var t="DataTableViewOptions";function c({table:a,...i}){let{[t]:r=f}=C();return o(r,{...i,children:n(m,{children:[o(l,{asChild:!0,children:n(d,{variant:"outline",size:"sm",className:"ml-auto hidden h-8 lg:flex",children:[o(s,{}),"View"]})}),n(D,{align:"end",className:"w-[150px]",children:[o(g,{children:"Toggle columns"}),o(w,{}),a.getAllColumns().filter(e=>typeof e.accessorFn!="undefined"&&e.getCanHide()).map(e=>o(u,{className:"capitalize",checked:e.getIsVisible(),onCheckedChange:p=>e.toggleVisibility(!!p),children:e.id},e.id))]})]})})}c.displayName=t;export{c as a};
|