@dxos/plugin-stack 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393

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 (59) hide show
  1. package/dist/lib/neutral/StackContainer-DDERTIAF.mjs +126 -0
  2. package/dist/lib/neutral/StackContainer-DDERTIAF.mjs.map +7 -0
  3. package/dist/lib/neutral/StackPlugin.mjs +22 -0
  4. package/dist/lib/neutral/StackPlugin.mjs.map +7 -0
  5. package/dist/lib/neutral/capabilities/index.mjs +7 -0
  6. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  7. package/dist/lib/neutral/chunk-3ISQZKGO.mjs +21 -0
  8. package/dist/lib/neutral/chunk-3ISQZKGO.mjs.map +7 -0
  9. package/dist/lib/{browser/types/index.mjs → neutral/chunk-IPU3C6TT.mjs} +2 -1
  10. package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-IPU3C6TT.mjs.map} +3 -3
  11. package/dist/lib/neutral/components/index.mjs +182 -0
  12. package/dist/lib/neutral/components/index.mjs.map +7 -0
  13. package/dist/lib/neutral/containers/index.mjs +7 -0
  14. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  15. package/dist/lib/neutral/index.mjs +15 -0
  16. package/dist/lib/neutral/index.mjs.map +7 -0
  17. package/dist/lib/neutral/meta.json +1 -0
  18. package/dist/lib/neutral/meta.mjs +9 -0
  19. package/dist/lib/neutral/meta.mjs.map +7 -0
  20. package/dist/lib/neutral/plugin.mjs +11 -0
  21. package/dist/lib/neutral/plugin.mjs.map +7 -0
  22. package/dist/lib/neutral/react-surface-4ZA44TMR.mjs +23 -0
  23. package/dist/lib/neutral/react-surface-4ZA44TMR.mjs.map +7 -0
  24. package/dist/lib/neutral/translations.mjs +37 -0
  25. package/dist/lib/neutral/translations.mjs.map +7 -0
  26. package/dist/lib/neutral/types/index.mjs +9 -0
  27. package/dist/lib/neutral/types/index.mjs.map +7 -0
  28. package/dist/types/src/StackPlugin.d.ts +1 -0
  29. package/dist/types/src/StackPlugin.d.ts.map +1 -1
  30. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  31. package/dist/types/src/components/StackSection/CaretDownUp.d.ts +1 -1
  32. package/dist/types/src/components/StackSection/CaretDownUp.d.ts.map +1 -1
  33. package/dist/types/src/components/StackSection/StackSection.d.ts.map +1 -1
  34. package/dist/types/src/components/StackSettings/StackSettings.d.ts.map +1 -1
  35. package/dist/types/src/containers/StackContainer/StackContainer.d.ts.map +1 -1
  36. package/dist/types/src/index.d.ts +1 -1
  37. package/dist/types/src/index.d.ts.map +1 -1
  38. package/dist/types/src/plugin.d.ts +3 -0
  39. package/dist/types/src/plugin.d.ts.map +1 -0
  40. package/dist/types/src/translations.d.ts +30 -31
  41. package/dist/types/src/translations.d.ts.map +1 -1
  42. package/dist/types/src/types/types.d.ts +1 -2
  43. package/dist/types/src/types/types.d.ts.map +1 -1
  44. package/dist/types/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +73 -39
  46. package/src/StackPlugin.ts +4 -21
  47. package/src/containers/StackContainer/StackContainer.tsx +7 -8
  48. package/src/index.ts +1 -1
  49. package/src/plugin.ts +9 -0
  50. package/src/translations.ts +1 -1
  51. package/src/types/types.ts +1 -2
  52. package/dist/lib/browser/index.mjs +0 -93
  53. package/dist/lib/browser/index.mjs.map +0 -7
  54. package/dist/lib/browser/meta.json +0 -1
  55. package/dist/lib/node-esm/index.mjs +0 -95
  56. package/dist/lib/node-esm/index.mjs.map +0 -7
  57. package/dist/lib/node-esm/meta.json +0 -1
  58. package/dist/lib/node-esm/types/index.mjs +0 -28
  59. package/dist/lib/node-esm/types/index.mjs.map +0 -7
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/plugin.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const StackPlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],
5
+ "mappings": ";;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,cAAcC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
6
+ "names": ["Plugin", "StackPlugin", "Plugin", "lazy", "meta"]
7
+ }
@@ -0,0 +1,23 @@
1
+ // src/capabilities/react-surface.tsx
2
+ import * as Effect from "effect/Effect";
3
+ import React from "react";
4
+ import { Capabilities, Capability } from "@dxos/app-framework";
5
+ import { Surface } from "@dxos/app-framework/ui";
6
+ import { AppSurface } from "@dxos/app-toolkit/ui";
7
+ import { Collection } from "@dxos/echo";
8
+ import { StackContainer } from "#containers";
9
+ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, Surface.create({
10
+ id: "article",
11
+ filter: AppSurface.object(AppSurface.Article, Collection.Collection),
12
+ component: ({ role, data }) => {
13
+ return /* @__PURE__ */ React.createElement(StackContainer, {
14
+ attendableId: data.attendableId,
15
+ role,
16
+ subject: data.subject
17
+ });
18
+ }
19
+ }))));
20
+ export {
21
+ react_surface_default as default
22
+ };
23
+ //# sourceMappingURL=react-surface-4ZA44TMR.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\nimport { Collection } from '@dxos/echo';\n\nimport { StackContainer } from '#containers';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Capabilities.ReactSurface,\n Surface.create({\n id: 'article',\n filter: AppSurface.object(AppSurface.Article, Collection.Collection),\n component: ({ role, data }) => {\n return <StackContainer attendableId={data.attendableId} role={role} subject={data.subject} />;\n },\n }),\n ),\n ),\n);\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,kBAAkB;AAC3B,SAASC,kBAAkB;AAE3B,SAASC,sBAAsB;AAE/B,IAAA,wBAAeJ,WAAWK,WAAW,MAC5BC,eACLN,WAAWO,YACTR,aAAaS,cACbP,QAAQQ,OAAO;EACbC,IAAI;EACJC,QAAQT,WAAWU,OAAOV,WAAWW,SAASV,WAAWA,UAAU;EACnEW,WAAW,CAAC,EAAEC,MAAMC,KAAI,MAAE;AACxB,WAAO,sBAAA,cAACZ,gBAAAA;MAAea,cAAcD,KAAKC;MAAcF;MAAYG,SAASF,KAAKE;;EACpF;AACF,CAAA,CAAA,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "Surface", "AppSurface", "Collection", "StackContainer", "makeModule", "succeed", "contributes", "ReactSurface", "create", "id", "filter", "object", "Article", "component", "role", "data", "attendableId", "subject"]
7
+ }
@@ -0,0 +1,37 @@
1
+ // src/translations.ts
2
+ import { translations as stackTranslations } from "@dxos/react-ui-stack/translations";
3
+ import { meta } from "#meta";
4
+ var translations = [
5
+ {
6
+ "en-US": {
7
+ [meta.id]: {
8
+ "plugin.name": "Stacks",
9
+ "settings.title": "Stack settings",
10
+ "settings.separation.label": "Separate sections",
11
+ "settings.separation.description": "Add visual dividers between sections in stacks.",
12
+ "add-section-beforeAll-dialog.title": "Add a section to the start",
13
+ "add-section-afterAll-dialog.title": "Add a section to the end",
14
+ "add-section-before-dialog.title": "Add a section",
15
+ "add-section-after-dialog.title": "Add a section",
16
+ "add-section-input.placeholder": "Find the type of section to add",
17
+ "upload-file.label": "Add file",
18
+ "add-section.label": "Add section",
19
+ "empty-stack.message": "Drag objects into the stack.",
20
+ "remove-section.label": "Delete",
21
+ "navigate-to-section.label": "Navigate to object",
22
+ "untitled-section.title": "Untitled section",
23
+ "add-section-before.label": "Add before",
24
+ "add-section-after.label": "Add after",
25
+ "expand.label": "Expand",
26
+ "collapse.label": "Collapse",
27
+ "open-chat-thread.label": "Open chat thread",
28
+ "drag-handle.label": "Press space or enter to begin dragging this object."
29
+ }
30
+ }
31
+ },
32
+ ...stackTranslations
33
+ ];
34
+ export {
35
+ translations
36
+ };
37
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { translations as stackTranslations } from '@dxos/react-ui-stack/translations';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Stacks',\n 'settings.title': 'Stack settings',\n 'settings.separation.label': 'Separate sections',\n 'settings.separation.description': 'Add visual dividers between sections in stacks.',\n 'add-section-beforeAll-dialog.title': 'Add a section to the start',\n 'add-section-afterAll-dialog.title': 'Add a section to the end',\n 'add-section-before-dialog.title': 'Add a section',\n 'add-section-after-dialog.title': 'Add a section',\n 'add-section-input.placeholder': 'Find the type of section to add',\n 'upload-file.label': 'Add file',\n 'add-section.label': 'Add section',\n 'empty-stack.message': 'Drag objects into the stack.',\n 'remove-section.label': 'Delete',\n 'navigate-to-section.label': 'Navigate to object',\n 'untitled-section.title': 'Untitled section',\n 'add-section-before.label': 'Add before',\n 'add-section-after.label': 'Add after',\n 'expand.label': 'Expand',\n 'collapse.label': 'Collapse',\n 'open-chat-thread.label': 'Open chat thread',\n 'drag-handle.label': 'Press space or enter to begin dragging this object.',\n },\n },\n },\n ...stackTranslations,\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";AAKA,SAASA,gBAAgBC,yBAAyB;AAElD,SAASC,YAAY;AAEd,IAAMF,eAAe;EAC1B;IACE,SAAS;MACP,CAACE,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;QAC7B,mCAAmC;QACnC,sCAAsC;QACtC,qCAAqC;QACrC,mCAAmC;QACnC,kCAAkC;QAClC,iCAAiC;QACjC,qBAAqB;QACrB,qBAAqB;QACrB,uBAAuB;QACvB,wBAAwB;QACxB,6BAA6B;QAC7B,0BAA0B;QAC1B,4BAA4B;QAC5B,2BAA2B;QAC3B,gBAAgB;QAChB,kBAAkB;QAClB,0BAA0B;QAC1B,qBAAqB;MACvB;IACF;EACF;KACGF;;",
6
+ "names": ["translations", "stackTranslations", "meta", "id"]
7
+ }
@@ -0,0 +1,9 @@
1
+ import {
2
+ SectionSchema,
3
+ StackViewType
4
+ } from "../chunk-IPU3C6TT.mjs";
5
+ export {
6
+ SectionSchema,
7
+ StackViewType
8
+ };
9
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const StackPlugin: Plugin.PluginFactory<void>;
3
+ export default StackPlugin;
3
4
  //# sourceMappingURL=StackPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StackPlugin.d.ts","sourceRoot":"","sources":["../../../src/StackPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAU7C,eAAO,MAAM,WAAW,4BAsBvB,CAAC"}
1
+ {"version":3,"file":"StackPlugin.d.ts","sourceRoot":"","sources":["../../../src/StackPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQ7C,eAAO,MAAM,WAAW,4BAKvB,CAAC;eAEa,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAO/D,wBAaE"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import React, { type ComponentPropsWithoutRef } from 'react';
2
- export declare const CaretDownUp: ({ children, ...props }: ComponentPropsWithoutRef<"svg">) => React.JSX.Element;
2
+ export declare const CaretDownUp: ({ children, ...props }: ComponentPropsWithoutRef<'svg'>) => React.JSX.Element;
3
3
  //# sourceMappingURL=CaretDownUp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaretDownUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSection/CaretDownUp.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAE7D,eAAO,MAAM,WAAW,GAAI,wBAAwB,wBAAwB,CAAC,KAAK,CAAC,sBAuBlF,CAAC"}
1
+ {"version":3,"file":"CaretDownUp.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSection/CaretDownUp.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAE7D,eAAO,MAAM,WAAW,2BAA4B,wBAAwB,CAAC,KAAK,CAAC,sBAuBlF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSection/StackSection.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO/C,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY,GAAI,2CAK1B,iBAAiB,sBA6FnB,CAAC"}
1
+ {"version":3,"file":"StackSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSection/StackSection.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAUjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO/C,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY,8CAKtB,iBAAiB,sBA6FnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSettings/StackSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAe3E,CAAC"}
1
+ {"version":3,"file":"StackSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSettings/StackSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAEjD,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAe3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StackContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackContainer/StackContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AA8B7C,KAAK,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAEhF,eAAO,MAAM,cAAc,GAAI,uCAAuC,mBAAmB,sBA6HxF,CAAC"}
1
+ {"version":3,"file":"StackContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackContainer/StackContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAc,KAAK,UAAU,EAAiB,MAAM,YAAY,CAAC;AA8BxE,KAAK,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAEhF,eAAO,MAAM,cAAc,0CAA2C,mBAAmB,sBA6HxF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export * from './meta';
2
- export * from './StackPlugin';
2
+ export * from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const StackPlugin: Plugin.PluginFactory<void>;
3
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,WAAW,4BAA6C,CAAC"}
@@ -1,41 +1,40 @@
1
- import { meta } from '#meta';
2
1
  export declare const translations: [{
3
2
  readonly 'en-US': {
4
- readonly [meta.id]: {
5
- readonly 'plugin.name': "Stacks";
6
- readonly 'settings.title': "Stack settings";
7
- readonly 'settings.separation.label': "Separate sections";
8
- readonly 'settings.separation.description': "Add visual dividers between sections in stacks.";
9
- readonly 'add-section-beforeAll-dialog.title': "Add a section to the start";
10
- readonly 'add-section-afterAll-dialog.title': "Add a section to the end";
11
- readonly 'add-section-before-dialog.title': "Add a section";
12
- readonly 'add-section-after-dialog.title': "Add a section";
13
- readonly 'add-section-input.placeholder': "Find the type of section to add";
14
- readonly 'upload-file.label': "Add file";
15
- readonly 'add-section.label': "Add section";
16
- readonly 'empty-stack.message': "Drag objects into the stack.";
17
- readonly 'remove-section.label': "Delete";
18
- readonly 'navigate-to-section.label': "Navigate to object";
19
- readonly 'untitled-section.title': "Untitled section";
20
- readonly 'add-section-before.label': "Add before";
21
- readonly 'add-section-after.label': "Add after";
22
- readonly 'expand.label': "Expand";
23
- readonly 'collapse.label': "Collapse";
24
- readonly 'open-chat-thread.label': "Open chat thread";
25
- readonly 'drag-handle.label': "Press space or enter to begin dragging this object.";
3
+ readonly [x: string]: {
4
+ readonly 'plugin.name': 'Stacks';
5
+ readonly 'settings.title': 'Stack settings';
6
+ readonly 'settings.separation.label': 'Separate sections';
7
+ readonly 'settings.separation.description': 'Add visual dividers between sections in stacks.';
8
+ readonly 'add-section-beforeAll-dialog.title': 'Add a section to the start';
9
+ readonly 'add-section-afterAll-dialog.title': 'Add a section to the end';
10
+ readonly 'add-section-before-dialog.title': 'Add a section';
11
+ readonly 'add-section-after-dialog.title': 'Add a section';
12
+ readonly 'add-section-input.placeholder': 'Find the type of section to add';
13
+ readonly 'upload-file.label': 'Add file';
14
+ readonly 'add-section.label': 'Add section';
15
+ readonly 'empty-stack.message': 'Drag objects into the stack.';
16
+ readonly 'remove-section.label': 'Delete';
17
+ readonly 'navigate-to-section.label': 'Navigate to object';
18
+ readonly 'untitled-section.title': 'Untitled section';
19
+ readonly 'add-section-before.label': 'Add before';
20
+ readonly 'add-section-after.label': 'Add after';
21
+ readonly 'expand.label': 'Expand';
22
+ readonly 'collapse.label': 'Collapse';
23
+ readonly 'open-chat-thread.label': 'Open chat thread';
24
+ readonly 'drag-handle.label': 'Press space or enter to begin dragging this object.';
26
25
  };
27
26
  };
28
27
  }, {
29
28
  readonly 'en-US': {
30
29
  readonly "@dxos/react-ui-stack": {
31
- readonly "resize.label": "Drag to resize";
32
- readonly "drag-handle.label": "Drag to rearrange";
33
- readonly "pin-start.label": "Pin to the left sidebar";
34
- readonly "pin-end.label": "Pin to the right sidebar";
35
- readonly "increment-start.label": "Move to the left";
36
- readonly "increment-end.label": "Move to the right";
37
- readonly "close.label": "Close";
38
- readonly "minify.label": "Minify";
30
+ readonly 'resize.label': 'Drag to resize';
31
+ readonly 'drag-handle.label': 'Drag to rearrange';
32
+ readonly 'pin-start.label': 'Pin to the left sidebar';
33
+ readonly 'pin-end.label': 'Pin to the right sidebar';
34
+ readonly 'increment-start.label': 'Move to the left';
35
+ readonly 'increment-end.label': 'Move to the right';
36
+ readonly 'close.label': 'Close';
37
+ readonly 'minify.label': 'Minify';
39
38
  };
40
39
  };
41
40
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;UAsBR;;;;;;;;;;;;;;;EAIwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;;;oCAIF,QAAQ;uCACL,gBAAgB;kDACL,mBAAmB;wDACb,iDAAiD;2DAC9C,4BAA4B;0DAC7B,0BAA0B;wDAC5B,eAAe;uDAChB,eAAe;sDAChB,iCAAiC;0CAC7C,UAAU;0CACV,aAAa;4CACX,8BAA8B;6CAC7B,QAAQ;kDACH,oBAAoB;+CACvB,kBAAkB;iDAChB,YAAY;gDACb,WAAW;qCACtB,QAAQ;uCACN,UAAU;+CACF,kBAAkB;0CACvB,qDAAqD;;;;;;;;;;;;;;;;EAKnD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type Obj } from '@dxos/echo';
3
- import { type Collection } from '@dxos/echo';
2
+ import { type Collection, type Obj } from '@dxos/echo';
4
3
  import { type Label } from '@dxos/react-ui';
5
4
  import { type StackItemSize } from '@dxos/react-ui-stack';
6
5
  export type AddSectionPosition = 'before' | 'after' | 'beforeAll' | 'afterAll';
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAE/E,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,M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