@dxos/plugin-simple-layout 0.8.4-main.dfabb4ec29 → 0.8.4-main.effb148878

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 (41) hide show
  1. package/LICENSE +102 -5
  2. package/dist/lib/neutral/SimpleLayoutPlugin.mjs +1 -1
  3. package/dist/lib/neutral/SimpleLayoutPlugin.mjs.map +3 -3
  4. package/dist/lib/neutral/capabilities/index.mjs +1 -1
  5. package/dist/lib/neutral/{chunk-AMTEDJHG.mjs → chunk-5LQGH5KW.mjs} +2 -1
  6. package/dist/lib/neutral/chunk-5LQGH5KW.mjs.map +7 -0
  7. package/dist/lib/neutral/{chunk-XVUAQHKU.mjs → chunk-Y2QR5SYD.mjs} +2 -2
  8. package/dist/lib/neutral/components/index.mjs +16 -12
  9. package/dist/lib/neutral/components/index.mjs.map +3 -3
  10. package/dist/lib/neutral/hooks/index.mjs +1 -1
  11. package/dist/lib/neutral/hooks/index.mjs.map +1 -1
  12. package/dist/lib/neutral/index.mjs +1 -1
  13. package/dist/lib/neutral/meta.json +1 -1
  14. package/dist/lib/neutral/meta.mjs +1 -1
  15. package/dist/lib/neutral/{open-XI2T7D5O.mjs → open-PEVXNVTV.mjs} +4 -2
  16. package/dist/lib/neutral/open-PEVXNVTV.mjs.map +7 -0
  17. package/dist/lib/neutral/operations/index.mjs +1 -1
  18. package/dist/lib/neutral/plugin.mjs +2 -2
  19. package/dist/lib/neutral/{react-surface-REZMYKQV.mjs → react-surface-YHXOHJI7.mjs} +2 -2
  20. package/dist/lib/neutral/{react-surface-REZMYKQV.mjs.map → react-surface-YHXOHJI7.mjs.map} +1 -1
  21. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  22. package/dist/types/src/components/SimpleLayout/AppBar.d.ts.map +1 -1
  23. package/dist/types/src/components/SimpleLayout/NavBar.d.ts.map +1 -1
  24. package/dist/types/src/meta.d.ts.map +1 -1
  25. package/dist/types/src/operations/open.d.ts.map +1 -1
  26. package/dist/types/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +33 -33
  28. package/src/SimpleLayoutPlugin.ts +1 -1
  29. package/src/capabilities/react-surface.tsx +1 -1
  30. package/src/components/Home/Home.tsx +3 -3
  31. package/src/components/NavBranch/NavBranch.tsx +3 -3
  32. package/src/components/Popover/Popover.tsx +4 -3
  33. package/src/components/SimpleLayout/AppBar.tsx +44 -41
  34. package/src/components/SimpleLayout/NavBar.tsx +1 -1
  35. package/src/components/SimpleLayout/SimpleLayout.stories.tsx +3 -3
  36. package/src/hooks/actions.ts +1 -1
  37. package/src/meta.ts +1 -0
  38. package/src/operations/open.ts +2 -0
  39. package/dist/lib/neutral/chunk-AMTEDJHG.mjs.map +0 -7
  40. package/dist/lib/neutral/open-XI2T7D5O.mjs.map +0 -7
  41. /package/dist/lib/neutral/{chunk-XVUAQHKU.mjs.map → chunk-Y2QR5SYD.mjs.map} +0 -0
package/LICENSE CHANGED
@@ -1,8 +1,105 @@
1
- MIT License
2
- Copyright (c) 2022 DXOS
1
+ # Functional Source License, Version 1.1, ALv2 Future License
3
2
 
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3
+ ## Abbreviation
5
4
 
6
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
5
+ FSL-1.1-Apache-2.0
7
6
 
8
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7
+ ## Notice
8
+
9
+ Copyright 2026 DXOS
10
+
11
+ ## Terms and Conditions
12
+
13
+ ### Licensor ("We")
14
+
15
+ The party offering the Software under these Terms and Conditions.
16
+
17
+ ### The Software
18
+
19
+ The "Software" is each version of the software that we make available under
20
+ these Terms and Conditions, as indicated by our inclusion of these Terms and
21
+ Conditions with the Software.
22
+
23
+ ### License Grant
24
+
25
+ Subject to your compliance with this License Grant and the Patents,
26
+ Redistribution and Trademark clauses below, we hereby grant you the right to
27
+ use, copy, modify, create derivative works, publicly perform, publicly display
28
+ and redistribute the Software for any Permitted Purpose identified below.
29
+
30
+ ### Permitted Purpose
31
+
32
+ A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33
+ means making the Software available to others in a commercial product or
34
+ service that:
35
+
36
+ 1. substitutes for the Software;
37
+
38
+ 2. substitutes for any other product or service we offer using the Software
39
+ that exists as of the date we make the Software available; or
40
+
41
+ 3. offers the same or substantially similar functionality as the Software.
42
+
43
+ Permitted Purposes specifically include using the Software:
44
+
45
+ 1. for your internal use and access;
46
+
47
+ 2. for non-commercial education;
48
+
49
+ 3. for non-commercial research; and
50
+
51
+ 4. in connection with professional services that you provide to a licensee
52
+ using the Software in accordance with these Terms and Conditions.
53
+
54
+ ### Patents
55
+
56
+ To the extent your use for a Permitted Purpose would necessarily infringe our
57
+ patents, the license grant above includes a license under our patents. If you
58
+ make a claim against any party that the Software infringes or contributes to
59
+ the infringement of any patent, then your patent license to the Software ends
60
+ immediately.
61
+
62
+ ### Redistribution
63
+
64
+ The Terms and Conditions apply to all copies, modifications and derivatives of
65
+ the Software.
66
+
67
+ If you redistribute any copies, modifications or derivatives of the Software,
68
+ you must include a copy of or a link to these Terms and Conditions and not
69
+ remove any copyright notices provided in or with the Software.
70
+
71
+ ### Disclaimer
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75
+ PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
76
+
77
+ IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78
+ SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79
+ EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
80
+
81
+ ### Trademarks
82
+
83
+ Except for displaying the License Details and identifying us as the origin of
84
+ the Software, you have no right under these Terms and Conditions to use our
85
+ trademarks, trade names, service marks or product names.
86
+
87
+ ## Grant of Future License
88
+
89
+ We hereby irrevocably grant you an additional license to use the Software under
90
+ the Apache License, Version 2.0 that is effective on the second anniversary of
91
+ the date we make the Software available. On or after that date, you may use the
92
+ Software under the Apache License, Version 2.0, in which case the following
93
+ will apply:
94
+
95
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
96
+ this file except in compliance with the License.
97
+
98
+ You may obtain a copy of the License at
99
+
100
+ http://www.apache.org/licenses/LICENSE-2.0
101
+
102
+ Unless required by applicable law or agreed to in writing, software distributed
103
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
105
+ specific language governing permissions and limitations under the License.
@@ -41,7 +41,7 @@ var SimpleLayoutPlugin = Plugin.define(meta).pipe(AppPlugin.addAppGraphModule({
41
41
  activate: ReactSurface
42
42
  }), Plugin.addModule({
43
43
  id: Capability.getModuleTag(UrlHandler),
44
- activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),
44
+ activatesOn: ActivationEvent.allOf(ActivationEvents.ProcessManagerReady, SimpleLayoutEvents.StateReady),
45
45
  activate: UrlHandler
46
46
  }), Plugin.make);
47
47
  var SimpleLayoutPlugin_default = SimpleLayoutPlugin;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/SimpleLayoutPlugin.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { SimpleLayoutEvents } from '#types';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n\nexport default SimpleLayoutPlugin;\n"],
5
- "mappings": ";;;AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AAO5B,IAAMC,qBAAqBb,OAAOc,OAAkCJ,IAAAA,EAAMK,KAC/Eb,UAAUc,kBAAkB;EAAEC,UAAUd;AAAgB,CAAA,GACxDD,UAAUgB,0BAA0B;EAAED,UAAUb;AAAiB,CAAA,GACjEF,UAAUiB,sBAAsB;EAAER;AAAa,CAAA,GAC/CX,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAaf,KAAAA;EAC5BgB,aAAa1B,iBAAiB2B;EAC9BC,sBAAsB;IAACd,mBAAmBe;IAAY1B,oBAAoB2B;;EAC1EX,UAAU,MAAMT,MAAM;IAAEqB,cAAc;MAAER;IAAU;EAAE,CAAA;AACtD,EAAA,GACArB,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAahB,gBAAAA;EAC5BiB,aAAa1B,iBAAiB2B;EAC9BR,UAAU,MAAMV,iBAAiB;IAAEc;EAAU,CAAA;AAC/C,EAAA,GACArB,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAalB,SAAAA;EAC5BmB,aAAa1B,iBAAiB2B;EAC9BR,UAAUZ;AACZ,CAAA,GACAL,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAajB,YAAAA;EAC5BkB,aAAa1B,iBAAiB2B;EAC9BR,UAAUX;AACZ,CAAA,GACAN,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAad,UAAAA;EAC5Be,aAAa3B,gBAAgBiC,MAAMhC,iBAAiBiC,uBAAuBnB,mBAAmBe,UAAU;EACxGV,UAAUR;AACZ,CAAA,GACAT,OAAOgC,IAAI;AAGb,IAAA,6BAAenB;",
6
- "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "translations", "SimpleLayoutEvents", "SimpleLayoutPlugin", "define", "pipe", "addAppGraphModule", "activate", "addOperationHandlerModule", "addTranslationsModule", "addModule", "isPopover", "id", "getModuleTag", "activatesOn", "Startup", "firesAfterActivation", "StateReady", "LayoutReady", "initialState", "allOf", "OperationInvokerReady", "make"]
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { SimpleLayoutEvents } from '#types';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.ProcessManagerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n\nexport default SimpleLayoutPlugin;\n"],
5
+ "mappings": ";;;AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AAO5B,IAAMC,qBAAqBb,OAAOc,OAAkCJ,IAAAA,EAAMK,KAC/Eb,UAAUc,kBAAkB;EAAEC,UAAUd;AAAgB,CAAA,GACxDD,UAAUgB,0BAA0B;EAAED,UAAUb;AAAiB,CAAA,GACjEF,UAAUiB,sBAAsB;EAAER;AAAa,CAAA,GAC/CX,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAaf,KAAAA;EAC5BgB,aAAa1B,iBAAiB2B;EAC9BC,sBAAsB;IAACd,mBAAmBe;IAAY1B,oBAAoB2B;;EAC1EX,UAAU,MAAMT,MAAM;IAAEqB,cAAc;MAAER;IAAU;EAAE,CAAA;AACtD,EAAA,GACArB,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAahB,gBAAAA;EAC5BiB,aAAa1B,iBAAiB2B;EAC9BR,UAAU,MAAMV,iBAAiB;IAAEc;EAAU,CAAA;AAC/C,EAAA,GACArB,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAalB,SAAAA;EAC5BmB,aAAa1B,iBAAiB2B;EAC9BR,UAAUZ;AACZ,CAAA,GACAL,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAajB,YAAAA;EAC5BkB,aAAa1B,iBAAiB2B;EAC9BR,UAAUX;AACZ,CAAA,GACAN,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAad,UAAAA;EAC5Be,aAAa3B,gBAAgBiC,MAAMhC,iBAAiBiC,qBAAqBnB,mBAAmBe,UAAU;EACtGV,UAAUR;AACZ,CAAA,GACAT,OAAOgC,IAAI;AAGb,IAAA,6BAAenB;",
6
+ "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "translations", "SimpleLayoutEvents", "SimpleLayoutPlugin", "define", "pipe", "addAppGraphModule", "activate", "addOperationHandlerModule", "addTranslationsModule", "addModule", "isPopover", "id", "getModuleTag", "activatesOn", "Startup", "firesAfterActivation", "StateReady", "LayoutReady", "initialState", "allOf", "ProcessManagerReady", "make"]
7
7
  }
@@ -5,7 +5,7 @@ import { Capability } from "@dxos/app-framework";
5
5
  var AppGraphBuilder = Capability.lazy("AppGraphBuilder", () => import("../app-graph-builder-EYQKLRRP.mjs"));
6
6
  var OperationHandler = Capability.lazy("OperationHandler", () => import("../operation-handler-EAIE7KPR.mjs"));
7
7
  var ReactRoot = Capability.lazy("ReactRoot", () => import("../react-root-VE265VX4.mjs"));
8
- var ReactSurface = Capability.lazy("ReactSurface", () => import("../react-surface-REZMYKQV.mjs"));
8
+ var ReactSurface = Capability.lazy("ReactSurface", () => import("../react-surface-YHXOHJI7.mjs"));
9
9
  var SpotlightDismiss = Capability.lazy("SpotlightDismiss", () => import("../spotlight-dismiss-EIYW5E7M.mjs"));
10
10
  var State = Capability.lazy("State", () => import("../state-7NXKBLPY.mjs"));
11
11
  var UrlHandler = Capability.lazy("UrlHandler", () => import("../url-handler-GZXUUAHD.mjs"));
@@ -3,6 +3,7 @@ import { trim } from "@dxos/util";
3
3
  var meta = {
4
4
  id: "org.dxos.plugin.simpleLayout",
5
5
  name: "Simple Layout",
6
+ author: "DXOS",
6
7
  description: trim`
7
8
  Minimal layout plugin for simplified UI contexts like popover windows.
8
9
  Provides basic content rendering without sidebars or complex navigation.
@@ -16,4 +17,4 @@ var meta = {
16
17
  export {
17
18
  meta
18
19
  };
19
- //# sourceMappingURL=chunk-AMTEDJHG.mjs.map
20
+ //# sourceMappingURL=chunk-5LQGH5KW.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.simpleLayout',\n name: 'Simple Layout',\n author: 'DXOS',\n description: trim`\n Minimal layout plugin for simplified UI contexts like popover windows.\n Provides basic content rendering without sidebars or complex navigation.\n `,\n icon: 'ph--layout--regular',\n tags: ['system'],\n};\n"],
5
+ "mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,QAAQ;EACRC,aAAaL;;;;EAIbM,MAAM;EACNC,MAAM;IAAC;;AACT;",
6
+ "names": ["trim", "meta", "id", "name", "author", "description", "icon", "tags"]
7
+ }
@@ -1,8 +1,8 @@
1
1
  // src/operations/index.ts
2
2
  import { OperationHandlerSet } from "@dxos/compute";
3
- var SimpleLayoutOperationHandlerSet = OperationHandlerSet.lazy(() => import("./close-WKMURGUB.mjs"), () => import("./open-XI2T7D5O.mjs"), () => import("./revert-workspace-ST6NZUNG.mjs"), () => import("./set-6ZRLWPJS.mjs"), () => import("./set-layout-mode-L22HRCKS.mjs"), () => import("./switch-workspace-PYWPTMFO.mjs"), () => import("./update-complementary-HKWF5OXT.mjs"), () => import("./update-dialog-P4ASXCE7.mjs"), () => import("./update-popover-REAKC2GN.mjs"), () => import("./update-sidebar-O5SQPR6Q.mjs"));
3
+ var SimpleLayoutOperationHandlerSet = OperationHandlerSet.lazy(() => import("./close-WKMURGUB.mjs"), () => import("./open-PEVXNVTV.mjs"), () => import("./revert-workspace-ST6NZUNG.mjs"), () => import("./set-6ZRLWPJS.mjs"), () => import("./set-layout-mode-L22HRCKS.mjs"), () => import("./switch-workspace-PYWPTMFO.mjs"), () => import("./update-complementary-HKWF5OXT.mjs"), () => import("./update-dialog-P4ASXCE7.mjs"), () => import("./update-popover-REAKC2GN.mjs"), () => import("./update-sidebar-O5SQPR6Q.mjs"));
4
4
 
5
5
  export {
6
6
  SimpleLayoutOperationHandlerSet
7
7
  };
8
- //# sourceMappingURL=chunk-XVUAQHKU.mjs.map
8
+ //# sourceMappingURL=chunk-Y2QR5SYD.mjs.map
@@ -158,11 +158,11 @@ var WorkspaceTile = (props) => {
158
158
  fullWidth: true,
159
159
  tabIndex: -1,
160
160
  "data-selected": isSelected,
161
- classNames: mx("dx-focus-ring", isSelected && "bg-hover-overlay"),
161
+ classNames: mx("dx-focus-ring", isSelected && "bg-selected-surface"),
162
162
  onClick: handleSelect,
163
163
  ref: cardRef
164
- }, /* @__PURE__ */ React2.createElement(Card.Toolbar, {
165
- density: "fine"
164
+ }, /* @__PURE__ */ React2.createElement(Card.Header, {
165
+ density: "md"
166
166
  }, /* @__PURE__ */ React2.createElement(Avatar.Root, null, /* @__PURE__ */ React2.createElement(Avatar.Content, {
167
167
  icon: data.properties.icon,
168
168
  hue: data.properties.hue,
@@ -518,7 +518,8 @@ var PopoverContent = () => {
518
518
  }), state.popoverKind === "card" && /* @__PURE__ */ React5.createElement(Card2.Root, {
519
519
  border: false,
520
520
  classNames: "dx-card-popover"
521
- }, /* @__PURE__ */ React5.createElement(Card2.Toolbar, null, /* @__PURE__ */ React5.createElement("span", null), state.popoverTitle ? /* @__PURE__ */ React5.createElement(Card2.Title, null, toLocalizedString2(state.popoverTitle, t)) : /* @__PURE__ */ React5.createElement("span", null), /* @__PURE__ */ React5.createElement(Card2.CloseIconButton, {
521
+ }, /* @__PURE__ */ React5.createElement(Card2.Header, null, /* @__PURE__ */ React5.createElement("span", null), state.popoverTitle ? /* @__PURE__ */ React5.createElement(Card2.Title, null, toLocalizedString2(state.popoverTitle, t)) : /* @__PURE__ */ React5.createElement("span", null), /* @__PURE__ */ React5.createElement(Card2.ActionIconButton, {
522
+ action: "close",
522
523
  onClick: handleClose
523
524
  })), state.popoverContent && "subject" in state.popoverContent && /* @__PURE__ */ React5.createElement(Surface.Surface, {
524
525
  type: AppSurface.Card,
@@ -530,9 +531,10 @@ var PopoverContent = () => {
530
531
  // src/components/SimpleLayout/AppBar.tsx
531
532
  import { useAtomValue } from "@effect-atom/atom-react";
532
533
  import React6, { Fragment } from "react";
533
- import { IconButton, Popover as Popover2, Toolbar, useTranslation as useTranslation3 } from "@dxos/react-ui";
534
+ import { DensityProvider, IconButton, Popover as Popover2, Toolbar, useTranslation as useTranslation3 } from "@dxos/react-ui";
535
+ import { composable, composableProps } from "@dxos/react-ui";
534
536
  import { Menu, useMenuActions } from "@dxos/react-ui-menu";
535
- import { composable, composableProps, osTranslations } from "@dxos/ui-theme";
537
+ import { osTranslations } from "@dxos/ui-theme";
536
538
  import { meta as meta3 } from "#meta";
537
539
  var APP_BAR_NAME = "SimpleLayout.AppBar";
538
540
  var AppBar = composable(({ classNames, title, actions, showBackButton, popoverAnchorId, onAction, onBack, ...props }, forwardedRef) => {
@@ -545,10 +547,12 @@ var AppBar = composable(({ classNames, title, actions, showBackButton, popoverAn
545
547
  ns: osTranslations
546
548
  });
547
549
  const AnchorRoot = popoverAnchorId ? Popover2.Anchor : Fragment;
548
- return /* @__PURE__ */ React6.createElement(Toolbar.Root, {
550
+ return /* @__PURE__ */ React6.createElement(DensityProvider, {
551
+ density: "md"
552
+ }, /* @__PURE__ */ React6.createElement(Toolbar.Root, {
549
553
  ...composableProps(props, {
550
554
  role: "banner",
551
- classNames: "grid grid-cols-[var(--dx-rail-size)_1fr_var(--dx-rail-size)] items-center dx-density-fine"
555
+ classNames: "grid grid-cols-[var(--dx-rail-size)_1fr_var(--dx-rail-size)] items-center dx-density-md"
552
556
  }),
553
557
  ref: forwardedRef
554
558
  }, keyboardOpen ? /* @__PURE__ */ React6.createElement(IconButton, {
@@ -575,7 +579,7 @@ var AppBar = composable(({ classNames, title, actions, showBackButton, popoverAn
575
579
  icon: "ph--dots-three-vertical--regular",
576
580
  iconOnly: true,
577
581
  label: t("actions-menu.label")
578
- })), /* @__PURE__ */ React6.createElement(Menu.Content, null))) : /* @__PURE__ */ React6.createElement("span", null));
582
+ })), /* @__PURE__ */ React6.createElement(Menu.Content, null))) : /* @__PURE__ */ React6.createElement("span", null)));
579
583
  });
580
584
  AppBar.displayName = APP_BAR_NAME;
581
585
 
@@ -590,8 +594,8 @@ import { useAppBarProps, useNavbarActions, useSimpleLayoutState as useSimpleLayo
590
594
 
591
595
  // src/components/SimpleLayout/NavBar.tsx
592
596
  import React7 from "react";
597
+ import { composable as composable2, composableProps as composableProps2 } from "@dxos/react-ui";
593
598
  import { Menu as Menu2, useMenuActions as useMenuActions2 } from "@dxos/react-ui-menu";
594
- import { composable as composable2, composableProps as composableProps2 } from "@dxos/ui-theme";
595
599
  var NAVBAR_NAME = "SimpleLayout.NavBar";
596
600
  var NavBar = composable2(({ actions, onAction, ...props }, forwardedRef) => {
597
601
  const menuActions = useMenuActions2(actions);
@@ -893,9 +897,9 @@ var NavBranchTile = (props) => {
893
897
  fullWidth: true,
894
898
  tabIndex: -1,
895
899
  "data-selected": isSelected,
896
- classNames: mx3("dx-focus-ring cursor-pointer", isSelected && "bg-hover-overlay"),
900
+ classNames: mx3("dx-focus-ring cursor-pointer", isSelected && "bg-selected-surface"),
897
901
  onClick: handleSelect
898
- }, /* @__PURE__ */ React12.createElement(Card3.Toolbar, null, /* @__PURE__ */ React12.createElement(Avatar2.Root, null, /* @__PURE__ */ React12.createElement(Avatar2.Content, {
902
+ }, /* @__PURE__ */ React12.createElement(Card3.Header, null, /* @__PURE__ */ React12.createElement(Avatar2.Root, null, /* @__PURE__ */ React12.createElement(Avatar2.Content, {
899
903
  hue: data.properties.hue,
900
904
  icon: data.properties.icon,
901
905
  hueVariant: "transparent",