@dxos/plugin-navtree 0.8.3 → 0.8.4-main.1da679c

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 (92) hide show
  1. package/dist/lib/browser/{app-graph-builder-P7AY3K72.mjs → app-graph-builder-DU57YHO5.mjs} +7 -7
  2. package/dist/lib/browser/{app-graph-builder-P7AY3K72.mjs.map → app-graph-builder-DU57YHO5.mjs.map} +3 -3
  3. package/dist/lib/browser/{chunk-ZJPL4XJD.mjs → chunk-EMIN6D7Q.mjs} +233 -193
  4. package/dist/lib/browser/chunk-EMIN6D7Q.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-IEW3JD5C.mjs → chunk-ERDGQTH5.mjs} +2 -2
  6. package/dist/lib/browser/{chunk-33VLL4IJ.mjs → chunk-WCARAZ7J.mjs} +3 -3
  7. package/dist/lib/browser/index.mjs +13 -14
  8. package/dist/lib/browser/index.mjs.map +3 -3
  9. package/dist/lib/browser/{intent-resolver-NAYKKAOP.mjs → intent-resolver-RPZ5O7AJ.mjs} +8 -8
  10. package/dist/lib/browser/{intent-resolver-NAYKKAOP.mjs.map → intent-resolver-RPZ5O7AJ.mjs.map} +3 -3
  11. package/dist/lib/browser/{keyboard-DDFATRUG.mjs → keyboard-R2APW7UM.mjs} +5 -5
  12. package/dist/lib/browser/{keyboard-DDFATRUG.mjs.map → keyboard-R2APW7UM.mjs.map} +2 -2
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/{react-surface-H3JRTVNU.mjs → react-surface-DF7FNA34.mjs} +7 -7
  15. package/dist/lib/browser/{react-surface-H3JRTVNU.mjs.map → react-surface-DF7FNA34.mjs.map} +2 -2
  16. package/dist/lib/browser/{state-J6AKZRB4.mjs → state-W5JDWIJL.mjs} +6 -6
  17. package/dist/lib/browser/state-W5JDWIJL.mjs.map +7 -0
  18. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  19. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  20. package/dist/types/src/capabilities/index.d.ts +6 -6
  21. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
  23. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  24. package/dist/types/src/capabilities/keyboard.d.ts +1 -1
  25. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  26. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  27. package/dist/types/src/capabilities/state.d.ts +2 -2
  28. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  29. package/dist/types/src/components/CommandsDialog/CommandsTrigger.d.ts.map +1 -1
  30. package/dist/types/src/components/NavTree/NavTree.d.ts +2 -2
  31. package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -1
  32. package/dist/types/src/components/NavTree/NavTree.stories.d.ts +25 -2
  33. package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
  34. package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
  35. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +32 -3
  36. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -1
  37. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts +1 -1
  38. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts.map +1 -1
  39. package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
  40. package/dist/types/src/components/Sidebar/L1Panel.d.ts +5 -6
  41. package/dist/types/src/components/Sidebar/L1Panel.d.ts.map +1 -1
  42. package/dist/types/src/components/Sidebar/L1Tabs.d.ts +12 -0
  43. package/dist/types/src/components/Sidebar/L1Tabs.d.ts.map +1 -0
  44. package/dist/types/src/components/Sidebar/index.d.ts +1 -0
  45. package/dist/types/src/components/Sidebar/index.d.ts.map +1 -1
  46. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts +8 -4
  47. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -1
  48. package/dist/types/src/components/index.d.ts +1 -1
  49. package/dist/types/src/components/index.d.ts.map +1 -1
  50. package/dist/types/src/components/types.d.ts +2 -2
  51. package/dist/types/src/components/types.d.ts.map +1 -1
  52. package/dist/types/src/experimental/Tree.d.ts +5 -5
  53. package/dist/types/src/experimental/Tree.d.ts.map +1 -1
  54. package/dist/types/src/experimental/Tree.stories.d.ts +6 -2
  55. package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
  56. package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -1
  57. package/dist/types/src/translations.d.ts +14 -13
  58. package/dist/types/src/translations.d.ts.map +1 -1
  59. package/dist/types/src/util.d.ts +1 -2
  60. package/dist/types/src/util.d.ts.map +1 -1
  61. package/dist/types/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +42 -43
  63. package/src/NavTreePlugin.tsx +6 -6
  64. package/src/capabilities/app-graph-builder.ts +2 -2
  65. package/src/capabilities/intent-resolver.ts +1 -1
  66. package/src/capabilities/keyboard.ts +2 -2
  67. package/src/capabilities/react-surface.tsx +1 -1
  68. package/src/capabilities/state.ts +3 -2
  69. package/src/components/CommandsDialog/CommandsDialog.tsx +2 -2
  70. package/src/components/CommandsDialog/CommandsTrigger.tsx +3 -5
  71. package/src/components/NavTree/NavTree.stories.tsx +6 -6
  72. package/src/components/NavTree/NavTree.tsx +3 -3
  73. package/src/components/NavTreeContainer.tsx +42 -17
  74. package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +3 -3
  75. package/src/components/NavTreeItem/NavTreeItemAction.tsx +6 -6
  76. package/src/components/NavTreeItem/NavTreeItemColumns.tsx +7 -7
  77. package/src/components/Sidebar/L0Menu.tsx +2 -2
  78. package/src/components/Sidebar/L1Panel.tsx +70 -93
  79. package/src/components/Sidebar/L1Tabs.tsx +58 -0
  80. package/src/components/Sidebar/index.ts +1 -0
  81. package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +6 -4
  82. package/src/components/index.ts +1 -1
  83. package/src/components/types.ts +3 -2
  84. package/src/experimental/Tree.stories.tsx +13 -11
  85. package/src/experimental/Tree.tsx +15 -16
  86. package/src/testing/app-graph-builder.ts +1 -1
  87. package/src/translations.ts +7 -4
  88. package/src/util.ts +2 -20
  89. package/dist/lib/browser/chunk-ZJPL4XJD.mjs.map +0 -7
  90. package/dist/lib/browser/state-J6AKZRB4.mjs.map +0 -7
  91. /package/dist/lib/browser/{chunk-IEW3JD5C.mjs.map → chunk-ERDGQTH5.mjs.map} +0 -0
  92. /package/dist/lib/browser/{chunk-33VLL4IJ.mjs.map → chunk-WCARAZ7J.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAU9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,kBAAkB,4DAAiD,uBAAuB,uBAwDrG,CAAC"}
1
+ {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAS9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAIxD,eAAO,MAAM,kBAAkB,4DAAiD,uBAAuB,uBAuDrG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA0RhF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA2F7G,CAAC"}
1
+ {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AA0RhF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA2F7G,CAAC"}
@@ -2,14 +2,13 @@ import React from 'react';
2
2
  import { type Node } from '@dxos/app-graph';
3
3
  export type L1PanelProps = {
4
4
  open?: boolean;
5
- item: Node<any>;
6
5
  path: string[];
6
+ item: Node<any>;
7
7
  currentItemId: string;
8
8
  onBack?: () => void;
9
9
  };
10
- export type L1PanelsProps = Pick<L1PanelProps, 'open' | 'currentItemId' | 'onBack'> & {
11
- topLevelItems: Node<any>[];
12
- path: string[];
13
- };
14
- export declare const L1Panels: ({ topLevelItems, onBack, ...props }: L1PanelsProps) => React.JSX.Element;
10
+ /**
11
+ * Space or settings panel.
12
+ */
13
+ export declare const L1Panel: ({ open, path, item, currentItemId, onBack }: L1PanelProps) => React.JSX.Element;
15
14
  //# sourceMappingURL=L1Panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AA2B5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAkHF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,CAAC,GAAG;IACpF,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qCAAqC,aAAa,sBAgB1E,CAAC"}
1
+ {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,6CAA6C,YAAY,sBAiEhF,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { type Node } from '@dxos/app-graph';
3
+ import { type L1PanelProps } from './L1Panel';
4
+ export type L1TabsProps = Pick<L1PanelProps, 'open' | 'currentItemId' | 'onBack'> & {
5
+ path: string[];
6
+ topLevelItems: Node<any>[];
7
+ };
8
+ /**
9
+ * Each space is an L1 tab.
10
+ */
11
+ export declare const L1Tabs: ({ topLevelItems, onBack, ...props }: L1TabsProps) => React.JSX.Element;
12
+ //# sourceMappingURL=L1Tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"L1Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAM5C,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,CAAC,GAAG;IAClF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,qCAAqC,WAAW,sBAgBtE,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './L0Menu';
2
2
  export * from './L1Panel';
3
+ export * from './L1Tabs';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
@@ -1,7 +1,11 @@
1
1
  import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
- import { UserAccountAvatar } from './UserAccountAvatar';
4
- declare const meta: Meta<typeof UserAccountAvatar>;
2
+ import { type StoryObj } from '@storybook/react-vite';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ size, userId, hue, emoji, status }: import("./UserAccountAvatar").UserAccountAvatarProps) => import("react").JSX.Element;
6
+ decorators: import("@storybook/react").Decorator[];
7
+ };
5
8
  export default meta;
6
- export declare const Default: {};
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const Default: Story;
7
11
  //# sourceMappingURL=UserAccountAvatar.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAIxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;CAIgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -3,5 +3,5 @@ export * from './NavTree';
3
3
  export * from './NavTreeContainer';
4
4
  export * from './NavTreeContext';
5
5
  export * from './NavTreeDocumentTitle';
6
- export * from './types';
6
+ export type * from './types';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,mBAAmB,SAAS,CAAC"}
@@ -3,8 +3,8 @@ import type { Node } from '@dxos/app-graph';
3
3
  import type { Density } from '@dxos/react-ui';
4
4
  import type { TreeProps } from '@dxos/react-ui-list';
5
5
  import type { MaybePromise } from '@dxos/util';
6
- import type { L1PanelProps } from './Sidebar';
7
6
  import type { FlattenedActions, NavTreeItemGraphNode } from '../types';
7
+ import type { L1PanelProps } from './Sidebar';
8
8
  export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode, {
9
9
  disposition?: string;
10
10
  sort?: boolean;
@@ -16,7 +16,7 @@ export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode, {
16
16
  node: Node;
17
17
  open: boolean;
18
18
  }>;
19
- getActions: (node: Node) => FlattenedActions;
19
+ useActions: (node: Node) => FlattenedActions;
20
20
  loadDescendents?: (node: Node) => MaybePromise<void>;
21
21
  isAlternateTree?: (path: string[], item: NavTreeItemGraphNode) => boolean;
22
22
  setAlternateTree?: (path: string[], open: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,SAAS,CAAC,oBAAoB,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,EACzE,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,CAC3F,GACC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAClD,UAAU,EAAE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AAU,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,CAC3F,GACC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAClD,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,gBAAgB,CAAC;IAC7C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;IACrD,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;IAC1E,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACpD,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -1,15 +1,15 @@
1
- import { type Icon, type IconProps } from '@phosphor-icons/react';
2
1
  import React, { type HTMLAttributes, type PropsWithChildren } from 'react';
3
2
  import { type ClassNameValue, type Size } from '@dxos/react-ui';
4
- export declare const IconButton: ({ Icon, classNames, size, onClick, ...props }: {
5
- Icon: Icon;
3
+ export declare const IconButton: ({ iconName, classNames, size, onClick, weight, }: {
4
+ iconName: string;
6
5
  classNames?: ClassNameValue;
7
6
  size?: Size;
8
- } & Pick<IconProps, "weight"> & Pick<HTMLAttributes<HTMLDivElement>, "onClick">) => React.JSX.Element;
7
+ weight?: "regular" | "duotone" | "fill";
8
+ } & Pick<HTMLAttributes<HTMLDivElement>, "onClick">) => React.JSX.Element;
9
9
  export type TreeNodeData = {
10
10
  id: string;
11
11
  title: string;
12
- Icon?: Icon;
12
+ iconName?: string;
13
13
  color?: string;
14
14
  children?: TreeNodeData[];
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../src/experimental/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAoC,KAAK,IAAI,EAAE,KAAK,SAAS,EAAoB,MAAM,uBAAuB,CAAC;AACtH,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAShE,eAAO,MAAM,UAAU,GAAI,+CAMxB;IACD,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,GAC3B,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC,sBAOhD,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAiB,OAAO,CAAC,I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AM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD,CAAC;AAiFF,eAAO,MAAM,KAAK,GAAI,qBAAqB,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,sBAIrE,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,yBAGlB,iBAAiB,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,cAAc,CAAC,cAAc,CAAC,sBAG5E,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,sBA2BxE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,YAAY,EAAE,CAAA;CAAE,sBAgB7E,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,yBAG5B,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,sBAapE,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,aAAa,CAAC;AAEnF,eAAO,MAAM,IAAI,GAAI,mCAAmC,SAAS,sBAchE,CAAC"}
@@ -1,8 +1,12 @@
1
1
  import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
2
  import { type JSX } from 'react';
3
+ import { type TreeProps } from './Tree';
4
4
  export declare const Default: () => JSX.Element;
5
5
  export declare const Visitor: () => JSX.Element;
6
- declare const meta: Meta;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ className, showRoot, ...props }: TreeProps) => JSX.Element;
9
+ decorators: import("@storybook/react").Decorator[];
10
+ };
7
11
  export default meta;
8
12
  //# sourceMappingURL=Tree.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../src/experimental/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAc,EAAE,KAAK,GAAG,EAA+C,MAAM,OAAO,CAAC;AAmGrF,eAAO,MAAM,OAAO,mBAEnB,CAAC;AAEF,eAAO,MAAM,OAAO,mBAenB,CAAC;AAmGF,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../src/experimental/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAc,EAAE,KAAK,GAAG,EAA+C,MAAM,OAAO,CAAC;AAOrF,OAAO,EAAyC,KAAK,SAAS,EAAuB,MAAM,QAAQ,CAAC;AA6FpG,eAAO,MAAM,OAAO,mBAEnB,CAAC;AAEF,eAAO,MAAM,OAAO,mBAenB,CAAC;AAmGF,QAAA,MAAM,IAAI;;;;CAImB,CAAC;AAE9B,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/testing/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGtF,eAAO,MAAM,sBAAsB,GAAI,SAAS,aAAa,KAAG,iBAiQ/D,CAAC"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/testing/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,KAAK,iBAAiB,EAA4B,MAAM,oBAAoB,CAAC;AAGtF,eAAO,MAAM,sBAAsB,GAAI,SAAS,aAAa,KAAG,iBAiQ/D,CAAC"}
@@ -1,16 +1,17 @@
1
- declare const _default: {
2
- 'en-US': {
3
- "dxos.org/plugin/navtree": {
4
- 'app menu label': string;
5
- 'open settings label': string;
6
- 'open commands label': string;
7
- 'commands dialog title': string;
8
- 'command list input placeholder': string;
9
- 'node actions menu invoker label': string;
10
- 'tree item actions label': string;
11
- 'empty branch message': string;
1
+ import { meta } from './meta';
2
+ export declare const translations: [{
3
+ readonly 'en-US': {
4
+ readonly [meta.id]: {
5
+ readonly 'app menu label': "App menu";
6
+ readonly 'open settings label': "Settings";
7
+ readonly 'open commands label': "Search commands";
8
+ readonly 'commands dialog title': "Commands";
9
+ readonly 'command list input placeholder': "Search for commands…";
10
+ readonly 'node actions menu invoker label': "More options";
11
+ readonly 'tree item actions label': "More actions";
12
+ readonly 'empty branch message': " ";
13
+ readonly 'button back': "Back to Space";
12
14
  };
13
15
  };
14
- }[];
15
- export default _default;
16
+ }];
16
17
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA,wBAeE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;UAUR;;EAGwB,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { type Action, type Node, type ReadableGraph } from '@dxos/app-graph';
2
- import { type FlattenedActions, type NavTreeItemGraphNode } from './types';
2
+ import { type NavTreeItemGraphNode } from './types';
3
3
  export declare const getParent: (graph: ReadableGraph, node: NavTreeItemGraphNode, path: string[]) => NavTreeItemGraphNode | undefined;
4
4
  export declare const getPersistenceParent: (graph: ReadableGraph, node: NavTreeItemGraphNode, path: string[], persistenceClass: string) => NavTreeItemGraphNode | null;
5
5
  export declare const resolveMigrationOperation: (graph: ReadableGraph, activeNode: NavTreeItemGraphNode, destinationPath: string[], destinationRelatedNode?: NavTreeItemGraphNode) => "transfer" | "copy" | "reject";
6
6
  export declare const sortActions: (actions: Action[]) => Action[];
7
7
  export declare const getChildren: (graph: ReadableGraph, node: NavTreeItemGraphNode, path?: readonly string[]) => NavTreeItemGraphNode[];
8
- export declare const getActions: (graph: ReadableGraph, node: Node) => FlattenedActions;
9
8
  export declare const l0ItemType: (item: Node<any>) => "link" | "tab" | "collection" | "action";
10
9
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,KAAK,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAGrG,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE3E,eAAO,MAAM,SAAS,GACpB,OAAO,aAAa,EACpB,MAAM,oBAAoB,EAC1B,MAAM,MAAM,EAAE,KACb,oBAAoB,GAAG,SAGzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,aAAa,EACpB,MAAM,oBAAoB,EAC1B,MAAM,MAAM,EAAE,EACd,kBAAkB,MAAM,KACvB,oBAAoB,GAAG,IAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,OAAO,aAAa,EACpB,YAAY,oBAAoB,EAChC,iBAAiB,MAAM,EAAE,EACzB,yBAAyB,oBAAoB,KAC5C,UAAU,GAAG,MAAM,GAAG,QAsBxB,CAAC;AAGF,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,EAAE,KAAG,MAAM,EAWlD,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