@adecore/database 0.57.0 → 0.59.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/dist/grid/GridRowView.js
CHANGED
|
@@ -39,7 +39,7 @@ export const GridRowView = memo(function GridRowView({ row, index, selected, foc
|
|
|
39
39
|
const isEditing = editing !== null && editing.column === columnIndex;
|
|
40
40
|
const pinned = position < pinnedShown;
|
|
41
41
|
const enumType = enumTypes[columnIndex] ?? null;
|
|
42
|
-
return (_jsxs("div", { id: cellIdOf(look.gridId, index, columnIndex), role: "gridcell", "aria-colindex": position + 2, "aria-selected": ranged, "data-focused": isFocused ? '' : undefined, "data-ranged": ranged ? '' : undefined, className: clsx(CODE_TEXT, 'flex h-full shrink-0 items-center overflow-hidden px-3 whitespace-nowrap outline-0 select-none data-[focused]:outline-1 data-[focused]:-outline-offset-1 data-[focused]:outline-border-strong group-focus-within/grid:data-[focused]:outline-accent', position === order.length - 1 ? 'border-r-0' : 'border-r', view.align === 'end' ? 'justify-end tabular-nums' : 'justify-start', pinned
|
|
42
|
+
return (_jsxs("div", { id: cellIdOf(look.gridId, index, columnIndex), role: "gridcell", "aria-colindex": position + 2, "aria-selected": ranged, "data-focused": isFocused ? '' : undefined, "data-ranged": ranged ? '' : undefined, className: clsx(CODE_TEXT, 'flex h-full shrink-0 items-center overflow-hidden px-3 whitespace-nowrap outline-0 select-none data-[focused]:outline-1 data-[focused]:-outline-offset-1 data-[focused]:outline-border-strong group-focus-within/grid:data-[focused]:outline-accent-on-surface', position === order.length - 1 ? 'border-r-0' : 'border-r', view.align === 'end' ? 'justify-end tabular-nums' : 'justify-start', pinned
|
|
43
43
|
? [
|
|
44
44
|
'relative bg-clip-border',
|
|
45
45
|
position === pinnedShown - 1 ? 'border-border-strong' : 'border-border-soft',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adecore/database",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "Browse, query and edit SQLite and MySQL databases: React views for the page, a host for the backend and a native helper that talks to the server.",
|
|
5
5
|
"license": "FSL-1.1-MIT",
|
|
6
6
|
"author": "Bas Milius",
|
|
@@ -56,26 +56,26 @@
|
|
|
56
56
|
"helper:test": "cargo test --locked --manifest-path helper/Cargo.toml"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@adecore/utils": "0.
|
|
59
|
+
"@adecore/utils": "0.59.0",
|
|
60
60
|
"@base-ui/react": "^1.9.0",
|
|
61
61
|
"clsx": "^2.1.1",
|
|
62
62
|
"lucide-react": "^1.65.0"
|
|
63
63
|
},
|
|
64
64
|
"optionalDependencies": {
|
|
65
|
-
"@adecore/database-darwin-arm64": "0.
|
|
66
|
-
"@adecore/database-linux-arm64": "0.
|
|
67
|
-
"@adecore/database-linux-x64": "0.
|
|
68
|
-
"@adecore/database-win32-x64": "0.
|
|
65
|
+
"@adecore/database-darwin-arm64": "0.59.0",
|
|
66
|
+
"@adecore/database-linux-arm64": "0.59.0",
|
|
67
|
+
"@adecore/database-linux-x64": "0.59.0",
|
|
68
|
+
"@adecore/database-win32-x64": "0.59.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@adecore/ui": "^0.
|
|
71
|
+
"@adecore/ui": "^0.59.0",
|
|
72
72
|
"i18next": "^26.4.2",
|
|
73
73
|
"react": "^19.3.0",
|
|
74
74
|
"react-dom": "^19.3.0",
|
|
75
75
|
"react-i18next": "^17.0.15"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@adecore/ui": "0.
|
|
78
|
+
"@adecore/ui": "0.59.0",
|
|
79
79
|
"@happy-dom/global-registrator": "^21.0.4",
|
|
80
80
|
"@types/bun": "^1.4.4",
|
|
81
81
|
"@types/node": "^26.6.6",
|
package/src/grid/GridRowView.tsx
CHANGED
|
@@ -109,7 +109,7 @@ export const GridRowView = memo(function GridRowView({ row, index, selected, foc
|
|
|
109
109
|
data-ranged={ranged ? '' : undefined}
|
|
110
110
|
className={clsx(
|
|
111
111
|
CODE_TEXT,
|
|
112
|
-
'flex h-full shrink-0 items-center overflow-hidden px-3 whitespace-nowrap outline-0 select-none data-[focused]:outline-1 data-[focused]:-outline-offset-1 data-[focused]:outline-border-strong group-focus-within/grid:data-[focused]:outline-accent',
|
|
112
|
+
'flex h-full shrink-0 items-center overflow-hidden px-3 whitespace-nowrap outline-0 select-none data-[focused]:outline-1 data-[focused]:-outline-offset-1 data-[focused]:outline-border-strong group-focus-within/grid:data-[focused]:outline-accent-on-surface',
|
|
113
113
|
position === order.length - 1 ? 'border-r-0' : 'border-r',
|
|
114
114
|
view.align === 'end' ? 'justify-end tabular-nums' : 'justify-start',
|
|
115
115
|
pinned
|