@dxos/plugin-stack 0.14.0 → 0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a

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 (34) hide show
  1. package/dist/lib/Stack.mjs +1 -10
  2. package/dist/lib/StackEvents.mjs +1 -15
  3. package/dist/lib/StackPlugin.mjs +1 -16
  4. package/dist/lib/capabilities.browser.mjs +1 -2
  5. package/dist/lib/capabilities.browser.mjs.map +1 -1
  6. package/dist/lib/capabilities.mjs +1 -2
  7. package/dist/lib/capabilities.mjs.map +1 -1
  8. package/dist/lib/capabilities.tauri.mjs +1 -2
  9. package/dist/lib/capabilities.tauri.mjs.map +1 -1
  10. package/dist/lib/chunk-PLUGIN.mjs +1 -1
  11. package/dist/lib/chunk-Stack.mjs +10 -0
  12. package/dist/lib/chunk-Stack.mjs.map +1 -0
  13. package/dist/lib/chunk-StackEvents.mjs +15 -0
  14. package/dist/lib/chunk-StackEvents.mjs.map +1 -0
  15. package/dist/lib/chunk-StackPlugin.mjs +16 -0
  16. package/dist/lib/chunk-StackPlugin.mjs.map +1 -0
  17. package/dist/lib/components.mjs +2 -1
  18. package/dist/lib/components.mjs.map +1 -1
  19. package/dist/lib/index.mjs +1 -2
  20. package/dist/lib/meta.mjs.map +1 -1
  21. package/dist/lib/types.mjs +2 -2
  22. package/dist/types/src/capabilities/gen/browser.d.ts.map +1 -1
  23. package/dist/types/src/capabilities/gen/tauri.d.ts.map +1 -1
  24. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  25. package/dist/types/src/components/Stack/Stack.d.ts.map +1 -1
  26. package/dist/types/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +28 -28
  28. package/src/capabilities/gen/browser.ts +1 -3
  29. package/src/capabilities/gen/tauri.ts +1 -3
  30. package/src/capabilities/index.ts +1 -4
  31. package/src/components/Stack/Stack.tsx +2 -1
  32. package/dist/lib/Stack.mjs.map +0 -1
  33. package/dist/lib/StackEvents.mjs.map +0 -1
  34. package/dist/lib/StackPlugin.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-stack",
3
- "version": "0.14.0",
3
+ "version": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
4
4
  "description": "DXOS Surface plugin for Stack entities",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -104,18 +104,19 @@
104
104
  "PLUGIN.mdl"
105
105
  ],
106
106
  "dependencies": {
107
- "@effect/atom-react": "4.0.0",
108
- "effect": "4.0.0",
109
- "@dxos/app-framework": "0.14.0",
110
- "@dxos/app-toolkit": "0.14.0",
111
- "@dxos/keys": "0.14.0",
112
- "@dxos/echo": "0.14.0",
113
- "@dxos/plugin-space": "0.14.0",
114
- "@dxos/react-ui-attention": "0.14.0",
115
- "@dxos/react-ui-dnd": "0.14.0",
116
- "@dxos/react-ui-menu": "0.14.0",
117
- "@dxos/react-ui-mosaic": "0.14.0",
118
- "@dxos/util": "0.14.0"
107
+ "@effect/atom-react": "4.0.4",
108
+ "effect": "4.0.4",
109
+ "@dxos/app-toolkit": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
110
+ "@dxos/app-framework": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
111
+ "@dxos/echo": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
112
+ "@dxos/keys": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
113
+ "@dxos/echo-react": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
114
+ "@dxos/react-ui-attention": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
115
+ "@dxos/plugin-space": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
116
+ "@dxos/react-ui-dnd": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
117
+ "@dxos/react-ui-menu": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
118
+ "@dxos/react-ui-mosaic": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
119
+ "@dxos/util": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a"
119
120
  },
120
121
  "devDependencies": {
121
122
  "@storybook/react-vite": "^10.6.0",
@@ -123,25 +124,24 @@
123
124
  "@types/react-dom": "~19.2.3",
124
125
  "react": "~19.2.7",
125
126
  "react-dom": "~19.2.7",
126
- "vite": "^8.2.2",
127
- "@dxos/echo-react": "0.14.0",
128
- "@dxos/plugin-client": "0.14.0",
129
- "@dxos/plugin-markdown": "0.14.0",
130
- "@dxos/plugin-testing": "0.14.0",
131
- "@dxos/plugin-tldraw": "0.14.0",
132
- "@dxos/react-client": "0.14.0",
133
- "@dxos/react-ui": "0.14.0",
134
- "@dxos/ui-theme": "0.14.0",
135
- "@dxos/random": "0.14.0",
136
- "@dxos/plugin-illustrator": "0.14.0"
127
+ "vite": "^8.3.4",
128
+ "@dxos/plugin-client": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
129
+ "@dxos/plugin-markdown": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
130
+ "@dxos/plugin-testing": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
131
+ "@dxos/plugin-illustrator": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
132
+ "@dxos/random": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
133
+ "@dxos/plugin-tldraw": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
134
+ "@dxos/react-client": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
135
+ "@dxos/react-ui": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
136
+ "@dxos/ui-theme": "0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a"
137
137
  },
138
138
  "peerDependencies": {
139
- "@effect/atom-react": "4.0.0",
140
- "effect": "4.0.0",
139
+ "@effect/atom-react": "4.0.4",
140
+ "effect": "4.0.4",
141
141
  "react": "~19.2.7",
142
142
  "react-dom": "~19.2.7",
143
- "@dxos/react-ui": "^0.14.0",
144
- "@dxos/ui-theme": "^0.14.0"
143
+ "@dxos/react-ui": "^0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a",
144
+ "@dxos/ui-theme": "^0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a"
145
145
  },
146
146
  "publishConfig": {
147
147
  "access": "public"
@@ -9,12 +9,10 @@ import * as AppCapability from '@dxos/app-toolkit/AppCapability';
9
9
  import { meta } from '#meta';
10
10
  import { translations } from '#translations';
11
11
 
12
- import pluginSpec from '../../../PLUGIN.mdl?raw';
13
-
14
12
  export const PluginAsset = AppCapability.pluginAsset({
15
13
  pluginId: meta.profile.key,
16
14
  path: 'PLUGIN.mdl',
17
- content: pluginSpec,
15
+ content: () => import('../../../PLUGIN.mdl?raw'),
18
16
  mimeType: 'application/x-mdl',
19
17
  });
20
18
 
@@ -9,12 +9,10 @@ import * as AppCapability from '@dxos/app-toolkit/AppCapability';
9
9
  import { meta } from '#meta';
10
10
  import { translations } from '#translations';
11
11
 
12
- import pluginSpec from '../../../PLUGIN.mdl?raw';
13
-
14
12
  export const PluginAsset = AppCapability.pluginAsset({
15
13
  pluginId: meta.profile.key,
16
14
  path: 'PLUGIN.mdl',
17
- content: pluginSpec,
15
+ content: () => import('../../../PLUGIN.mdl?raw'),
18
16
  mimeType: 'application/x-mdl',
19
17
  });
20
18
 
@@ -7,13 +7,10 @@ import * as AppCapability from '@dxos/app-toolkit/AppCapability';
7
7
  import { meta } from '#meta';
8
8
  import { translations } from '#translations';
9
9
 
10
- // eslint-disable-next-line import/no-relative-packages
11
- import pluginSpec from '../../PLUGIN.mdl?raw';
12
-
13
10
  export const PluginAsset = AppCapability.pluginAsset({
14
11
  pluginId: meta.profile.key,
15
12
  path: 'PLUGIN.mdl',
16
- content: pluginSpec,
13
+ content: () => import('../../PLUGIN.mdl?raw'),
17
14
  mimeType: 'application/x-mdl',
18
15
  });
19
16
  export const ReactSurface = AppCapability.surface(() => import('./react-surface.ts'), {
@@ -17,6 +17,7 @@ import * as AppSurface from '@dxos/app-toolkit/AppSurface';
17
17
  import * as AttentionSigil from '@dxos/app-toolkit/AttentionSigil';
18
18
  import * as GraphPath from '@dxos/app-toolkit/GraphPath';
19
19
  import { Obj } from '@dxos/echo';
20
+ import { useLabel } from '@dxos/echo-react';
20
21
  import { useAttentionAttributes } from '@dxos/react-ui-attention';
21
22
  import { type DndContainerHandler } from '@dxos/react-ui-dnd';
22
23
  import { Mosaic, type MosaicTileProps } from '@dxos/react-ui-mosaic';
@@ -199,7 +200,7 @@ const StackSection = ({ data, ...tileProps }: StackSectionProps) => {
199
200
  const surfaceData = useMemo(() => ({ attendableId, subject: object }), [object, attendableId]);
200
201
  const isCollapsed = collapsed.has(id);
201
202
  const icon = Obj.getIcon(object)?.icon ?? 'ph--circle-dashed--regular';
202
- const title = Obj.getLabel(object, { fallback: 'typename' }) ?? t('untitled-section.title');
203
+ const title = useLabel(object, { fallback: 'typename' }) ?? t('untitled-section.title');
203
204
 
204
205
  const rail = (
205
206
  <Layout.Grid rows={['min', 'fill']}>
@@ -1 +0,0 @@
1
- {"version":3,"file":"Stack.mjs","names":[],"sources":["../../src/types/Stack.ts"],"sourcesContent":["//\n// Copyright 2024 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as Schema from 'effect/Schema';\n\nimport { DXN, Type } from '@dxos/echo';\n\n// TODO(burdon): Placeholder.\nexport class Stack extends Type.makeObject<Stack>(DXN.make('org.dxos.type.stack', '0.1.0'))(Schema.Struct({})) {}\n"],"mappings":";;;;;AAWA,IAAa,QAAb,cAA2B,KAAK,WAAkB,IAAI,KAAK,uBAAuB,OAAO,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StackEvents.mjs","names":[],"sources":["../../src/types/StackEvents.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as ActivationEvent from '@dxos/app-framework/ActivationEvent';\n\nimport { meta } from '#meta';\n\n/**\n * The feature's start event: the plugin's start-gated modules (and cross-plugin\n * contributions consumed by this feature) activate here. Fired on demand and by the\n * host's idle trickle.\n */\nexport const Start = ActivationEvent.pluginStart(meta.profile.key);\n"],"mappings":";;;;;;;;;;AAeA,IAAa,QAAQ,gBAAgB,YAAY,KAAK,QAAQ,GAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StackPlugin.mjs","names":[],"sources":["../../src/StackPlugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\n// @import-as-namespace\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport { meta as pluginMeta } from '#meta';\n\n/** Plugin metadata, available without loading the plugin body. */\nexport const meta = pluginMeta;\n\n/** Constructs the plugin; the body loads on first enable. */\nexport const make = Plugin.lazy(meta, () => import('#plugin'));\n"],"mappings":";;;;;;;;;AAWA,IAAa,OAAO;;AAGpB,IAAa,OAAO,OAAO,KAAK,YAAY,OAAO,UAAU"}