@dxos/plugin-stack 0.8.3-staging.0fa589b → 0.8.4-main.84f28bd

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 (43) hide show
  1. package/dist/lib/browser/{StackMain-VQUBQKYP.mjs → StackMain-6EC3A3IC.mjs} +8 -8
  2. package/dist/lib/browser/{chunk-XHZTILS3.mjs → chunk-FVB7LGW7.mjs} +2 -2
  3. package/dist/lib/browser/{chunk-KBJKTX5V.mjs → chunk-VDSBIEAC.mjs} +2 -2
  4. package/dist/lib/browser/index.mjs +10 -10
  5. package/dist/lib/browser/index.mjs.map +3 -3
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/browser/{react-surface-7NC5QPP4.mjs → react-surface-KLOW5O2E.mjs} +8 -8
  8. package/dist/lib/browser/types/index.mjs +1 -1
  9. package/dist/lib/node-esm/{StackMain-7L5JME2D.mjs → StackMain-G55P33OY.mjs} +8 -8
  10. package/dist/lib/node-esm/{chunk-KEWNJDTP.mjs → chunk-GOXSWCA4.mjs} +2 -2
  11. package/dist/lib/node-esm/{chunk-YW7WYA4H.mjs → chunk-UN5PA7TK.mjs} +2 -2
  12. package/dist/lib/node-esm/index.mjs +10 -10
  13. package/dist/lib/node-esm/index.mjs.map +3 -3
  14. package/dist/lib/node-esm/meta.json +1 -1
  15. package/dist/lib/node-esm/{react-surface-2ODZHHA7.mjs → react-surface-H33L4IMD.mjs} +8 -8
  16. package/dist/lib/node-esm/types/index.mjs +1 -1
  17. package/dist/types/src/translations.d.ts +35 -35
  18. package/dist/types/src/translations.d.ts.map +1 -1
  19. package/dist/types/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +25 -25
  21. package/src/StackPlugin.ts +1 -1
  22. package/src/translations.ts +5 -4
  23. package/dist/lib/node/StackMain-33HO2PMZ.cjs +0 -314
  24. package/dist/lib/node/StackMain-33HO2PMZ.cjs.map +0 -7
  25. package/dist/lib/node/chunk-F7ZNJ53O.cjs +0 -43
  26. package/dist/lib/node/chunk-F7ZNJ53O.cjs.map +0 -7
  27. package/dist/lib/node/chunk-R6Q5AF3V.cjs +0 -51
  28. package/dist/lib/node/chunk-R6Q5AF3V.cjs.map +0 -7
  29. package/dist/lib/node/index.cjs +0 -123
  30. package/dist/lib/node/index.cjs.map +0 -7
  31. package/dist/lib/node/meta.json +0 -1
  32. package/dist/lib/node/react-surface-BUYFGQTR.cjs +0 -64
  33. package/dist/lib/node/react-surface-BUYFGQTR.cjs.map +0 -7
  34. package/dist/lib/node/types/index.cjs +0 -31
  35. package/dist/lib/node/types/index.cjs.map +0 -7
  36. /package/dist/lib/browser/{StackMain-VQUBQKYP.mjs.map → StackMain-6EC3A3IC.mjs.map} +0 -0
  37. /package/dist/lib/browser/{chunk-XHZTILS3.mjs.map → chunk-FVB7LGW7.mjs.map} +0 -0
  38. /package/dist/lib/browser/{chunk-KBJKTX5V.mjs.map → chunk-VDSBIEAC.mjs.map} +0 -0
  39. /package/dist/lib/browser/{react-surface-7NC5QPP4.mjs.map → react-surface-KLOW5O2E.mjs.map} +0 -0
  40. /package/dist/lib/node-esm/{StackMain-7L5JME2D.mjs.map → StackMain-G55P33OY.mjs.map} +0 -0
  41. /package/dist/lib/node-esm/{chunk-KEWNJDTP.mjs.map → chunk-GOXSWCA4.mjs.map} +0 -0
  42. /package/dist/lib/node-esm/{chunk-YW7WYA4H.mjs.map → chunk-UN5PA7TK.mjs.map} +0 -0
  43. /package/dist/lib/node-esm/{react-surface-2ODZHHA7.mjs.map → react-surface-H33L4IMD.mjs.map} +0 -0
@@ -1,28 +1,28 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  STACK_PLUGIN
4
- } from "./chunk-YW7WYA4H.mjs";
4
+ } from "./chunk-UN5PA7TK.mjs";
5
5
 
6
- // packages/plugins/plugin-stack/src/capabilities/react-surface.tsx
6
+ // src/capabilities/react-surface.tsx
7
7
  import React2 from "react";
8
8
  import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
9
9
  import { Obj } from "@dxos/echo";
10
10
  import { fullyQualifiedId } from "@dxos/react-client/echo";
11
11
  import { DataType } from "@dxos/schema";
12
12
 
13
- // packages/plugins/plugin-stack/src/components/index.ts
13
+ // src/components/index.ts
14
14
  import { lazy } from "react";
15
15
 
16
- // packages/plugins/plugin-stack/src/components/StackSettings.tsx
16
+ // src/components/StackSettings.tsx
17
17
  import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
18
18
  import React from "react";
19
19
  import { Input, useTranslation } from "@dxos/react-ui";
20
20
  import { DeprecatedFormContainer, DeprecatedFormInput } from "@dxos/react-ui-form";
21
21
 
22
- // packages/plugins/plugin-stack/src/components/index.ts
23
- var StackMain = lazy(() => import("./StackMain-7L5JME2D.mjs"));
22
+ // src/components/index.ts
23
+ var StackMain = lazy(() => import("./StackMain-G55P33OY.mjs"));
24
24
 
25
- // packages/plugins/plugin-stack/src/capabilities/react-surface.tsx
25
+ // src/capabilities/react-surface.tsx
26
26
  var react_surface_default = () => contributes(Capabilities.ReactSurface, createSurface({
27
27
  id: `${STACK_PLUGIN}/article`,
28
28
  role: "article",
@@ -44,4 +44,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, createS
44
44
  export {
45
45
  react_surface_default as default
46
46
  };
47
- //# sourceMappingURL=react-surface-2ODZHHA7.mjs.map
47
+ //# sourceMappingURL=react-surface-H33L4IMD.mjs.map
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
2
2
  import {
3
3
  SectionSchema,
4
4
  StackViewType
5
- } from "../chunk-KEWNJDTP.mjs";
5
+ } from "../chunk-GOXSWCA4.mjs";
6
6
  export {
7
7
  SectionSchema,
8
8
  StackViewType
@@ -1,40 +1,40 @@
1
- declare const _default: ({
2
- 'en-US': {
3
- stack: {
4
- "resize label": string;
5
- "drag handle label": string;
6
- "pin start label": string;
7
- "pin end label": string;
8
- "increment start label": string;
9
- "increment end label": string;
10
- "close label": string;
11
- "minify label": string;
1
+ import { meta } from './meta';
2
+ export declare const translations: [{
3
+ readonly 'en-US': {
4
+ readonly [meta.id]: {
5
+ readonly 'plugin name': "Stacks";
6
+ readonly 'settings separation label': "Separate sections";
7
+ readonly 'add section beforeAll dialog title': "Add a section to the start";
8
+ readonly 'add section afterAll dialog title': "Add a section to the end";
9
+ readonly 'add section before dialog title': "Add a section";
10
+ readonly 'add section after dialog title': "Add a section";
11
+ readonly 'add section input placeholder': "Find the type of section to add";
12
+ readonly 'upload file label': "Add file";
13
+ readonly 'add section label': "Add section";
14
+ readonly 'empty stack message': "Drag items into the stack.";
15
+ readonly 'remove section label': "Delete";
16
+ readonly 'navigate to section label': "Navigate to item";
17
+ readonly 'untitled section title': "Untitled section";
18
+ readonly 'add section before label': "Add before";
19
+ readonly 'add section after label': "Add after";
20
+ readonly 'expand label': "Expand";
21
+ readonly 'collapse label': "Collapse";
22
+ readonly 'open chat thread label': "Open chat thread";
23
+ readonly 'drag handle label': "Press space or enter to begin dragging this item.";
12
24
  };
13
25
  };
14
- } | {
15
- 'en-US': {
16
- "dxos.org/plugin/stack": {
17
- 'plugin name': string;
18
- 'settings separation label': string;
19
- 'add section beforeAll dialog title': string;
20
- 'add section afterAll dialog title': string;
21
- 'add section before dialog title': string;
22
- 'add section after dialog title': string;
23
- 'add section input placeholder': string;
24
- 'upload file label': string;
25
- 'add section label': string;
26
- 'empty stack message': string;
27
- 'remove section label': string;
28
- 'navigate to section label': string;
29
- 'untitled section title': string;
30
- 'add section before label': string;
31
- 'add section after label': string;
32
- 'expand label': string;
33
- 'collapse label': string;
34
- 'open chat thread label': string;
35
- 'drag handle label': string;
26
+ }, {
27
+ readonly 'en-US': {
28
+ readonly "react-ui-stack": {
29
+ readonly "resize label": "Drag to resize";
30
+ readonly "drag handle label": "Drag to rearrange";
31
+ readonly "pin start label": "Pin to the left sidebar";
32
+ readonly "pin end label": "Pin to the right sidebar";
33
+ readonly "increment start label": "Move to the left";
34
+ readonly "increment end label": "Move to the right";
35
+ readonly "close label": "Close";
36
+ readonly "minify label": "Minify";
36
37
  };
37
38
  };
38
- })[];
39
- export default _default;
39
+ }];
40
40
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA2BE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;UAoBR;;;;;;;;;;;;;;;EAIwB,CAAC"}