@dxos/plugin-stack 0.8.4-main.4a85c3132b → 0.8.4-main.51f1e5ca51
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/index.mjs +21 -47
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/translations.mjs +37 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +21 -4
- package/dist/lib/browser/types/index.mjs.map +4 -4
- package/dist/lib/node-esm/index.mjs +22 -47
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/translations.mjs +39 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +22 -4
- package/dist/lib/node-esm/types/index.mjs.map +4 -4
- package/dist/types/src/capabilities/index.d.ts +2 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/{StackContext.d.ts → StackContext/StackContext.d.ts} +2 -1
- package/dist/types/src/components/StackContext/StackContext.d.ts.map +1 -0
- package/dist/types/src/components/StackContext/index.d.ts +2 -0
- package/dist/types/src/components/StackContext/index.d.ts.map +1 -0
- package/dist/types/src/components/{CaretDownUp.d.ts → StackSection/CaretDownUp.d.ts} +1 -1
- package/dist/types/src/components/StackSection/CaretDownUp.d.ts.map +1 -0
- package/dist/types/src/components/{StackSection.d.ts → StackSection/StackSection.d.ts} +1 -1
- package/dist/types/src/components/StackSection/StackSection.d.ts.map +1 -0
- package/dist/types/src/components/StackSection/index.d.ts +2 -0
- package/dist/types/src/components/StackSection/index.d.ts.map +1 -0
- package/dist/types/src/components/{StackSettings.d.ts → StackSettings/StackSettings.d.ts} +1 -1
- package/dist/types/src/components/StackSettings/StackSettings.d.ts.map +1 -0
- package/dist/types/src/components/StackSettings/index.d.ts +2 -0
- package/dist/types/src/components/StackSettings/index.d.ts.map +1 -0
- package/dist/types/src/containers/StackContainer/StackContainer.d.ts +3 -5
- package/dist/types/src/containers/StackContainer/StackContainer.d.ts.map +1 -1
- package/dist/types/src/containers/StackContainer/index.d.ts +1 -2
- package/dist/types/src/containers/StackContainer/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -1
- package/dist/types/src/translations.d.ts +30 -30
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +43 -36
- package/src/StackPlugin.ts +4 -4
- package/src/capabilities/index.ts +3 -1
- package/src/capabilities/react-surface.tsx +28 -0
- package/src/components/{StackContext.tsx → StackContext/StackContext.tsx} +3 -1
- package/src/components/StackContext/index.ts +5 -0
- package/src/components/{StackSection.tsx → StackSection/StackSection.tsx} +23 -20
- package/src/components/StackSection/index.ts +5 -0
- package/src/components/StackSettings/StackSettings.tsx +28 -0
- package/src/components/StackSettings/index.ts +5 -0
- package/src/containers/StackContainer/StackContainer.tsx +29 -28
- package/src/containers/StackContainer/index.ts +1 -3
- package/src/meta.ts +2 -2
- package/src/translations.ts +23 -22
- package/src/types/stack.ts +1 -1
- package/dist/lib/browser/StackContainer-BIFUBD3Y.mjs +0 -289
- package/dist/lib/browser/StackContainer-BIFUBD3Y.mjs.map +0 -7
- package/dist/lib/browser/chunk-4X7CK6FM.mjs +0 -21
- package/dist/lib/browser/chunk-4X7CK6FM.mjs.map +0 -7
- package/dist/lib/browser/chunk-CD32XYEB.mjs +0 -27
- package/dist/lib/browser/chunk-CD32XYEB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-PVND4UCN.mjs +0 -34
- package/dist/lib/browser/react-surface-PVND4UCN.mjs.map +0 -7
- package/dist/lib/node-esm/StackContainer-7XVJHW4D.mjs +0 -290
- package/dist/lib/node-esm/StackContainer-7XVJHW4D.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-26XWE7UY.mjs +0 -29
- package/dist/lib/node-esm/chunk-26XWE7UY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HEEGXPSW.mjs +0 -23
- package/dist/lib/node-esm/chunk-HEEGXPSW.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-SZETVRAZ.mjs +0 -35
- package/dist/lib/node-esm/react-surface-SZETVRAZ.mjs.map +0 -7
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/CaretDownUp.d.ts.map +0 -1
- package/dist/types/src/components/StackContext.d.ts.map +0 -1
- package/dist/types/src/components/StackSection.d.ts.map +0 -1
- package/dist/types/src/components/StackSettings.d.ts.map +0 -1
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/react-surface/react-surface.tsx +0 -34
- package/src/components/StackSettings.tsx +0 -30
- /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
- /package/src/components/{CaretDownUp.tsx → StackSection/CaretDownUp.tsx} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSection/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +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,iBAAkB;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAe3E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/StackSettings/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
3
|
import { type Collection } from '@dxos/echo';
|
|
4
|
-
type StackContainerProps =
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export declare const StackContainer: ({ id, subject: collection }: StackContainerProps) => React.JSX.Element;
|
|
4
|
+
type StackContainerProps = AppSurface.ObjectArticleProps<Collection.Collection>;
|
|
5
|
+
export declare const StackContainer: ({ attendableId, subject: collection }: StackContainerProps) => React.JSX.Element;
|
|
8
6
|
export {};
|
|
9
7
|
//# sourceMappingURL=StackContainer.d.ts.map
|
|
@@ -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,
|
|
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,0CAA2C,mBAAmB,sBA6HxF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StackContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type Plugin } from '@dxos/app-framework';
|
|
2
|
-
export declare const SECTION_IDENTIFIER = "dxos.
|
|
2
|
+
export declare const SECTION_IDENTIFIER = "org.dxos.type.stackSection";
|
|
3
3
|
export declare const meta: Plugin.Meta;
|
|
4
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { meta } from './meta';
|
|
2
1
|
export declare const translations: [{
|
|
3
2
|
readonly 'en-US': {
|
|
4
|
-
readonly [
|
|
5
|
-
readonly 'plugin
|
|
6
|
-
readonly 'settings
|
|
7
|
-
readonly 'settings
|
|
8
|
-
readonly '
|
|
9
|
-
readonly 'add
|
|
10
|
-
readonly 'add
|
|
11
|
-
readonly 'add
|
|
12
|
-
readonly 'add
|
|
13
|
-
readonly '
|
|
14
|
-
readonly '
|
|
15
|
-
readonly '
|
|
16
|
-
readonly '
|
|
17
|
-
readonly '
|
|
18
|
-
readonly '
|
|
19
|
-
readonly '
|
|
20
|
-
readonly 'add
|
|
21
|
-
readonly '
|
|
22
|
-
readonly '
|
|
23
|
-
readonly '
|
|
24
|
-
readonly '
|
|
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.';
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
}, {
|
|
28
28
|
readonly 'en-US': {
|
|
29
29
|
readonly "@dxos/react-ui-stack": {
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
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';
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
}];
|
|
@@ -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":"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"}
|