@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.
- package/dist/lib/browser/{StackMain-VQUBQKYP.mjs → StackMain-6EC3A3IC.mjs} +8 -8
- package/dist/lib/browser/{chunk-XHZTILS3.mjs → chunk-FVB7LGW7.mjs} +2 -2
- package/dist/lib/browser/{chunk-KBJKTX5V.mjs → chunk-VDSBIEAC.mjs} +2 -2
- package/dist/lib/browser/index.mjs +10 -10
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-7NC5QPP4.mjs → react-surface-KLOW5O2E.mjs} +8 -8
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{StackMain-7L5JME2D.mjs → StackMain-G55P33OY.mjs} +8 -8
- package/dist/lib/node-esm/{chunk-KEWNJDTP.mjs → chunk-GOXSWCA4.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-YW7WYA4H.mjs → chunk-UN5PA7TK.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +10 -10
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-2ODZHHA7.mjs → react-surface-H33L4IMD.mjs} +8 -8
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/translations.d.ts +35 -35
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +25 -25
- package/src/StackPlugin.ts +1 -1
- package/src/translations.ts +5 -4
- package/dist/lib/node/StackMain-33HO2PMZ.cjs +0 -314
- package/dist/lib/node/StackMain-33HO2PMZ.cjs.map +0 -7
- package/dist/lib/node/chunk-F7ZNJ53O.cjs +0 -43
- package/dist/lib/node/chunk-F7ZNJ53O.cjs.map +0 -7
- package/dist/lib/node/chunk-R6Q5AF3V.cjs +0 -51
- package/dist/lib/node/chunk-R6Q5AF3V.cjs.map +0 -7
- package/dist/lib/node/index.cjs +0 -123
- package/dist/lib/node/index.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/react-surface-BUYFGQTR.cjs +0 -64
- package/dist/lib/node/react-surface-BUYFGQTR.cjs.map +0 -7
- package/dist/lib/node/types/index.cjs +0 -31
- package/dist/lib/node/types/index.cjs.map +0 -7
- /package/dist/lib/browser/{StackMain-VQUBQKYP.mjs.map → StackMain-6EC3A3IC.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-XHZTILS3.mjs.map → chunk-FVB7LGW7.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-KBJKTX5V.mjs.map → chunk-VDSBIEAC.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-7NC5QPP4.mjs.map → react-surface-KLOW5O2E.mjs.map} +0 -0
- /package/dist/lib/node-esm/{StackMain-7L5JME2D.mjs.map → StackMain-G55P33OY.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-KEWNJDTP.mjs.map → chunk-GOXSWCA4.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-YW7WYA4H.mjs.map → chunk-UN5PA7TK.mjs.map} +0 -0
- /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-
|
|
4
|
+
} from "./chunk-UN5PA7TK.mjs";
|
|
5
5
|
|
|
6
|
-
//
|
|
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
|
-
//
|
|
13
|
+
// src/components/index.ts
|
|
14
14
|
import { lazy } from "react";
|
|
15
15
|
|
|
16
|
-
//
|
|
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
|
-
//
|
|
23
|
-
var StackMain = lazy(() => import("./StackMain-
|
|
22
|
+
// src/components/index.ts
|
|
23
|
+
var StackMain = lazy(() => import("./StackMain-G55P33OY.mjs"));
|
|
24
24
|
|
|
25
|
-
//
|
|
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-
|
|
47
|
+
//# sourceMappingURL=react-surface-H33L4IMD.mjs.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
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
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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":"
|
|
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"}
|