@dxos/plugin-masonry 0.8.4-main.21d9917 → 0.8.4-main.2244d791bb
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/{chunk-2QCFP5QL.mjs → chunk-S5JKAK4O.mjs} +3 -3
- package/dist/lib/browser/chunk-S5JKAK4O.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +10 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-BNMIVM2K.mjs → react-surface-QKCNQ7HF.mjs} +11 -10
- package/dist/lib/browser/react-surface-QKCNQ7HF.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-6SGZVU7G.mjs → chunk-YNA44I6R.mjs} +3 -3
- package/dist/lib/node-esm/chunk-YNA44I6R.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +10 -9
- 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-OK33CG7H.mjs → react-surface-XG56AMA7.mjs} +11 -10
- package/dist/lib/node-esm/react-surface-XG56AMA7.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/MasonryPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/MasonryContainer.d.ts +1 -1
- package/dist/types/src/components/MasonryContainer.d.ts.map +1 -1
- package/dist/types/src/types/Masonry.d.ts +6 -6
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +28 -27
- package/src/MasonryPlugin.tsx +6 -5
- package/src/capabilities/react-surface/react-surface.tsx +4 -3
- package/src/components/MasonryContainer.stories.tsx +1 -1
- package/src/components/MasonryContainer.tsx +5 -5
- package/src/types/Masonry.ts +4 -4
- package/dist/lib/browser/chunk-2QCFP5QL.mjs.map +0 -7
- package/dist/lib/browser/react-surface-BNMIVM2K.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6SGZVU7G.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-OK33CG7H.mjs.map +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBAeE"}
|
|
@@ -5,7 +5,7 @@ export type MasonryContainerProps = {
|
|
|
5
5
|
view: View.View;
|
|
6
6
|
role?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const MasonryContainer: ({ view: viewOrRef, role, }: {
|
|
8
|
+
export declare const MasonryContainer: ({ view: viewOrRef, role: _role, }: {
|
|
9
9
|
view: View.View | Ref.Ref<View.View>;
|
|
10
10
|
role?: string;
|
|
11
11
|
}) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MasonryContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/MasonryContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAe,KAAK,GAAG,EAAQ,MAAM,YAAY,CAAC;AAKzD,OAAO,EAAE,KAAK,IAAI,EAAwB,MAAM,cAAc,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,
|
|
1
|
+
{"version":3,"file":"MasonryContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/MasonryContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAe,KAAK,GAAG,EAAQ,MAAM,YAAY,CAAC;AAKzD,OAAO,EAAE,KAAK,IAAI,EAAwB,MAAM,cAAc,CAAC;AAE/D,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mCAG9B;IACD,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,sBAsCA,CAAC"}
|
|
@@ -4,9 +4,9 @@ import { View } from '@dxos/schema';
|
|
|
4
4
|
export declare const Masonry: Type.Obj<{
|
|
5
5
|
readonly view: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & View.View>;
|
|
6
6
|
readonly name?: string | undefined;
|
|
7
|
-
readonly arrangement?: {
|
|
8
|
-
hidden?: boolean | undefined;
|
|
9
|
-
ids: readonly string[];
|
|
7
|
+
readonly arrangement?: readonly {
|
|
8
|
+
readonly hidden?: boolean | undefined;
|
|
9
|
+
readonly ids: readonly string[];
|
|
10
10
|
}[] | undefined;
|
|
11
11
|
}, Schema.Struct.Fields>;
|
|
12
12
|
export interface Masonry extends Schema.Schema.Type<typeof Masonry> {
|
|
@@ -19,9 +19,9 @@ type MakeProps = Omit<Partial<Obj.MakeProps<typeof Masonry>>, 'view'> & {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const make: ({ name, arrangement, view }: MakeProps) => Masonry;
|
|
21
21
|
export declare const MasonryV1: Type.Obj<{
|
|
22
|
-
readonly arrangement?: {
|
|
23
|
-
hidden?: boolean | undefined;
|
|
24
|
-
ids: readonly string[];
|
|
22
|
+
readonly arrangement?: readonly {
|
|
23
|
+
readonly hidden?: boolean | undefined;
|
|
24
|
+
readonly ids: readonly string[];
|
|
25
25
|
}[] | undefined;
|
|
26
26
|
}, Schema.Struct.Fields>;
|
|
27
27
|
export {};
|