@dxos/plugin-deck 0.8.3-main.672df60 → 0.8.3-staging.0fa589b

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/browser/{app-graph-builder-M5BT34YG.mjs → app-graph-builder-YCO7Y54J.mjs} +2 -2
  2. package/dist/lib/browser/{app-graph-builder-M5BT34YG.mjs.map → app-graph-builder-YCO7Y54J.mjs.map} +1 -1
  3. package/dist/lib/browser/{chunk-KRDA6PUM.mjs → chunk-RAZK4XT5.mjs} +6 -6
  4. package/dist/lib/browser/{chunk-LWXMANOA.mjs → chunk-RMCRP7HV.mjs} +27 -20
  5. package/dist/lib/browser/chunk-RMCRP7HV.mjs.map +7 -0
  6. package/dist/lib/browser/index.mjs +1 -1
  7. package/dist/lib/browser/{intent-resolver-3GAC57UA.mjs → intent-resolver-EGLWTKJG.mjs} +4 -4
  8. package/dist/lib/browser/intent-resolver-EGLWTKJG.mjs.map +7 -0
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/{react-root-DF3IUPSE.mjs → react-root-C4HIM5CI.mjs} +3 -3
  11. package/dist/lib/browser/{react-surface-T6YWQ6CS.mjs → react-surface-RV2AZ6WZ.mjs} +3 -3
  12. package/dist/lib/browser/{settings-X7GDEXU3.mjs → settings-7VUU3ZJ4.mjs} +3 -3
  13. package/dist/lib/browser/settings-7VUU3ZJ4.mjs.map +7 -0
  14. package/dist/types/src/capabilities/capabilities.d.ts +10 -0
  15. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  16. package/dist/types/src/capabilities/state.d.ts +5 -0
  17. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  18. package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
  19. package/dist/types/src/types.d.ts +5 -0
  20. package/dist/types/src/types.d.ts.map +1 -1
  21. package/package.json +30 -30
  22. package/src/capabilities/app-graph-builder.ts +1 -1
  23. package/src/capabilities/intent-resolver.ts +3 -3
  24. package/src/capabilities/settings.ts +2 -2
  25. package/src/components/DeckLayout/Fallback.tsx +1 -1
  26. package/src/components/Plank/Plank.tsx +1 -1
  27. package/src/components/Plank/PlankError.tsx +1 -1
  28. package/src/components/Plank/PlankHeading.tsx +12 -6
  29. package/dist/lib/browser/chunk-LWXMANOA.mjs.map +0 -7
  30. package/dist/lib/browser/intent-resolver-3GAC57UA.mjs.map +0 -7
  31. package/dist/lib/browser/settings-X7GDEXU3.mjs.map +0 -7
  32. /package/dist/lib/browser/{chunk-KRDA6PUM.mjs.map → chunk-RAZK4XT5.mjs.map} +0 -0
  33. /package/dist/lib/browser/{react-root-DF3IUPSE.mjs.map → react-root-C4HIM5CI.mjs.map} +0 -0
  34. /package/dist/lib/browser/{react-surface-T6YWQ6CS.mjs.map → react-surface-RV2AZ6WZ.mjs.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  DeckSettingsSchema
3
3
  } from "./chunk-YN5OZEGS.mjs";
4
4
  import {
5
- DECK_PLUGIN
5
+ meta
6
6
  } from "./chunk-NSATFAEE.mjs";
7
7
 
8
8
  // packages/plugins/plugin-deck/src/capabilities/settings.ts
@@ -18,12 +18,12 @@ var settings_default = () => {
18
18
  overscroll: "none"
19
19
  });
20
20
  return contributes(Capabilities.Settings, {
21
+ prefix: meta.id,
21
22
  schema: DeckSettingsSchema,
22
- prefix: DECK_PLUGIN,
23
23
  value: settings
24
24
  });
25
25
  };
26
26
  export {
27
27
  settings_default as default
28
28
  };
29
- //# sourceMappingURL=settings-X7GDEXU3.mjs.map
29
+ //# sourceMappingURL=settings-7VUU3ZJ4.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/settings.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes } from '@dxos/app-framework';\nimport { live } from '@dxos/live-object';\n\nimport { meta } from '../meta';\nimport { DeckSettingsSchema, type DeckSettingsProps } from '../types';\n\nexport default () => {\n const settings = live<DeckSettingsProps>({\n showHints: false,\n enableDeck: false,\n enableStatusbar: false,\n enableNativeRedirect: false,\n newPlankPositioning: 'start',\n overscroll: 'none',\n });\n\n return contributes(Capabilities.Settings, {\n prefix: meta.id,\n schema: DeckSettingsSchema,\n value: settings,\n });\n};\n"],
5
+ "mappings": ";;;;;;;;AAIA,SAASA,cAAcC,mBAAmB;AAC1C,SAASC,YAAY;AAKrB,IAAA,mBAAe,MAAA;AACb,QAAMC,WAAWC,KAAwB;IACvCC,WAAW;IACXC,YAAY;IACZC,iBAAiB;IACjBC,sBAAsB;IACtBC,qBAAqB;IACrBC,YAAY;EACd,CAAA;AAEA,SAAOC,YAAYC,aAAaC,UAAU;IACxCC,QAAQC,KAAKC;IACbC,QAAQC;IACRC,OAAOhB;EACT,CAAA;AACF;",
6
+ "names": ["Capabilities", "contributes", "live", "settings", "live", "showHints", "enableDeck", "enableStatusbar", "enableNativeRedirect", "newPlankPositioning", "overscroll", "contributes", "Capabilities", "Settings", "prefix", "meta", "id", "schema", "DeckSettingsSchema", "value"]
7
+ }
@@ -38,24 +38,29 @@ export declare namespace DeckCapabilities {
38
38
  readonly title?: string | [string, {
39
39
  ns: string;
40
40
  count?: number | undefined;
41
+ defaultValue?: string | undefined;
41
42
  }] | undefined;
42
43
  readonly description?: string | [string, {
43
44
  ns: string;
44
45
  count?: number | undefined;
46
+ defaultValue?: string | undefined;
45
47
  }] | undefined;
46
48
  readonly icon?: string | undefined;
47
49
  readonly duration?: number | undefined;
48
50
  readonly closeLabel?: string | [string, {
49
51
  ns: string;
50
52
  count?: number | undefined;
53
+ defaultValue?: string | undefined;
51
54
  }] | undefined;
52
55
  readonly actionLabel?: string | [string, {
53
56
  ns: string;
54
57
  count?: number | undefined;
58
+ defaultValue?: string | undefined;
55
59
  }] | undefined;
56
60
  readonly actionAlt?: string | [string, {
57
61
  ns: string;
58
62
  count?: number | undefined;
63
+ defaultValue?: string | undefined;
59
64
  }] | undefined;
60
65
  readonly onAction?: any;
61
66
  }[];
@@ -123,24 +128,29 @@ export declare namespace DeckCapabilities {
123
128
  readonly title?: string | [string, {
124
129
  ns: string;
125
130
  count?: number | undefined;
131
+ defaultValue?: string | undefined;
126
132
  }] | undefined;
127
133
  readonly description?: string | [string, {
128
134
  ns: string;
129
135
  count?: number | undefined;
136
+ defaultValue?: string | undefined;
130
137
  }] | undefined;
131
138
  readonly icon?: string | undefined;
132
139
  readonly duration?: number | undefined;
133
140
  readonly closeLabel?: string | [string, {
134
141
  ns: string;
135
142
  count?: number | undefined;
143
+ defaultValue?: string | undefined;
136
144
  }] | undefined;
137
145
  readonly actionLabel?: string | [string, {
138
146
  ns: string;
139
147
  count?: number | undefined;
148
+ defaultValue?: string | undefined;
140
149
  }] | undefined;
141
150
  readonly actionAlt?: string | [string, {
142
151
  ns: string;
143
152
  count?: number | undefined;
153
+ defaultValue?: string | undefined;
144
154
  }] | undefined;
145
155
  readonly onAction?: any;
146
156
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAqF,CAAC;IACrG,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAuE,CAAC;CACtG"}
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAqF,CAAC;IACrG,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAuE,CAAC;CACtG"}
@@ -36,24 +36,29 @@ declare const DeckStateFactory: () => (import("@dxos/app-framework").Capability<
36
36
  readonly title?: string | [string, {
37
37
  ns: string;
38
38
  count?: number | undefined;
39
+ defaultValue?: string | undefined;
39
40
  }] | undefined;
40
41
  readonly description?: string | [string, {
41
42
  ns: string;
42
43
  count?: number | undefined;
44
+ defaultValue?: string | undefined;
43
45
  }] | undefined;
44
46
  readonly icon?: string | undefined;
45
47
  readonly duration?: number | undefined;
46
48
  readonly closeLabel?: string | [string, {
47
49
  ns: string;
48
50
  count?: number | undefined;
51
+ defaultValue?: string | undefined;
49
52
  }] | undefined;
50
53
  readonly actionLabel?: string | [string, {
51
54
  ns: string;
52
55
  count?: number | undefined;
56
+ defaultValue?: string | undefined;
53
57
  }] | undefined;
54
58
  readonly actionAlt?: string | [string, {
55
59
  ns: string;
56
60
  count?: number | undefined;
61
+ defaultValue?: string | undefined;
57
62
  }] | undefined;
58
63
  readonly onAction?: any;
59
64
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AA+BA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsErB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AA+BA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsErB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAQ5E,OAAO,EAAoC,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAKnG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBA4KrB,CAAC"}
1
+ {"version":3,"file":"PlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Plank/PlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2E,MAAM,OAAO,CAAC;AAGhG,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAQ5E,OAAO,EAAoC,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAKnG,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACtC,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,sLAepB,iBAAiB,uBAkLrB,CAAC"}
@@ -59,24 +59,29 @@ export declare const DeckPluginState: Schema.mutable<Schema.Struct<{
59
59
  title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
60
60
  ns: typeof Schema.String;
61
61
  count: Schema.optional<typeof Schema.Number>;
62
+ defaultValue: Schema.optional<typeof Schema.String>;
62
63
  }>>>>]>>;
63
64
  description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
64
65
  ns: typeof Schema.String;
65
66
  count: Schema.optional<typeof Schema.Number>;
67
+ defaultValue: Schema.optional<typeof Schema.String>;
66
68
  }>>>>]>>;
67
69
  icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
68
70
  duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
69
71
  closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
70
72
  ns: typeof Schema.String;
71
73
  count: Schema.optional<typeof Schema.Number>;
74
+ defaultValue: Schema.optional<typeof Schema.String>;
72
75
  }>>>>]>>;
73
76
  actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
74
77
  ns: typeof Schema.String;
75
78
  count: Schema.optional<typeof Schema.Number>;
79
+ defaultValue: Schema.optional<typeof Schema.String>;
76
80
  }>>>>]>>;
77
81
  actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
78
82
  ns: typeof Schema.String;
79
83
  count: Schema.optional<typeof Schema.Number>;
84
+ defaultValue: Schema.optional<typeof Schema.String>;
80
85
  }>>>>]>>;
81
86
  onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
82
87
  }>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,oBAAoB,yCAAyC,CAAC;AAC3E,eAAO,MAAM,mBAAmB,wCAAwC,CAAC;AAGzE,eAAO,MAAM,iBAAiB,2BAA4B,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,gC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AAC,OAAO,oBAAoB,CAAC,CAAC;IAC7E,MAAM,CAAC,MAAM,UAAU;;;OAAmF,CAAC;IAC3G,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;;;;;;;;;;IAG/D,MAAM,OAAO,MAAO,SAAQ,WAG1B;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAMnC;KAAG;;CACN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-deck",
3
- "version": "0.8.3-main.672df60",
3
+ "version": "0.8.3-staging.0fa589b",
4
4
  "description": "DXOS Surface plugin for the main application layout.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -37,30 +37,30 @@
37
37
  "@radix-ui/react-context": "1.1.1",
38
38
  "effect": "3.14.21",
39
39
  "immer": "^10.1.1",
40
- "@dxos/ai": "0.8.3-main.672df60",
41
- "@dxos/artifact": "0.8.3-main.672df60",
42
- "@dxos/app-framework": "0.8.3-main.672df60",
43
- "@dxos/async": "0.8.3-main.672df60",
44
- "@dxos/debug": "0.8.3-main.672df60",
45
- "@dxos/echo": "0.8.3-main.672df60",
46
- "@dxos/echo-schema": "0.8.3-main.672df60",
47
- "@dxos/echo-signals": "0.8.3-main.672df60",
48
- "@dxos/invariant": "0.8.3-main.672df60",
49
- "@dxos/keyboard": "0.8.3-main.672df60",
50
- "@dxos/local-storage": "0.8.3-main.672df60",
51
- "@dxos/live-object": "0.8.3-main.672df60",
52
- "@dxos/log": "0.8.3-main.672df60",
53
- "@dxos/plugin-attention": "0.8.3-main.672df60",
54
- "@dxos/plugin-theme": "0.8.3-main.672df60",
55
- "@dxos/plugin-graph": "0.8.3-main.672df60",
56
- "@dxos/plugin-observability": "0.8.3-main.672df60",
57
- "@dxos/react-ui-attention": "0.8.3-main.672df60",
58
- "@dxos/react-client": "0.8.3-main.672df60",
59
- "@dxos/react-ui-form": "0.8.3-main.672df60",
60
- "@dxos/react-ui-stack": "0.8.3-main.672df60",
61
- "@dxos/react-ui-tabs": "0.8.3-main.672df60",
62
- "@dxos/react-ui-text-tooltip": "0.8.3-main.672df60",
63
- "@dxos/util": "0.8.3-main.672df60"
40
+ "@dxos/ai": "0.8.3-staging.0fa589b",
41
+ "@dxos/app-framework": "0.8.3-staging.0fa589b",
42
+ "@dxos/async": "0.8.3-staging.0fa589b",
43
+ "@dxos/artifact": "0.8.3-staging.0fa589b",
44
+ "@dxos/echo": "0.8.3-staging.0fa589b",
45
+ "@dxos/debug": "0.8.3-staging.0fa589b",
46
+ "@dxos/echo-schema": "0.8.3-staging.0fa589b",
47
+ "@dxos/echo-signals": "0.8.3-staging.0fa589b",
48
+ "@dxos/invariant": "0.8.3-staging.0fa589b",
49
+ "@dxos/live-object": "0.8.3-staging.0fa589b",
50
+ "@dxos/local-storage": "0.8.3-staging.0fa589b",
51
+ "@dxos/log": "0.8.3-staging.0fa589b",
52
+ "@dxos/keyboard": "0.8.3-staging.0fa589b",
53
+ "@dxos/plugin-graph": "0.8.3-staging.0fa589b",
54
+ "@dxos/plugin-attention": "0.8.3-staging.0fa589b",
55
+ "@dxos/plugin-observability": "0.8.3-staging.0fa589b",
56
+ "@dxos/plugin-theme": "0.8.3-staging.0fa589b",
57
+ "@dxos/react-client": "0.8.3-staging.0fa589b",
58
+ "@dxos/react-ui-attention": "0.8.3-staging.0fa589b",
59
+ "@dxos/react-ui-form": "0.8.3-staging.0fa589b",
60
+ "@dxos/react-ui-stack": "0.8.3-staging.0fa589b",
61
+ "@dxos/react-ui-text-tooltip": "0.8.3-staging.0fa589b",
62
+ "@dxos/util": "0.8.3-staging.0fa589b",
63
+ "@dxos/react-ui-tabs": "0.8.3-staging.0fa589b"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@effect-rx/rx-react": "^0.34.1",
@@ -71,9 +71,9 @@
71
71
  "react": "~18.2.0",
72
72
  "react-dom": "~18.2.0",
73
73
  "vite": "5.4.7",
74
- "@dxos/react-ui": "0.8.3-main.672df60",
75
- "@dxos/react-ui-theme": "0.8.3-main.672df60",
76
- "@dxos/storybook-utils": "0.8.3-main.672df60"
74
+ "@dxos/react-ui": "0.8.3-staging.0fa589b",
75
+ "@dxos/react-ui-theme": "0.8.3-staging.0fa589b",
76
+ "@dxos/storybook-utils": "0.8.3-staging.0fa589b"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@effect-rx/rx-react": "^0.34.1",
@@ -82,8 +82,8 @@
82
82
  "effect": "^3.13.3",
83
83
  "react": "~18.2.0",
84
84
  "react-dom": "~18.2.0",
85
- "@dxos/react-ui": "0.8.3-main.672df60",
86
- "@dxos/react-ui-theme": "0.8.3-main.672df60"
85
+ "@dxos/react-ui-theme": "0.8.3-staging.0fa589b",
86
+ "@dxos/react-ui": "0.8.3-staging.0fa589b"
87
87
  },
88
88
  "publishConfig": {
89
89
  "access": "public"
@@ -120,7 +120,7 @@ export default (context: PluginContext) =>
120
120
  ],
121
121
  icon: 'ph--sidebar--regular',
122
122
  keyBinding: {
123
- macos: 'meta+b',
123
+ macos: "meta+'",
124
124
  },
125
125
  disposition: 'pin-end',
126
126
  position: 'hoist',
@@ -15,7 +15,7 @@ import {
15
15
  createIntent,
16
16
  chain,
17
17
  } from '@dxos/app-framework';
18
- import { getTypename } from '@dxos/echo-schema';
18
+ import { Obj } from '@dxos/echo';
19
19
  import { invariant } from '@dxos/invariant';
20
20
  import { isLiveObject } from '@dxos/live-object';
21
21
  import { log } from '@dxos/log';
@@ -229,7 +229,7 @@ export default (context: PluginContext) =>
229
229
  } else {
230
230
  const [item] = graph
231
231
  .getConnections(subject)
232
- .filter((node) => !isActionLike(node) && node.properties.disposition !== 'hidden');
232
+ .filter((node) => !isActionLike(node) && !node.properties.disposition);
233
233
  if (item) {
234
234
  return {
235
235
  intents: [createIntent(LayoutAction.Open, { part: 'main', subject: [item.id] })],
@@ -301,7 +301,7 @@ export default (context: PluginContext) =>
301
301
  onNone: () => undefined,
302
302
  onSome: (node) => {
303
303
  const active = node.data;
304
- return isLiveObject(active) ? getTypename(active) : undefined;
304
+ return isLiveObject(active) ? Obj.getTypename(active) : undefined;
305
305
  },
306
306
  });
307
307
  return createIntent(ObservabilityAction.SendEvent, {
@@ -5,7 +5,7 @@
5
5
  import { Capabilities, contributes } from '@dxos/app-framework';
6
6
  import { live } from '@dxos/live-object';
7
7
 
8
- import { DECK_PLUGIN } from '../meta';
8
+ import { meta } from '../meta';
9
9
  import { DeckSettingsSchema, type DeckSettingsProps } from '../types';
10
10
 
11
11
  export default () => {
@@ -19,8 +19,8 @@ export default () => {
19
19
  });
20
20
 
21
21
  return contributes(Capabilities.Settings, {
22
+ prefix: meta.id,
22
23
  schema: DeckSettingsSchema,
23
- prefix: DECK_PLUGIN,
24
24
  value: settings,
25
25
  });
26
26
  };
@@ -18,7 +18,7 @@ export const Fallback = () => {
18
18
  role='alert'
19
19
  className={mx(
20
20
  errorText,
21
- 'border border-error-400/50 rounded-lg flex items-center justify-center p-8 font-normal text-lg',
21
+ 'border border-error-400/50 rounded-md flex items-center justify-center p-8 font-normal text-lg',
22
22
  )}
23
23
  >
24
24
  {t('plugin error message')}
@@ -203,7 +203,7 @@ const PlankComponent = memo(
203
203
 
204
204
  const Root = part.startsWith('solo') ? 'article' : StackItem.Root;
205
205
  const className = mx(
206
- 'attention-surface relative dx-focus-ring-inset-over-all',
206
+ 'attention-surface relative dx-focus-ring-inset-over-all density-coarse',
207
207
  isSolo && mainIntrinsicSize,
208
208
  isSolo && railGridHorizontal,
209
209
  isSolo && 'absolute inset-0',
@@ -19,7 +19,7 @@ export const PlankContentError = ({ error }: { error?: Error }) => {
19
19
  <div role='none' className='overflow-auto p-8 attention-surface grid place-items-center'>
20
20
  <p
21
21
  role='alert'
22
- className={mx(descriptionMessage, 'break-words rounded-lg p-8', errorString.length < 256 && 'text-lg')}
22
+ className={mx(descriptionMessage, 'break-words rounded-md p-8', errorString.length < 256 && 'text-lg')}
23
23
  >
24
24
  {error ? errorString : t('error fallback message')}
25
25
  </p>
@@ -94,7 +94,12 @@ export const PlankHeading = memo(
94
94
  } else if (variant) {
95
95
  return [];
96
96
  } else {
97
- return [actions, graph.getActions(node.id)].filter((a) => a.length > 0);
97
+ return [
98
+ actions,
99
+ graph
100
+ .getActions(node.id)
101
+ .filter((a) => ['list-item', 'list-item-primary', 'heading-list-item'].includes(a.properties.disposition)),
102
+ ].filter((a) => a.length > 0);
98
103
  }
99
104
  }, [actions, node, variant, graph]);
100
105
 
@@ -150,20 +155,21 @@ export const PlankHeading = memo(
150
155
  return (
151
156
  <StackItem.Heading
152
157
  classNames={[
153
- 'plb-1 border-be border-subduedSeparator items-stretch gap-1 sticky inline-start-12 app-drag min-is-0 contain-layout',
158
+ 'plb-1 items-stretch gap-1 sticky inline-start-12 app-drag min-is-0 contain-layout',
154
159
  part === 'solo' ? soloInlinePadding : 'pli-1',
155
160
  ...(layoutMode === 'solo--fullscreen'
156
161
  ? [
157
162
  hoverableControls,
158
163
  hoverableFocusedWithinControls,
159
- '[&>*]:transition-opacity [&>*]:opacity-[--controls-opacity] bg-transparent border-transparent transition-[background-color,border-color] hover-hover:hover:bg-headerSurface focus-within:bg-headerSurface hover-hover:hover:border-subduedSeparator focus-within:border-subduedSeparator',
164
+ '*:transition-opacity *:opacity-[--controls-opacity] bg-transparent border-transparent transition-[background-color,border-color] hover-hover:hover:bg-headerSurface focus-within:bg-headerSurface hover-hover:hover:border-subduedSeparator focus-within:border-subduedSeparator',
160
165
  ]
161
166
  : []),
162
167
  ]}
163
168
  data-plank-heading
164
169
  >
165
- {companions && isCompanionNode /* TODO(thure): This is a tablist, it should be implemented as such. */ ? (
166
- <div role='none' className='flex-1 min-is-0 overflow-x-auto scrollbar-thin flex gap-1'>
170
+ {companions && isCompanionNode ? (
171
+ /* TODO(thure): IMPORTANT: This is a tablist; it should be implemented as such. */
172
+ <div role='none' className='flex-1 min-is-0 overflow-x-auto scrollbar-none flex gap-1'>
167
173
  {companions.map(({ id, properties: { icon, label } }) => (
168
174
  <IconButton
169
175
  key={id}
@@ -172,7 +178,7 @@ export const PlankHeading = memo(
172
178
  iconOnly={companions.length > MAX_COMPANIONS && node?.id !== id}
173
179
  label={toLocalizedString(label, t)}
174
180
  size={5}
175
- variant={node?.id === id ? 'primary' : 'default'}
181
+ variant={node?.id === id ? 'primary' : 'ghost'}
176
182
  onClick={handleTabClick}
177
183
  />
178
184
  ))}