update offerings

This commit is contained in:
Philipinho
2026-06-15 02:23:10 +01:00
parent f5831a256a
commit bb7fddfc54
3 changed files with 4 additions and 3 deletions
@@ -6,7 +6,7 @@ import {
useVirtualizer, useVirtualizer,
windowScroll, windowScroll,
} from "@tanstack/react-virtual"; } from "@tanstack/react-virtual";
import { useAtom } from "jotai"; import { useAtom, useSetAtom, type PrimitiveAtom } from "jotai";
import { import {
IBaseRow, IBaseRow,
IBaseProperty, IBaseProperty,
@@ -134,7 +134,7 @@ export function GridContainer({
const focusedCellRef = useRef(focusedCell); const focusedCellRef = useRef(focusedCell);
focusedCellRef.current = focusedCell; focusedCellRef.current = focusedCell;
const [, setActiveFormulaEditor] = useAtom(activeFormulaEditorAtomFamily(pageId)) as unknown as [FormulaEditorTarget, (val: FormulaEditorTarget) => void]; const [, setActiveFormulaEditor] = useAtom(activeFormulaEditorAtomFamily(pageId)) as unknown as [FormulaEditorTarget, (val: FormulaEditorTarget) => void];
const [, setPendingTypeInsert] = useAtom(pendingTypeInsertAtom) as unknown as [PendingTypeInsert, (val: PendingTypeInsert) => void]; const setPendingTypeInsert = useSetAtom(pendingTypeInsertAtom as PrimitiveAtom<PendingTypeInsert>);
useEffect(() => { useEffect(() => {
const handleMouseDown = (e: MouseEvent) => { const handleMouseDown = (e: MouseEvent) => {
@@ -149,7 +149,6 @@ export function useGridKeyboardNav({
} }
case "Escape": { case "Escape": {
e.preventDefault(); e.preventDefault();
(document.activeElement as HTMLElement | null)?.blur();
setEditingCell(null); setEditingCell(null);
setFocusedCell(editingCell); setFocusedCell(editingCell);
break; break;
@@ -17,6 +17,8 @@ const enterpriseFeatures = [
"Resolve Comments", "Resolve Comments",
"Confluence Import", "Confluence Import",
"PDF & DOCX Import", "PDF & DOCX Import",
"Bases",
"Kanban",
"Templates", "Templates",
]; ];