@dxos/react-ui-table 0.8.1-main.ae460ac → 0.8.1-staging.391c573

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.
Files changed (57) hide show
  1. package/dist/lib/browser/_deprecated/index.mjs +4 -4
  2. package/dist/lib/browser/_deprecated/index.mjs.map +3 -3
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/node/_deprecated/index.cjs +4 -4
  5. package/dist/lib/node/_deprecated/index.cjs.map +3 -3
  6. package/dist/lib/node/meta.json +1 -1
  7. package/dist/lib/node-esm/_deprecated/index.mjs +4 -4
  8. package/dist/lib/node-esm/_deprecated/index.mjs.map +3 -3
  9. package/dist/lib/node-esm/meta.json +1 -1
  10. package/dist/types/src/_deprecated/components/Cell/Cell.d.ts +2 -2
  11. package/dist/types/src/_deprecated/components/Cell/Cell.d.ts.map +1 -1
  12. package/dist/types/src/_deprecated/components/Cell/CellCombobox.d.ts +2 -1
  13. package/dist/types/src/_deprecated/components/Cell/CellCombobox.d.ts.map +1 -1
  14. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.d.ts +3 -2
  15. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.d.ts.map +1 -1
  16. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.stories.d.ts +3 -2
  17. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.stories.d.ts.map +1 -1
  18. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.d.ts +2 -1
  19. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.d.ts.map +1 -1
  20. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.stories.d.ts +3 -2
  21. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.stories.d.ts.map +1 -1
  22. package/dist/types/src/_deprecated/components/Table/Table.d.ts +5 -5
  23. package/dist/types/src/_deprecated/components/Table/Table.d.ts.map +1 -1
  24. package/dist/types/src/_deprecated/components/Table/Table.stories.d.ts +8 -7
  25. package/dist/types/src/_deprecated/components/Table/Table.stories.d.ts.map +1 -1
  26. package/dist/types/src/_deprecated/components/Table/TableBody.d.ts +2 -1
  27. package/dist/types/src/_deprecated/components/Table/TableBody.d.ts.map +1 -1
  28. package/dist/types/src/_deprecated/components/Table/TableContext.d.ts +1 -1
  29. package/dist/types/src/_deprecated/components/Table/TableContext.d.ts.map +1 -1
  30. package/dist/types/src/_deprecated/components/Table/TableHead.d.ts +2 -1
  31. package/dist/types/src/_deprecated/components/Table/TableHead.d.ts.map +1 -1
  32. package/dist/types/src/_deprecated/schema/Schema.stories.d.ts +2 -1
  33. package/dist/types/src/_deprecated/schema/Schema.stories.d.ts.map +1 -1
  34. package/dist/types/src/components/Table/ColumnActionsMenu.d.ts +2 -1
  35. package/dist/types/src/components/Table/ColumnActionsMenu.d.ts.map +1 -1
  36. package/dist/types/src/components/Table/ColumnSettings.d.ts +2 -1
  37. package/dist/types/src/components/Table/ColumnSettings.d.ts.map +1 -1
  38. package/dist/types/src/components/Table/CreateRefPanel.d.ts +2 -1
  39. package/dist/types/src/components/Table/CreateRefPanel.d.ts.map +1 -1
  40. package/dist/types/src/components/Table/RefPanel.d.ts +2 -1
  41. package/dist/types/src/components/Table/RefPanel.d.ts.map +1 -1
  42. package/dist/types/src/components/Table/RowActionsMenu.d.ts +2 -1
  43. package/dist/types/src/components/Table/RowActionsMenu.d.ts.map +1 -1
  44. package/dist/types/src/components/Table/Table.d.ts +1 -1
  45. package/dist/types/src/components/TableCellEditor/TableCellEditor.d.ts +2 -1
  46. package/dist/types/src/components/TableCellEditor/TableCellEditor.d.ts.map +1 -1
  47. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts +2 -1
  48. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts.map +1 -1
  49. package/dist/types/src/components/testing.d.ts +7 -0
  50. package/dist/types/src/components/testing.d.ts.map +1 -1
  51. package/dist/types/src/types/table.d.ts +21 -0
  52. package/dist/types/src/types/table.d.ts.map +1 -1
  53. package/package.json +31 -31
  54. package/src/_deprecated/components/Cell/Cell.tsx +2 -2
  55. package/src/_deprecated/components/Table/TableBody.tsx +2 -2
  56. package/src/_deprecated/helpers.tsx +2 -2
  57. package/src/components/testing.ts +1 -0
@@ -1,10 +1,11 @@
1
1
  import '@dxos-theme';
2
+ import React from 'react';
2
3
  declare const _default: {
3
4
  title: string;
4
5
  decorators: import("@storybook/react").Decorator[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const Default: {
8
- render: () => import("react/jsx-runtime").JSX.Element;
9
+ render: () => React.JSX.Element;
9
10
  };
10
11
  //# sourceMappingURL=Schema.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.stories.d.ts","sourceRoot":"","sources":["../../../../../src/_deprecated/schema/Schema.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;AAYrB,wBAGE;AAoBF,eAAO,MAAM,OAAO;;CAmBnB,CAAC"}
1
+ {"version":3,"file":"Schema.stories.d.ts","sourceRoot":"","sources":["../../../../../src/_deprecated/schema/Schema.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAIrB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;AAQ1B,wBAGE;AAoBF,eAAO,MAAM,OAAO;;CAmBnB,CAAC"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { type TableModel, type ModalController } from '../../model';
2
3
  type ColumnActionsMenuProps = {
3
4
  model: TableModel;
4
5
  modals: ModalController;
5
6
  };
6
- export declare const ColumnActionsMenu: ({ model, modals }: ColumnActionsMenuProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export declare const ColumnActionsMenu: ({ model, modals }: ColumnActionsMenuProps) => React.JSX.Element | null;
7
8
  export {};
8
9
  //# sourceMappingURL=ColumnActionsMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/ColumnActionsMenu.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGpE,KAAK,sBAAsB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE7E,eAAO,MAAM,iBAAiB,sBAAuB,sBAAsB,mDAmD1E,CAAC"}
1
+ {"version":3,"file":"ColumnActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/ColumnActionsMenu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGpE,KAAK,sBAAsB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE7E,eAAO,MAAM,iBAAiB,sBAAuB,sBAAsB,6BAmD1E,CAAC"}
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import { type TableModel, type ModalController } from '../../model';
2
3
  type ColumnSettingsProps = {
3
4
  model?: TableModel;
4
5
  modals: ModalController;
5
6
  onNewColumn: () => void;
6
7
  };
7
- export declare const ColumnSettings: ({ model, modals, onNewColumn }: ColumnSettingsProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export declare const ColumnSettings: ({ model, modals, onNewColumn }: ColumnSettingsProps) => React.JSX.Element | null;
8
9
  export {};
9
10
  //# sourceMappingURL=ColumnSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/ColumnSettings.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAC;IAAC,WAAW,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEpG,eAAO,MAAM,cAAc,mCAAoC,mBAAmB,mDA+DjF,CAAC"}
1
+ {"version":3,"file":"ColumnSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/ColumnSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAOzE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAC;IAAC,WAAW,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAEpG,eAAO,MAAM,cAAc,mCAAoC,mBAAmB,6BA+DjF,CAAC"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { type GridScopedProps } from '@dxos/react-ui-grid';
2
3
  import { type TableModel, type ModalController } from '../../model';
3
4
  export type CreateRefPanelProps = {
4
5
  model?: TableModel;
5
6
  modals: ModalController;
6
7
  };
7
- export declare const CreateRefPanel: ({ model, modals, __gridScope }: GridScopedProps<CreateRefPanelProps>) => import("react/jsx-runtime").JSX.Element | null;
8
+ export declare const CreateRefPanel: ({ model, modals, __gridScope }: GridScopedProps<CreateRefPanelProps>) => React.JSX.Element | null;
8
9
  //# sourceMappingURL=CreateRefPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateRefPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/CreateRefPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAGlF,eAAO,MAAM,cAAc,mCAAoC,eAAe,CAAC,mBAAmB,CAAC,mDAgElG,CAAC"}
1
+ {"version":3,"file":"CreateRefPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/CreateRefPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAMpD,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAGlF,eAAO,MAAM,cAAc,mCAAoC,eAAe,CAAC,mBAAmB,CAAC,6BAgElG,CAAC"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { type TableModel, type ModalController } from '../../model';
2
3
  type RefPanelProps = {
3
4
  model: TableModel;
4
5
  modals: ModalController;
5
6
  };
6
- export declare const RefPanel: ({ model, modals }: RefPanelProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export declare const RefPanel: ({ model, modals }: RefPanelProps) => React.JSX.Element | null;
7
8
  export {};
8
9
  //# sourceMappingURL=RefPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RefPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RefPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,KAAK,aAAa,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAUpE,eAAO,MAAM,QAAQ,sBAAuB,aAAa,mDA6BxD,CAAC"}
1
+ {"version":3,"file":"RefPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RefPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,KAAK,aAAa,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAUpE,eAAO,MAAM,QAAQ,sBAAuB,aAAa,6BA6BxD,CAAC"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { type TableModel, type ModalController } from '../../model';
2
3
  type RowActionsMenuProps = {
3
4
  model: TableModel;
4
5
  modals: ModalController;
5
6
  };
6
- export declare const RowActionsMenu: ({ model, modals }: RowActionsMenuProps) => import("react/jsx-runtime").JSX.Element | null;
7
+ export declare const RowActionsMenu: ({ model, modals }: RowActionsMenuProps) => React.JSX.Element | null;
7
8
  export {};
8
9
  //# sourceMappingURL=RowActionsMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RowActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RowActionsMenu.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,cAAc,sBAAuB,mBAAmB,mDAoBpE,CAAC"}
1
+ {"version":3,"file":"RowActionsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/RowActionsMenu.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGpE,KAAK,mBAAmB,GAAG;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAE1E,eAAO,MAAM,cAAc,sBAAuB,mBAAmB,6BAoBpE,CAAC"}
@@ -13,7 +13,7 @@ export type TableMainProps = {
13
13
  ignoreAttention?: boolean;
14
14
  };
15
15
  export declare const Table: {
16
- Root: ({ children, role }: TableRootProps) => import("react/jsx-runtime").JSX.Element;
16
+ Root: ({ children, role }: TableRootProps) => React.JSX.Element;
17
17
  Main: React.ForwardRefExoticComponent<TableMainProps & React.RefAttributes<TableController>>;
18
18
  };
19
19
  //# sourceMappingURL=Table.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { type Completion } from '@codemirror/autocomplete';
2
+ import React from 'react';
2
3
  import { type DxGrid } from '@dxos/lit-grid';
3
4
  import { type DxGridPlanePosition, type GridScopedProps } from '@dxos/react-ui-grid';
4
5
  import { type FieldProjection } from '@dxos/schema';
@@ -21,6 +22,6 @@ export type TableCellEditorProps = {
21
22
  onFocus?: DxGrid['refocus'];
22
23
  onQuery?: (field: FieldProjection, text: string) => Promise<QueryResult[]>;
23
24
  };
24
- export declare const TableCellEditor: ({ model, modals, onEnter, onFocus, onQuery, __gridScope, }: GridScopedProps<TableCellEditorProps>) => import("react/jsx-runtime").JSX.Element;
25
+ export declare const TableCellEditor: ({ model, modals, onEnter, onFocus, onQuery, __gridScope, }: GridScopedProps<TableCellEditorProps>) => React.JSX.Element;
25
26
  export {};
26
27
  //# sourceMappingURL=TableCellEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableCellEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableCellEditor/TableCellEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAK3D,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAKL,KAAK,mBAAmB,EAMxB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,eAAe,EAA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,eAAyB,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,MAAM;;;CAAiC,CAAC;AAI3E,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CAC5E,CAAC;AAEF,eAAO,MAAM,eAAe,+DAOzB,eAAe,CAAC,oBAAoB,CAAC,sBA0HvC,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { type ThemedClassName } from '@dxos/react-ui';
2
3
  import { type MenuAction, type MenuActionHandler } from '@dxos/react-ui-menu';
3
4
  export type TableToolbarActionProperties = {
@@ -12,6 +13,6 @@ export type TableToolbarProps = ThemedClassName<TableToolbarState & {
12
13
  onAction?: MenuActionHandler<TableToolbarAction>;
13
14
  attendableId?: string;
14
15
  }>;
15
- export declare const TableToolbar: ({ classNames, viewDirty, attendableId, onAction }: TableToolbarProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const TableToolbar: ({ classNames, viewDirty, attendableId, onAction }: TableToolbarProps) => React.JSX.Element;
16
17
  export {};
17
18
  //# sourceMappingURL=TableToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableToolbar/TableToolbar.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,eAAe,EAAE,MA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,eAAe,CAC7C,iBAAiB,GAAG;IAAE,QAAQ,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAChG,CAAC;AA+BF,eAAO,MAAM,YAAY,sDAAuD,iBAAiB,sBAUhG,CAAC"}
@@ -39,6 +39,13 @@ export declare const createTable: (schema?: import("@dxos/echo-schema").TypedObj
39
39
  size: S.optional<typeof S.Number>;
40
40
  referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
41
41
  }>>>>;
42
+ hiddenFields: S.optional<S.mutable<S.Array$<S.mutable<S.Struct<{
43
+ id: typeof S.String;
44
+ path: S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
45
+ visible: S.optional<typeof S.Boolean>;
46
+ size: S.optional<typeof S.Number>;
47
+ referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
48
+ }>>>>>;
42
49
  metadata: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
43
50
  }, import("@dxos/echo-schema").TypedObjectOptions>>>;
44
51
  readonly threads: S.optional<S.Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/components/testing.ts"],"names":[],"mappings":"AAMA,OAAO,EAA0B,CAAC,EAAqC,MAAM,mBAAmB,CAAC;AAMjG,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;GAMrB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;cACL,EAAG,WAClB;eAYQ,EAAG,MAAM;gBAGF,EAAG,QAAQ,CAAC,EAAE,MAAM;gBAWlC,EAAG,OAAO,CAAC,EAAG,MAAK,CAAC,EACvB,OAAK,CAAC,EAAE,MAAM;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AC1C,EAAG,MAAM;kBAAe,EAAG,MAAM;qBACV,EAAG,QAAQ,QAAO,EAAG,OAAO;kBACnD,EAAG,QAAQ,QAAO,EAAI,MAAK;2BACpB,EAAG,QAAQ,CAAC,EAAE,MAAM;;kBAI/B,EAAI,QACP,CAAG,EAAA,OAAO,CAAE,EAAC,OAAO,QACnB,EAAA,MAAE,SAAQ,EAAG,GAAG;;;mDApDrB,CAAC;AAEF,eAAO,MAAM,WAAW,MAAO,MAAM;;;;;GAWpC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,YAAY,qDAAsD,cAAc,SA+D5F,CAAC"}
@@ -13,6 +13,13 @@ export declare const TableSchema: S.Struct<{
13
13
  size: S.optional<typeof S.Number>;
14
14
  referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
15
15
  }>>>>;
16
+ hiddenFields: S.optional<S.mutable<S.Array$<S.mutable<S.Struct<{
17
+ id: typeof S.String;
18
+ path: S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
19
+ visible: S.optional<typeof S.Boolean>;
20
+ size: S.optional<typeof S.Number>;
21
+ referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
22
+ }>>>>>;
16
23
  metadata: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
17
24
  }, import("@dxos/echo-schema").TypedObjectOptions>>>;
18
25
  threads: S.optional<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>;
@@ -31,6 +38,13 @@ declare const TableType_base: import("@dxos/echo-schema").TypedObjectPrototype<i
31
38
  size: S.optional<typeof S.Number>;
32
39
  referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
33
40
  }>>>>;
41
+ hiddenFields: S.optional<S.mutable<S.Array$<S.mutable<S.Struct<{
42
+ id: typeof S.String;
43
+ path: S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
44
+ visible: S.optional<typeof S.Boolean>;
45
+ size: S.optional<typeof S.Number>;
46
+ referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
47
+ }>>>>>;
34
48
  metadata: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
35
49
  }, import("@dxos/echo-schema").TypedObjectOptions>>>;
36
50
  readonly threads: S.optional<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>;
@@ -48,6 +62,13 @@ declare const TableType_base: import("@dxos/echo-schema").TypedObjectPrototype<i
48
62
  size: S.optional<typeof S.Number>;
49
63
  referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
50
64
  }>>>>;
65
+ hiddenFields: S.optional<S.mutable<S.Array$<S.mutable<S.Struct<{
66
+ id: typeof S.String;
67
+ path: S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
68
+ visible: S.optional<typeof S.Boolean>;
69
+ size: S.optional<typeof S.Number>;
70
+ referencePath: S.optional<S.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
71
+ }>>>>>;
51
72
  metadata: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
52
73
  }, import("@dxos/echo-schema").TypedObjectOptions>>>;
53
74
  readonly threads: S.optional<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/types/table.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiB,CAAC,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI3E,eAAO,MAAM,WAAW;;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",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -44,7 +44,7 @@
44
44
  "@codemirror/autocomplete": "^6.18.1",
45
45
  "@codemirror/state": "^6.4.1",
46
46
  "@codemirror/view": "^6.34.1",
47
- "@fluentui/react-tabster": "9.23.3",
47
+ "@fluentui/react-tabster": "^9.24.2",
48
48
  "@preact/signals-core": "^1.6.0",
49
49
  "@radix-ui/react-context": "1.1.1",
50
50
  "@radix-ui/react-primitive": "2.0.2",
@@ -54,27 +54,27 @@
54
54
  "@tanstack/react-virtual": "^3.9.0",
55
55
  "date-fns": "^3.3.1",
56
56
  "lodash.orderby": "^4.6.0",
57
- "@dxos/context": "0.8.1-main.ae460ac",
58
- "@dxos/echo-schema": "0.8.1-main.ae460ac",
59
- "@dxos/invariant": "0.8.1-main.ae460ac",
60
- "@dxos/keys": "0.8.1-main.ae460ac",
61
- "@dxos/lit-grid": "0.8.1-main.ae460ac",
62
- "@dxos/live-object": "0.8.1-main.ae460ac",
63
- "@dxos/debug": "0.8.1-main.ae460ac",
64
- "@dxos/log": "0.8.1-main.ae460ac",
65
- "@dxos/plugin-search": "0.8.1-main.ae460ac",
66
- "@dxos/plugin-space": "0.8.1-main.ae460ac",
67
- "@dxos/react-client": "0.8.1-main.ae460ac",
68
- "@dxos/react-ui-form": "0.8.1-main.ae460ac",
69
- "@dxos/react-ui-grid": "0.8.1-main.ae460ac",
70
- "@dxos/react-ui-menu": "0.8.1-main.ae460ac",
71
- "@dxos/react-ui-attention": "0.8.1-main.ae460ac",
72
- "@dxos/react-ui-stack": "0.8.1-main.ae460ac",
73
- "@dxos/react-ui-searchlist": "0.8.1-main.ae460ac",
74
- "@dxos/react-ui-syntax-highlighter": "0.8.1-main.ae460ac",
75
- "@dxos/schema": "0.8.1-main.ae460ac",
76
- "@dxos/util": "0.8.1-main.ae460ac",
77
- "@dxos/react-ui-types": "0.8.1-main.ae460ac"
57
+ "@dxos/debug": "0.8.1-staging.391c573",
58
+ "@dxos/echo-schema": "0.8.1-staging.391c573",
59
+ "@dxos/invariant": "0.8.1-staging.391c573",
60
+ "@dxos/context": "0.8.1-staging.391c573",
61
+ "@dxos/keys": "0.8.1-staging.391c573",
62
+ "@dxos/lit-grid": "0.8.1-staging.391c573",
63
+ "@dxos/live-object": "0.8.1-staging.391c573",
64
+ "@dxos/log": "0.8.1-staging.391c573",
65
+ "@dxos/plugin-search": "0.8.1-staging.391c573",
66
+ "@dxos/plugin-space": "0.8.1-staging.391c573",
67
+ "@dxos/react-ui-attention": "0.8.1-staging.391c573",
68
+ "@dxos/react-ui-grid": "0.8.1-staging.391c573",
69
+ "@dxos/react-client": "0.8.1-staging.391c573",
70
+ "@dxos/react-ui-menu": "0.8.1-staging.391c573",
71
+ "@dxos/react-ui-form": "0.8.1-staging.391c573",
72
+ "@dxos/react-ui-stack": "0.8.1-staging.391c573",
73
+ "@dxos/react-ui-syntax-highlighter": "0.8.1-staging.391c573",
74
+ "@dxos/react-ui-types": "0.8.1-staging.391c573",
75
+ "@dxos/react-ui-searchlist": "0.8.1-staging.391c573",
76
+ "@dxos/schema": "0.8.1-staging.391c573",
77
+ "@dxos/util": "0.8.1-staging.391c573"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@phosphor-icons/react": "^2.1.5",
@@ -85,19 +85,19 @@
85
85
  "react": "~18.2.0",
86
86
  "react-dom": "~18.2.0",
87
87
  "vite": "5.4.7",
88
- "@dxos/echo-signals": "0.8.1-main.ae460ac",
89
- "@dxos/react-ui": "0.8.1-main.ae460ac",
90
- "@dxos/react-ui-theme": "0.8.1-main.ae460ac",
91
- "@dxos/random": "0.8.1-main.ae460ac",
92
- "@dxos/test-utils": "0.8.1-main.ae460ac",
93
- "@dxos/storybook-utils": "0.8.1-main.ae460ac"
88
+ "@dxos/random": "0.8.1-staging.391c573",
89
+ "@dxos/react-ui": "0.8.1-staging.391c573",
90
+ "@dxos/storybook-utils": "0.8.1-staging.391c573",
91
+ "@dxos/react-ui-theme": "0.8.1-staging.391c573",
92
+ "@dxos/echo-signals": "0.8.1-staging.391c573",
93
+ "@dxos/test-utils": "0.8.1-staging.391c573"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "@phosphor-icons/react": "^2.1.5",
97
97
  "react": "~18.2.0",
98
98
  "react-dom": "~18.2.0",
99
- "@dxos/react-ui": "0.8.1-main.ae460ac",
100
- "@dxos/react-ui-theme": "0.8.1-main.ae460ac"
99
+ "@dxos/react-ui": "0.8.1-staging.391c573",
100
+ "@dxos/react-ui-theme": "0.8.1-staging.391c573"
101
101
  },
102
102
  "publishConfig": {
103
103
  "access": "public"
@@ -17,7 +17,7 @@ const CELL_NAME = 'Cell';
17
17
 
18
18
  const FocusableCell = <TData extends RowData, TValue>({ cell, children }: CellProps<TData, TValue>) => {
19
19
  const tableContext = useTableContext();
20
- const domAttributes = useFocusableGroup({ tabBehavior: 'limited' });
20
+ const focusableGroupAttrs = useFocusableGroup({ tabBehavior: 'limited' });
21
21
 
22
22
  const pinned = tableContext.table.getState().rowPinning?.bottom?.includes(cell.row.id);
23
23
  const className = tdRoot({ ...tableContext, pinned }, cell.column.columnDef.meta?.cell?.classNames);
@@ -60,7 +60,7 @@ const FocusableCell = <TData extends RowData, TValue>({ cell, children }: CellPr
60
60
  }, []);
61
61
 
62
62
  return (
63
- <td data-testid='table.cell' tabIndex={0} {...domAttributes} className={className} onKeyDown={handleKeyDown}>
63
+ <td data-testid='table.cell' tabIndex={0} {...focusableGroupAttrs} className={className} onKeyDown={handleKeyDown}>
64
64
  {children}
65
65
  </td>
66
66
  );
@@ -21,13 +21,13 @@ const TableBody = ({ rows }: TableBodyProps) => {
21
21
  const { table, keyAccessor, currentDatum, debug, expand, isGrid, onDatumClick } = useTableContext();
22
22
 
23
23
  const rowSelection = table.getState().rowSelection;
24
- const domAttributes = useArrowNavigationGroup({ axis: 'grid' });
24
+ const arrowNavigationAttrs = useArrowNavigationGroup({ axis: 'grid' });
25
25
  const canBeCurrent = !isGrid && !!onDatumClick;
26
26
 
27
27
  const { virtualizer } = useContext(TableRootContext);
28
28
 
29
29
  return (
30
- <tbody {...(isGrid && domAttributes)}>
30
+ <tbody {...(isGrid && arrowNavigationAttrs)}>
31
31
  {rows.map((row) => {
32
32
  const isCurrent = currentDatum === row.original;
33
33
  const isSelected = rowSelection?.[row.id];
@@ -126,7 +126,7 @@ const StringBuilderCell = <TData extends RowData>(cellContext: CellContext<TData
126
126
  let placeholder = false;
127
127
  const columns = cellContext.table.getVisibleFlatColumns();
128
128
 
129
- // Calling getRowModel is expensive, so only do it when we're a cell in the first position
129
+ // Calling getRowModel is expensive, so only do it when we're a cell in the first position.
130
130
  if (columns[0].id === cellContext.column.id) {
131
131
  const rowCount = cellContext.table.getRowModel().rows.length;
132
132
  placeholder = cellContext.row.index === rowCount - 1 && columns[0].id === cellContext.column.id;
@@ -206,7 +206,7 @@ const NumberBuilderCell = <TData extends RowData>(cellContext: CellContext<TData
206
206
  onFocus={handleEdit}
207
207
  onChange={({ target: { value } }) => setText(value)}
208
208
  onKeyDown={(event) => {
209
- // TODO(thure): `Escape` is reserved for blurring the input and moving focus to the cell
209
+ // TODO(thure): `Escape` is reserved for blurring the input and moving focus to the cell.
210
210
  return /* (event.key === 'Escape' && handleCancel()) || */ event.key === 'Enter' && handleSave();
211
211
  }}
212
212
  autoComplete='off'
@@ -75,6 +75,7 @@ export const useSimulator = ({ items, table, insertInterval, updateInterval }: S
75
75
  const rowIdx = Math.floor(Math.random() * items.length);
76
76
  const fields = table.view?.target?.fields ?? [];
77
77
  const columnIdx = Math.floor(Math.random() * fields.length);
78
+ // TODO(ZaymonFC): ... This is borked.
78
79
  const projection: ViewProjection = (table as any)._projection;
79
80
  const field = fields[columnIdx];
80
81
  const item = items[rowIdx];