@ox0/data-grid 0.1.14 → 0.1.16
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/components/DataGrid.d.ts.map +1 -1
- package/dist/index.js +6 -25
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/components/DataGrid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/components/DataGrid.tsx"],"names":[],"mappings":"AAUA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAA;AAId,OAAO,KAAK,EAIV,aAAa,EAKd,MAAM,UAAU,CAAA;AAyEjB;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,GAAG,SAAS,MAAM,EAAE,KAAK,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,CAoXjF"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useControllableState, useDebouncedValue } from "@ox0/hooks";
|
|
3
|
-
import { Checkbox, Drawer, MarkProvider, Markable, Popover, PopoverContent, PopoverTrigger, SearchField } from "@ox0/ui";
|
|
3
|
+
import { Checkbox, Drawer, IconButton, MarkProvider, Markable, Popover, PopoverContent, PopoverTrigger, SearchField } from "@ox0/ui";
|
|
4
4
|
import { useEffect, useRef, useState, useTransition } from "react";
|
|
5
5
|
import { useStore } from "zustand";
|
|
6
6
|
import { createStore } from "zustand/vanilla";
|
|
@@ -155,24 +155,6 @@ __webpack_require__.add({
|
|
|
155
155
|
flex: 1;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.columnChooserTrigger-Xg6_us {
|
|
159
|
-
border-radius: var(--ox0-radius-sm);
|
|
160
|
-
color: var(--ox0-color-muted);
|
|
161
|
-
cursor: pointer;
|
|
162
|
-
padding: var(--ox0-space-xs) var(--ox0-space-sm);
|
|
163
|
-
background: none;
|
|
164
|
-
border: 1px solid #0000;
|
|
165
|
-
flex-shrink: 0;
|
|
166
|
-
justify-content: center;
|
|
167
|
-
align-items: center;
|
|
168
|
-
display: flex;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.columnChooserTrigger-Xg6_us:hover {
|
|
172
|
-
background: var(--ox0-color-surface-hover);
|
|
173
|
-
color: var(--ox0-color-foreground);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
158
|
.columnChooserPanel-UzdRTT {
|
|
177
159
|
max-height: 400px;
|
|
178
160
|
overflow: auto;
|
|
@@ -273,7 +255,6 @@ __webpack_require__.add({
|
|
|
273
255
|
___CSS_LOADER_EXPORT___.locals = {
|
|
274
256
|
toolbar: "toolbar-Yfzupl",
|
|
275
257
|
searchInput: "searchInput-kLIczx",
|
|
276
|
-
columnChooserTrigger: "columnChooserTrigger-Xg6_us",
|
|
277
258
|
columnChooserPanel: "columnChooserPanel-UzdRTT",
|
|
278
259
|
layout: "layout-WlvV4u",
|
|
279
260
|
viewport: "viewport-SXETwl",
|
|
@@ -1741,11 +1722,11 @@ function DataGrid(props) {
|
|
|
1741
1722
|
placement: "bottom-end",
|
|
1742
1723
|
children: [
|
|
1743
1724
|
/*#__PURE__*/ jsx(PopoverTrigger, {
|
|
1744
|
-
children: /*#__PURE__*/ jsx(
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1725
|
+
children: /*#__PURE__*/ jsx(IconButton, {
|
|
1726
|
+
icon: MoreIcon,
|
|
1727
|
+
label: "Columns",
|
|
1728
|
+
size: "sm",
|
|
1729
|
+
variant: "ghost"
|
|
1749
1730
|
})
|
|
1750
1731
|
}),
|
|
1751
1732
|
/*#__PURE__*/ jsx(PopoverContent, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox0/data-grid",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/esturcke/ox0-platform.git",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@tanstack/react-virtual": "^3.14.13",
|
|
25
25
|
"zustand": "^5.0.0",
|
|
26
|
-
"@ox0/
|
|
27
|
-
"@ox0/ui": "3.8.
|
|
28
|
-
"@ox0/
|
|
26
|
+
"@ox0/hooks": "0.2.2",
|
|
27
|
+
"@ox0/ui": "3.8.2",
|
|
28
|
+
"@ox0/tokens": "0.7.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": "^19.0.0"
|