@dxos/react-ui-table 0.8.0 → 0.8.1-main.303c73a

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 (45) hide show
  1. package/dist/types/src/_deprecated/components/Cell/Cell.d.ts +2 -2
  2. package/dist/types/src/_deprecated/components/Cell/Cell.d.ts.map +1 -1
  3. package/dist/types/src/_deprecated/components/Cell/CellCombobox.d.ts +2 -1
  4. package/dist/types/src/_deprecated/components/Cell/CellCombobox.d.ts.map +1 -1
  5. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.d.ts +3 -2
  6. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.d.ts.map +1 -1
  7. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.stories.d.ts +3 -2
  8. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnMenu.stories.d.ts.map +1 -1
  9. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.d.ts +2 -1
  10. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.d.ts.map +1 -1
  11. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.stories.d.ts +3 -2
  12. package/dist/types/src/_deprecated/components/ColumnMenu/ColumnSettings.stories.d.ts.map +1 -1
  13. package/dist/types/src/_deprecated/components/Table/Table.d.ts +5 -5
  14. package/dist/types/src/_deprecated/components/Table/Table.d.ts.map +1 -1
  15. package/dist/types/src/_deprecated/components/Table/Table.stories.d.ts +8 -7
  16. package/dist/types/src/_deprecated/components/Table/Table.stories.d.ts.map +1 -1
  17. package/dist/types/src/_deprecated/components/Table/TableBody.d.ts +2 -1
  18. package/dist/types/src/_deprecated/components/Table/TableBody.d.ts.map +1 -1
  19. package/dist/types/src/_deprecated/components/Table/TableContext.d.ts +1 -1
  20. package/dist/types/src/_deprecated/components/Table/TableContext.d.ts.map +1 -1
  21. package/dist/types/src/_deprecated/components/Table/TableHead.d.ts +2 -1
  22. package/dist/types/src/_deprecated/components/Table/TableHead.d.ts.map +1 -1
  23. package/dist/types/src/_deprecated/schema/Schema.stories.d.ts +2 -1
  24. package/dist/types/src/_deprecated/schema/Schema.stories.d.ts.map +1 -1
  25. package/dist/types/src/components/Table/ColumnActionsMenu.d.ts +2 -1
  26. package/dist/types/src/components/Table/ColumnActionsMenu.d.ts.map +1 -1
  27. package/dist/types/src/components/Table/ColumnSettings.d.ts +2 -1
  28. package/dist/types/src/components/Table/ColumnSettings.d.ts.map +1 -1
  29. package/dist/types/src/components/Table/CreateRefPanel.d.ts +2 -1
  30. package/dist/types/src/components/Table/CreateRefPanel.d.ts.map +1 -1
  31. package/dist/types/src/components/Table/RefPanel.d.ts +2 -1
  32. package/dist/types/src/components/Table/RefPanel.d.ts.map +1 -1
  33. package/dist/types/src/components/Table/RowActionsMenu.d.ts +2 -1
  34. package/dist/types/src/components/Table/RowActionsMenu.d.ts.map +1 -1
  35. package/dist/types/src/components/Table/Table.d.ts +1 -1
  36. package/dist/types/src/components/TableCellEditor/TableCellEditor.d.ts +2 -1
  37. package/dist/types/src/components/TableCellEditor/TableCellEditor.d.ts.map +1 -1
  38. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts +2 -1
  39. package/dist/types/src/components/TableToolbar/TableToolbar.d.ts.map +1 -1
  40. package/dist/types/src/components/testing.d.ts +7 -0
  41. package/dist/types/src/components/testing.d.ts.map +1 -1
  42. package/dist/types/src/types/table.d.ts +21 -0
  43. package/dist/types/src/types/table.d.ts.map +1 -1
  44. package/package.json +30 -30
  45. package/src/_deprecated/schema/Schema.stories.tsx +1 -1
@@ -1,10 +1,10 @@
1
1
  import { type Cell as CellType, type RowData } from '@tanstack/react-table';
2
- import { type PropsWithChildren } from 'react';
2
+ import React, { type PropsWithChildren } from 'react';
3
3
  type CellProps<TData extends RowData, TValue> = PropsWithChildren<{
4
4
  cell: CellType<TData, TValue>;
5
5
  }>;
6
6
  declare const Cell: {
7
- <TData extends RowData, TValue>({ cell, children }: CellProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
7
+ <TData extends RowData, TValue>({ cell, children }: CellProps<TData, TValue>): React.JSX.Element;
8
8
  displayName: string;
9
9
  };
10
10
  export { Cell };
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Cell/Cell.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,IAAI,QAAQ,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAc,EAAe,KAAK,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AAKvF,KAAK,SAAS,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM,IAAI,iBAAiB,CAAC;IAChE,IAAI,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAC/B,CAAC,CAAC;AAgEH,QAAA,MAAM,IAAI;KAAI,KAAK,SAAS,OAAO,EAAE,MAAM,sBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;;CAIxF,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,YAAY,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Cell/Cell.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,IAAI,QAAQ,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,KAAK,EAAE,EAAe,KAAK,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AAKvF,KAAK,SAAS,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM,IAAI,iBAAiB,CAAC;IAChE,IAAI,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAC/B,CAAC,CAAC;AAgEH,QAAA,MAAM,IAAI;KAAI,KAAK,SAAS,OAAO,EAAE,MAAM,sBAAsB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;;CAIxF,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type RowData } from '@tanstack/react-table';
2
+ import React from 'react';
2
3
  import { type SearchListQueryModel } from '../../helpers';
3
4
  export type ComboboxCellItems<TData extends RowData> = Record<string, {
4
5
  label: string;
@@ -8,5 +9,5 @@ export declare const CellCombobox: <TData extends RowData>({ model, value, onVal
8
9
  model: SearchListQueryModel<TData>;
9
10
  value: TData;
10
11
  onValueChange: (value: TData) => void;
11
- }) => import("react/jsx-runtime").JSX.Element;
12
+ }) => React.JSX.Element;
12
13
  //# sourceMappingURL=CellCombobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellCombobox.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Cell/CellCombobox.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAOrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG1D,MAAM,MAAM,iBAAiB,CAAC,KAAK,SAAS,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC;AAStG,eAAO,MAAM,YAAY,GAAI,KAAK,SAAS,OAAO,oCAI/C;IACD,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACvC,4CAsEA,CAAC"}
1
+ {"version":3,"file":"CellCombobox.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Cell/CellCombobox.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG1D,MAAM,MAAM,iBAAiB,CAAC,KAAK,SAAS,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC;AAStG,eAAO,MAAM,YAAY,GAAI,KAAK,SAAS,OAAO,oCAI/C;IACD,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACvC,sBAsEA,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type SortDirection, type HeaderContext, type RowData } from '@tanstack/react-table';
2
+ import React from 'react';
2
3
  import { type TableDef, type ColumnDef } from '../../schema';
3
4
  export type ColumnMenuProps<TData extends RowData, TValue> = {
4
5
  context: HeaderContext<TData, TValue>;
@@ -14,9 +15,9 @@ export type ColumnMenuProps<TData extends RowData, TValue> = {
14
15
  /**
15
16
  * @deprecated
16
17
  */
17
- export declare const ColumnMenu: <TData extends RowData, TValue>({ column, columnOrderable, columnPosition, onColumnReorder, ...props }: ColumnMenuProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const ColumnMenu: <TData extends RowData, TValue>({ column, columnOrderable, columnPosition, onColumnReorder, ...props }: ColumnMenuProps<TData, TValue>) => React.JSX.Element;
18
19
  export declare const SortIndicator: ({ direction, onClick, }: {
19
20
  direction: SortDirection | undefined;
20
21
  onClick: (e: any) => void;
21
- }) => import("react/jsx-runtime").JSX.Element | null;
22
+ }) => React.JSX.Element | null;
22
23
  //# sourceMappingURL=ColumnMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnMenu.tsx"],"names":[],"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M,uBAAuB,CAAC;AAC7F,OAAO,KAAwC,MAAM,OAAO,CAAC;AAO7D,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,OAAO,EAAE,MAAM,IAAI;IAC3D,OAAO,EAAE,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACtC,iBAAiB,EAAE,QAAQ,EAAE,CAAC;IAC9B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,SAAS,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;IAC5C,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACzE,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,KAAK,SAAS,OAAO,EAAE,MAAM,0EAMrD,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,sBAoHhC,CAAC;AAEF,eAAO,MAAM,aAAa,4BAGvB;IACD,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3B,6BAqBA,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import '@dxos-theme';
2
+ import React from 'react';
2
3
  import { type ColumnDef } from '../../schema';
3
4
  declare const _default: {
4
5
  title: string;
5
- component: <TData extends import("@tanstack/react-table").RowData, TValue>({ column, columnOrderable, columnPosition, onColumnReorder, ...props }: import("./ColumnMenu").ColumnMenuProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
6
+ component: <TData extends import("@tanstack/react-table").RowData, TValue>({ column, columnOrderable, columnPosition, onColumnReorder, ...props }: import("./ColumnMenu").ColumnMenuProps<TData, TValue>) => React.JSX.Element;
6
7
  decorators: import("@storybook/react").Decorator[];
7
8
  };
8
9
  export default _default;
@@ -30,6 +31,6 @@ export declare const Default: {
30
31
  };
31
32
  };
32
33
  export declare const ReactiveSort: {
33
- render: () => import("react/jsx-runtime").JSX.Element;
34
+ render: () => React.JSX.Element;
34
35
  };
35
36
  //# sourceMappingURL=ColumnMenu.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnMenu.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnMenu.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAUrB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;AAE9C,wBAIE;AA2BF,eAAO,MAAM,OAAO;;;;;;2CAca,OAAO;;;;;;;;;;gBAT/B,SAAS;;;;;;CA+BjB,CAAC;AAEF,eAAO,MAAM,YAAY;;CA2CxB,CAAC"}
1
+ {"version":3,"file":"ColumnMenu.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnMenu.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;;;;;;AAE9C,wBAIE;AA2BF,eAAO,MAAM,OAAO;;;;;;2CAca,OAAO;;;;;;;;;;gBAT/B,SAAS;;;;;;CA+BjB,CAAC;AAEF,eAAO,MAAM,YAAY;;CA2CxB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { type TableDef, type ColumnDef } from '../../schema';
2
3
  export type ColumnSettingsProps = {
3
4
  column: ColumnDef;
@@ -10,5 +11,5 @@ export type ColumnSettingsProps = {
10
11
  /**
11
12
  * @deprecated
12
13
  */
13
- export declare const ColumnSettings: ({ column, tableDef, tablesToReference, onUpdate, onDelete, onClose, }: ColumnSettingsProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ColumnSettings: ({ column, tableDef, tablesToReference, onUpdate, onDelete, onClose, }: ColumnSettingsProps) => React.JSX.Element;
14
15
  //# sourceMappingURL=ColumnSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnSettings.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IAEnB,iBAAiB,EAAE,QAAQ,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,0EAOxB,mBAAmB,4CA6KrB,CAAC"}
1
+ {"version":3,"file":"ColumnSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAMhD,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IAEnB,iBAAiB,EAAE,QAAQ,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,0EAOxB,mBAAmB,sBA6KrB,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import '@dxos-theme';
2
+ import React from 'react';
2
3
  import { TypeEnum } from '@dxos/echo-schema';
3
4
  import { type ColumnSettingsProps } from './ColumnSettings';
4
5
  import { type TableDef } from '../../schema';
5
6
  declare const _default: {
6
7
  title: string;
7
- component: ({ column, tableDef, tablesToReference, onUpdate, onDelete, onClose, }: ColumnSettingsProps) => import("react/jsx-runtime").JSX.Element;
8
- render: (props: ColumnSettingsProps) => import("react/jsx-runtime").JSX.Element;
8
+ component: ({ column, tableDef, tablesToReference, onUpdate, onDelete, onClose, }: ColumnSettingsProps) => React.JSX.Element;
9
+ render: (props: ColumnSettingsProps) => React.JSX.Element;
9
10
  decorators: import("@storybook/react").Decorator[];
10
11
  parameters: {
11
12
  translations: {
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAIrB,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;oBAGhB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;AAMhD,wBAQE;AAqCF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAWxB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAY3B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAUrB,CAAC"}
1
+ {"version":3,"file":"ColumnSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/ColumnMenu/ColumnSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;;;;oBAGhB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;AAMhD,wBAQE;AAqCF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAWxB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAY3B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;CAUrB,CAAC"}
@@ -9,12 +9,12 @@ type TableRootProps = {
9
9
  type TableViewportProps = ThemedClassName<ComponentPropsWithoutRef<typeof Primitive.div>> & {
10
10
  asChild?: boolean;
11
11
  };
12
- export declare const TablePrimitive: <TData extends RowData>(props: TableProps<TData>) => import("react/jsx-runtime").JSX.Element;
13
- export declare const MemoizedVirtualizedTableContent: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const TablePrimitive: <TData extends RowData>(props: TableProps<TData>) => React.JSX.Element;
13
+ export declare const MemoizedVirtualizedTableContent: React.MemoExoticComponent<() => React.JSX.Element>;
14
14
  export declare const Table: {
15
- Root: ({ children }: TableRootProps) => import("react/jsx-runtime").JSX.Element;
16
- Viewport: ({ children, classNames, asChild, ...props }: TableViewportProps) => import("react/jsx-runtime").JSX.Element;
17
- Main: <TData extends RowData>(props: TableProps<TData>) => import("react/jsx-runtime").JSX.Element;
15
+ Root: ({ children }: TableRootProps) => React.JSX.Element;
16
+ Viewport: ({ children, classNames, asChild, ...props }: TableViewportProps) => React.JSX.Element;
17
+ Main: <TData extends RowData>(props: TableProps<TData>) => React.JSX.Element;
18
18
  };
19
19
  export {};
20
20
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/Table.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAGL,KAAK,OAAO,EAMb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAOvE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,KAAK,cAAc,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAO9C,KAAK,kBAAkB,GAAG,eAAe,CAAC,wBAAwB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAiBF,eAAO,MAAM,cAAc,GAAI,KAAK,SAAS,OAAO,SAAS,UAAU,CAAC,KAAK,CAAC,4CAwG7E,CAAC;AA2FF,eAAO,MAAM,+BAA+B,0EAAgC,CAAC;AAqC7E,eAAO,MAAM,KAAK;yBAhQe,cAAc;4DASqB,kBAAkB;WAevD,KAAK,SAAS,OAAO,SAAS,UAAU,CAAC,KAAK,CAAC;CA4O7E,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/Table.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAGL,KAAK,OAAO,EAMb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,gBAAgB,CAAC;AAOvE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,KAAK,cAAc,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAO9C,KAAK,kBAAkB,GAAG,eAAe,CAAC,wBAAwB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAiBF,eAAO,MAAM,cAAc,GAAI,KAAK,SAAS,OAAO,SAAS,UAAU,CAAC,KAAK,CAAC,sBAwG7E,CAAC;AA2FF,eAAO,MAAM,+BAA+B,oDAAgC,CAAC;AAqC7E,eAAO,MAAM,KAAK;yBAhQe,cAAc;4DASqB,kBAAkB;WAevD,KAAK,SAAS,OAAO,SAAS,UAAU,CAAC,KAAK,CAAC;CA4O7E,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import '@dxos-theme';
2
2
  import { type StoryObj } from '@storybook/react';
3
+ import React from 'react';
3
4
  import { PublicKey } from '@dxos/keys';
4
5
  import { type TableColumnDef } from '../../types';
5
6
  type Item = {
@@ -12,7 +13,7 @@ type Item = {
12
13
  };
13
14
  declare const _default: {
14
15
  title: string;
15
- component: (props: any) => import("react/jsx-runtime").JSX.Element;
16
+ component: (props: any) => React.JSX.Element;
16
17
  args: {
17
18
  header: boolean;
18
19
  keyAccessor: (item: Item) => string;
@@ -86,22 +87,22 @@ export declare const Empty: {
86
87
  };
87
88
  };
88
89
  export declare const Dynamic: {
89
- render: () => import("react/jsx-runtime").JSX.Element;
90
+ render: () => React.JSX.Element;
90
91
  };
91
92
  export declare const Editable: {
92
- render: () => import("react/jsx-runtime").JSX.Element;
93
+ render: () => React.JSX.Element;
93
94
  };
94
95
  export declare const PinnedLastRow: {
95
- render: () => import("react/jsx-runtime").JSX.Element;
96
+ render: () => React.JSX.Element;
96
97
  };
97
98
  export declare const InsertDelete: {
98
- render: () => import("react/jsx-runtime").JSX.Element;
99
+ render: () => React.JSX.Element;
99
100
  };
100
101
  export declare const Resizable: {
101
- render: () => import("react/jsx-runtime").JSX.Element;
102
+ render: () => React.JSX.Element;
102
103
  };
103
104
  export declare const TenThousandRows: {
104
- render: () => import("react/jsx-runtime").JSX.Element;
105
+ render: () => React.JSX.Element;
105
106
  };
106
107
  type StoryProps = {
107
108
  periodicMutations: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/Table.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAUvC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAKlD,KAAK,IAAI,GAAG;IACV,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;;;uBAuF2B,GAAG;;;4BAeR,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAL5B,wBAgCE;AAEF,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;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;;;;;;;;;AAL5B,wBAgCE;AAEF,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;CAMtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;CAIjB,CAAC;AAEF,eAAO,MAAM,OAAO;;CAoCnB,CAAC;AAEF,eAAO,MAAM,QAAQ;;CA6BpB,CAAC;AAEF,eAAO,MAAM,aAAa;;CA6BzB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAqDxB,CAAC;AAEF,eAAO,MAAM,SAAS;;CAwBrB,CAAC;AAEF,eAAO,MAAM,eAAe;;CA4B3B,CAAC;AAIF,KAAK,UAAU,GAAG;IAChB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAqFF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,UAAU,CAWhD,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { type Row, type RowData } from '@tanstack/react-table';
2
+ import React from 'react';
2
3
  type TableBodyProps = {
3
4
  rows: Row<RowData>[];
4
5
  };
5
6
  declare const TableBody: {
6
- ({ rows }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
7
+ ({ rows }: TableBodyProps): React.JSX.Element;
7
8
  displayName: string;
8
9
  };
9
10
  export { TableBody };
@@ -1 +1 @@
1
- {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableBody.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,GAAG,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAU3E,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,SAAS;eAAc,cAAc;;CAwD1C,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,YAAY,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableBody.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,KAAK,GAAG,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAqB,MAAM,OAAO,CAAC;AAS1C,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,SAAS;eAAc,cAAc;;CAwD1C,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -8,6 +8,6 @@ export type TypedTableProvider<TData extends RowData> = {
8
8
  }): JSX.Element;
9
9
  displayName: string;
10
10
  };
11
- export declare const TableProvider: ({ children, ...value }: PropsWithChildren<TableContextValue<RowData>>) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const TableProvider: ({ children, ...value }: PropsWithChildren<TableContextValue<RowData>>) => JSX.Element;
12
12
  export declare const useTableContext: <TData extends RowData>() => TableContextValue<TData>;
13
13
  //# sourceMappingURL=TableContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableContext.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableContext.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAc,EAIZ,KAAK,GAAG,EACR,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,UAAU,UAAU,CAAC;AAIlC,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,OAAO,IAAI;IACtD,CAAC,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IACzE,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,2BAA4B,iBAAiB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,4CAElG,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,KAAK,SAAS,OAAO,OAAK,iBAAiB,CAAC,KAAK,CAEhF,CAAC"}
1
+ {"version":3,"file":"TableContext.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableContext.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAc,EAIZ,KAAK,GAAG,EACR,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,UAAU,UAAU,CAAC;AAIlC,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,OAAO,IAAI;IACtD,CAAC,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IACzE,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,2BAA4B,iBAAiB,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,gBAElG,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,KAAK,SAAS,OAAO,OAAK,iBAAiB,CAAC,KAAK,CAEhF,CAAC"}
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  type TableHeadProps = {};
2
3
  declare const TableHead: {
3
- (_props: TableHeadProps): import("react/jsx-runtime").JSX.Element;
4
+ (_props: TableHeadProps): React.JSX.Element;
4
5
  displayName: string;
5
6
  };
6
7
  export { TableHead };
@@ -1 +1 @@
1
- {"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableHead.tsx"],"names":[],"mappings":"AAcA,KAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,QAAA,MAAM,SAAS;aAAY,cAAc;;CAuDxC,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,YAAY,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../../../../src/_deprecated/components/Table/TableHead.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,QAAA,MAAM,SAAS;aAAY,cAAc;;CAuDxC,CAAC;AAIF,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -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,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,QAAA,MAAM,QAAQ,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,4CA0HvC,CAAC"}
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;AAC3D,OAAO,KAAuC,MAAM,OAAO,CAAC;AAI5D,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,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAEpE,QAAA,MAAM,QAAQ,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,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,iBAAiB,EAIvB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,MAAM,4BAA4B,GAAG;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAE1E,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEzE,KAAK,iBAAiB,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,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,4CAUhG,CAAC"}
1
+ {"version":3,"file":"TableToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableToolbar/TableToolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,iBAAiB,EAIvB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,MAAM,4BAA4B,GAAG;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAE1E,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEzE,KAAK,iBAAiB,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,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;uBAGT,EAAE,MAAM;kBAAgB,EAAE,MAAM;qBAA6C,EAAG,QAAQ,QAC7F,EAAG,OAAO;kBACJ,EAAG,QAAQ,QACb,EAAA,MAAE;2BAGI,EAAG,QAAQ,CAAC,EAAE,MAAM;;kBAKZ,EAAG,QAAQ,CAAC,EAC9B,OAAI,CAAC,EAAE,OAAO,QAAO,EAAG,MAE1B,SAAQ,EAAG,GAAG;;;mDApCb,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,SA8D5F,CAAC"}
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;uBAGT,EAAE,MAAM;kBAAgB,EAAE,MAAM;qBAA6C,EAAG,QAAQ,QAC7F,EAAG,OAAO;kBACJ,EAAG,QAAQ,QACb,EAAA,MAAE;2BAGI,EAAG,QAAQ,CAAC,EAAE,MAAM;;sBAc1B,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM;uBAC1C,EAAG,MAAM;kBAAe,EAAG,MAAM;qBACV,EAAG,QAAQ,QAAO,EAAG,OAAO;kBACnD,EAAG,QAAQ,QAAO,EAAG,MAAM;2BAAyB,EAAG,QAC7D,CAAC,EAAE,MAAM;;kBAKT,EAAI,QAAO,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,QAAO,EAAG,MAE9C,SAAQ,EAAG,GAAG;;;mDArDd,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,SA8D5F,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;;;;cAUa,EAAG,WAClC;eAGmK,EAAG,MAAM;gBAAmI,EAAG,QAAQ,CAAC,EAAE,MAAM;gBAAgJ,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM;uBAAqB,EAAG,MAAM;kBAAe,EAAG,MAAM;qBAA6C,EAAG,QAAQ,QAAO,EAAG,OAAO;kBAAgB,EAAG,QAAQ,QAAO,EAAG,MAAM;2BAAyB,EAAG,QAAQ,CAAC,EAAE,MAAM;;kBAA+G,EAAG,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,QAAO,EAAG,MAAM,SAAQ,EAAG,GAAG;;;EARh4B,CAAC;;;;;cAIkC,EAAG,WAClC;eAGmK,EAAG,MAAM;gBAAmI,EAAG,QAAQ,CAAC,EAAE,MAAM;gBAAgJ,EAAG,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM;uBAAqB,EAAG,MAAM;kBAAe,EAAG,MAAM;qBAA6C,EAAG,QAAQ,QAAO,EAAG,OAAO;kBAAgB,EAAG,QAAQ,QAAO,EAAG,MAAM;2BAAyB,EAAG,QAAQ,CAAC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AM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM;uBAAqB,EAAG,MAAM;kBAAe,EAAG,MAAM;qBAA6C,EAAG,QAAQ,QAAO,EAAG,OAAO;kBAAgB,EAAG,QAAQ,QAAO,EAAG,MAAM;2BAAyB,EAAG,QAAQ,CAAC,EAAE,MAAM;;kBAAgH,EAAG,QAAQ,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,QAAO,EAAG,MAAM,SAAQ,EAAG,GAAG;;;;AAJp5C,qBAAa,SAAU,SAAQ,cAGT;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-table",
3
- "version": "0.8.0",
3
+ "version": "0.8.1-main.303c73a",
4
4
  "description": "A table component.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -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.0",
58
- "@dxos/echo-schema": "0.8.0",
59
- "@dxos/debug": "0.8.0",
60
- "@dxos/invariant": "0.8.0",
61
- "@dxos/lit-grid": "0.8.0",
62
- "@dxos/keys": "0.8.0",
63
- "@dxos/log": "0.8.0",
64
- "@dxos/live-object": "0.8.0",
65
- "@dxos/plugin-search": "0.8.0",
66
- "@dxos/plugin-space": "0.8.0",
67
- "@dxos/react-client": "0.8.0",
68
- "@dxos/react-ui-attention": "0.8.0",
69
- "@dxos/react-ui-form": "0.8.0",
70
- "@dxos/react-ui-grid": "0.8.0",
71
- "@dxos/react-ui-searchlist": "0.8.0",
72
- "@dxos/react-ui-stack": "0.8.0",
73
- "@dxos/react-ui-syntax-highlighter": "0.8.0",
74
- "@dxos/react-ui-menu": "0.8.0",
75
- "@dxos/react-ui-types": "0.8.0",
76
- "@dxos/schema": "0.8.0",
77
- "@dxos/util": "0.8.0"
57
+ "@dxos/debug": "0.8.1-main.303c73a",
58
+ "@dxos/echo-schema": "0.8.1-main.303c73a",
59
+ "@dxos/context": "0.8.1-main.303c73a",
60
+ "@dxos/invariant": "0.8.1-main.303c73a",
61
+ "@dxos/lit-grid": "0.8.1-main.303c73a",
62
+ "@dxos/live-object": "0.8.1-main.303c73a",
63
+ "@dxos/log": "0.8.1-main.303c73a",
64
+ "@dxos/keys": "0.8.1-main.303c73a",
65
+ "@dxos/plugin-search": "0.8.1-main.303c73a",
66
+ "@dxos/plugin-space": "0.8.1-main.303c73a",
67
+ "@dxos/react-client": "0.8.1-main.303c73a",
68
+ "@dxos/react-ui-attention": "0.8.1-main.303c73a",
69
+ "@dxos/react-ui-grid": "0.8.1-main.303c73a",
70
+ "@dxos/react-ui-form": "0.8.1-main.303c73a",
71
+ "@dxos/react-ui-menu": "0.8.1-main.303c73a",
72
+ "@dxos/react-ui-searchlist": "0.8.1-main.303c73a",
73
+ "@dxos/react-ui-syntax-highlighter": "0.8.1-main.303c73a",
74
+ "@dxos/react-ui-types": "0.8.1-main.303c73a",
75
+ "@dxos/schema": "0.8.1-main.303c73a",
76
+ "@dxos/react-ui-stack": "0.8.1-main.303c73a",
77
+ "@dxos/util": "0.8.1-main.303c73a"
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.0",
89
- "@dxos/random": "0.8.0",
90
- "@dxos/react-ui": "0.8.0",
91
- "@dxos/react-ui-theme": "0.8.0",
92
- "@dxos/storybook-utils": "0.8.0",
93
- "@dxos/test-utils": "0.8.0"
88
+ "@dxos/react-ui-theme": "0.8.1-main.303c73a",
89
+ "@dxos/random": "0.8.1-main.303c73a",
90
+ "@dxos/echo-signals": "0.8.1-main.303c73a",
91
+ "@dxos/react-ui": "0.8.1-main.303c73a",
92
+ "@dxos/storybook-utils": "0.8.1-main.303c73a",
93
+ "@dxos/test-utils": "0.8.1-main.303c73a"
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.0",
100
- "@dxos/react-ui-theme": "0.8.0"
99
+ "@dxos/react-ui": "0.8.1-main.303c73a",
100
+ "@dxos/react-ui-theme": "0.8.1-main.303c73a"
101
101
  },
102
102
  "publishConfig": {
103
103
  "access": "public"
@@ -4,7 +4,7 @@
4
4
 
5
5
  import '@dxos-theme';
6
6
 
7
- import { Arbitrary } from '@effect/schema';
7
+ import { Arbitrary } from 'effect';
8
8
  import * as fc from 'fast-check';
9
9
  import React from 'react';
10
10