@dxos/react-ui-stack 0.8.1-main.ae460ac → 0.8.1-main.ba2dec9
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/types/src/components/MenuSignifier.d.ts +3 -2
- package/dist/types/src/components/MenuSignifier.d.ts.map +1 -1
- package/dist/types/src/components/Stack.stories.d.ts +2 -1
- package/dist/types/src/components/Stack.stories.d.ts.map +1 -1
- package/dist/types/src/components/StackItem.d.ts +3 -3
- package/dist/types/src/components/StackItemDragHandle.d.ts +2 -2
- package/dist/types/src/components/StackItemDragHandle.d.ts.map +1 -1
- package/dist/types/src/components/StackItemHeading.d.ts +1 -1
- package/dist/types/src/components/StackItemHeading.d.ts.map +1 -1
- package/dist/types/src/components/StackItemResizeHandle.d.ts +2 -1
- package/dist/types/src/components/StackItemResizeHandle.d.ts.map +1 -1
- package/package.json +20 -20
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const MenuSignifierHorizontal: () => React.JSX.Element;
|
|
3
|
+
export declare const MenuSignifierVertical: () => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=MenuSignifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSignifier.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuSignifier.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuSignifier.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuSignifier.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,uBAAuB,yBAoBnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,yBAIjC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Meta, type StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const StorybookStack: () => React.JSX.Element;
|
|
3
4
|
type Story = StoryObj<typeof StorybookStack>;
|
|
4
5
|
export declare const Default: Story;
|
|
5
6
|
declare const meta: Meta<typeof StorybookStack>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Stack.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Stack.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAgC,MAAM,OAAO,CAAC;AAuBrD,QAAA,MAAM,cAAc,yBAwFnB,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAKrC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -27,10 +27,10 @@ export declare const StackItem: {
|
|
|
27
27
|
statusbar?: boolean;
|
|
28
28
|
size?: "intrinsic" | "video" | "square";
|
|
29
29
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
Heading: ({ children, classNames, ...props }: StackItemHeadingProps) =>
|
|
30
|
+
Heading: ({ children, classNames, ...props }: StackItemHeadingProps) => React.JSX.Element;
|
|
31
31
|
HeadingLabel: React.ForwardRefExoticComponent<Omit<StackItemHeadingLabelProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
-
ResizeHandle: () =>
|
|
33
|
-
DragHandle: ({ asChild, children }: StackItemDragHandleProps) =>
|
|
32
|
+
ResizeHandle: () => React.JSX.Element;
|
|
33
|
+
DragHandle: ({ asChild, children }: StackItemDragHandleProps) => React.JSX.Element;
|
|
34
34
|
Sigil: React.ForwardRefExoticComponent<{
|
|
35
35
|
attendableId?: string;
|
|
36
36
|
triggerLabel: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ComponentPropsWithoutRef } from 'react';
|
|
1
|
+
import React, { type ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export type StackItemDragHandleProps = ComponentPropsWithoutRef<'button'> & {
|
|
3
3
|
asChild: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const StackItemDragHandle: ({ asChild, children }: StackItemDragHandleProps) =>
|
|
5
|
+
export declare const StackItemDragHandle: ({ asChild, children }: StackItemDragHandleProps) => React.JSX.Element;
|
|
6
6
|
//# sourceMappingURL=StackItemDragHandle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackItemDragHandle.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemDragHandle.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"StackItemDragHandle.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemDragHandle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEjG,eAAO,MAAM,mBAAmB,0BAA2B,wBAAwB,sBAUlF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React, { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from
|
|
|
2
2
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
3
|
import { type AttendableId, type Related } from '@dxos/react-ui-attention';
|
|
4
4
|
export type StackItemHeadingProps = ThemedClassName<ComponentPropsWithoutRef<'div'>>;
|
|
5
|
-
export declare const StackItemHeading: ({ children, classNames, ...props }: StackItemHeadingProps) =>
|
|
5
|
+
export declare const StackItemHeading: ({ children, classNames, ...props }: StackItemHeadingProps) => React.JSX.Element;
|
|
6
6
|
export type StackItemHeadingLabelProps = ThemedClassName<ComponentPropsWithRef<'h1'>> & AttendableId & Related;
|
|
7
7
|
export declare const StackItemHeadingLabel: React.ForwardRefExoticComponent<Omit<StackItemHeadingLabelProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
8
8
|
//# sourceMappingURL=StackItemHeading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackItemHeading.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemHeading.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAErG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAgB,KAAK,YAAY,EAAE,KAAK,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKzF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAErF,eAAO,MAAM,gBAAgB,uCAAwC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"StackItemHeading.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemHeading.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAErG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAgB,KAAK,YAAY,EAAE,KAAK,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAKzF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;AAErF,eAAO,MAAM,gBAAgB,uCAAwC,qBAAqB,sBAkBzF,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,GAAG,YAAY,GAAG,OAAO,CAAC;AAE/G,eAAO,MAAM,qBAAqB,oHAejC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export type StackItemResizeHandleProps = {};
|
|
2
|
-
export declare const StackItemResizeHandle: () =>
|
|
3
|
+
export declare const StackItemResizeHandle: () => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=StackItemResizeHandle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackItemResizeHandle.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemResizeHandle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StackItemResizeHandle.d.ts","sourceRoot":"","sources":["../../../../src/components/StackItemResizeHandle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE5C,eAAO,MAAM,qBAAqB,yBAajC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-stack",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.ba2dec9",
|
|
4
4
|
"description": "A stack component.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"@radix-ui/react-slot": "1.1.2",
|
|
48
48
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
49
49
|
"react-resize-detector": "^11.0.1",
|
|
50
|
-
"@dxos/echo-schema": "0.8.1-main.
|
|
51
|
-
"@dxos/keyboard": "0.8.1-main.
|
|
52
|
-
"@dxos/live-object": "0.8.1-main.
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/react-ui-
|
|
55
|
-
"@dxos/
|
|
50
|
+
"@dxos/echo-schema": "0.8.1-main.ba2dec9",
|
|
51
|
+
"@dxos/keyboard": "0.8.1-main.ba2dec9",
|
|
52
|
+
"@dxos/live-object": "0.8.1-main.ba2dec9",
|
|
53
|
+
"@dxos/util": "0.8.1-main.ba2dec9",
|
|
54
|
+
"@dxos/react-ui-attention": "0.8.1-main.ba2dec9",
|
|
55
|
+
"@dxos/react-ui-dnd": "0.8.1-main.ba2dec9"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -61,24 +61,24 @@
|
|
|
61
61
|
"react": "~18.2.0",
|
|
62
62
|
"react-dom": "~18.2.0",
|
|
63
63
|
"vite": "5.4.7",
|
|
64
|
-
"@dxos/app-graph": "0.8.1-main.
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/random": "0.8.1-main.
|
|
68
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
69
|
-
"@dxos/react-ui
|
|
70
|
-
"@dxos/react-ui-theme": "0.8.1-main.
|
|
71
|
-
"@dxos/storybook-utils": "0.8.1-main.
|
|
72
|
-
"@dxos/test-utils": "0.8.1-main.
|
|
64
|
+
"@dxos/app-graph": "0.8.1-main.ba2dec9",
|
|
65
|
+
"@dxos/client": "0.8.1-main.ba2dec9",
|
|
66
|
+
"@dxos/echo-schema": "0.8.1-main.ba2dec9",
|
|
67
|
+
"@dxos/random": "0.8.1-main.ba2dec9",
|
|
68
|
+
"@dxos/react-ui-editor": "0.8.1-main.ba2dec9",
|
|
69
|
+
"@dxos/react-ui": "0.8.1-main.ba2dec9",
|
|
70
|
+
"@dxos/react-ui-theme": "0.8.1-main.ba2dec9",
|
|
71
|
+
"@dxos/storybook-utils": "0.8.1-main.ba2dec9",
|
|
72
|
+
"@dxos/test-utils": "0.8.1-main.ba2dec9"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@phosphor-icons/react": "^2.1.5",
|
|
76
76
|
"react": "~18.2.0",
|
|
77
77
|
"react-dom": "~18.2.0",
|
|
78
|
-
"@dxos/client": "0.8.1-main.
|
|
79
|
-
"@dxos/random": "0.8.1-main.
|
|
80
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
81
|
-
"@dxos/react-ui-theme": "0.8.1-main.
|
|
78
|
+
"@dxos/client": "0.8.1-main.ba2dec9",
|
|
79
|
+
"@dxos/random": "0.8.1-main.ba2dec9",
|
|
80
|
+
"@dxos/react-ui": "0.8.1-main.ba2dec9",
|
|
81
|
+
"@dxos/react-ui-theme": "0.8.1-main.ba2dec9"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|