@dxos/react-client 0.6.9 → 0.6.10-main.3cfcc89
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/client/ClientContext.stories.d.ts +1 -1
- package/dist/types/src/client/ClientContext.stories.d.ts.map +1 -1
- package/dist/types/src/testing/decorators.stories.d.ts +1 -1
- package/dist/types/src/testing/decorators.stories.d.ts.map +1 -1
- package/package.json +20 -20
- package/project.json +1 -1
- package/src/client/ClientContext.stories.tsx +1 -1
- package/src/testing/decorators.stories.tsx +1 -1
- package/dist/types/src/testing/FullscreenDecorator.d.ts +0 -9
- package/dist/types/src/testing/FullscreenDecorator.d.ts.map +0 -1
- package/src/testing/FullscreenDecorator.tsx +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientContext.stories.d.ts","sourceRoot":"","sources":["../../../../src/client/ClientContext.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"ClientContext.stories.d.ts","sourceRoot":"","sources":["../../../../src/client/ClientContext.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAA4C,MAAM,OAAO,CAAC;;;;;;AAQjE,wBAIE;AAoCF,eAAO,MAAM,OAAO;;CAMnB,CAAC;AAyBF,eAAO,MAAM,KAAK;;CAQjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/decorators.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"decorators.stories.d.ts","sourceRoot":"","sources":["../../../../src/testing/decorators.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;AAS1B,wBAGE;AAsBF,eAAO,MAAM,UAAU;;CAEtB,CAAC;AAkBF,eAAO,MAAM,eAAe;;CAE3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-client",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10-main.3cfcc89",
|
|
4
4
|
"description": "React client API",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -91,18 +91,18 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@dxos/
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/
|
|
98
|
-
"@dxos/
|
|
99
|
-
"@dxos/
|
|
100
|
-
"@dxos/echo-signals": "0.6.
|
|
101
|
-
"@dxos/invariant": "0.6.
|
|
102
|
-
"@dxos/
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/react-async": "0.6.
|
|
105
|
-
"@dxos/util": "0.6.
|
|
94
|
+
"@dxos/async": "0.6.10-main.3cfcc89",
|
|
95
|
+
"@dxos/codec-protobuf": "0.6.10-main.3cfcc89",
|
|
96
|
+
"@dxos/config": "0.6.10-main.3cfcc89",
|
|
97
|
+
"@dxos/client": "0.6.10-main.3cfcc89",
|
|
98
|
+
"@dxos/debug": "0.6.10-main.3cfcc89",
|
|
99
|
+
"@dxos/echo-schema": "0.6.10-main.3cfcc89",
|
|
100
|
+
"@dxos/echo-signals": "0.6.10-main.3cfcc89",
|
|
101
|
+
"@dxos/invariant": "0.6.10-main.3cfcc89",
|
|
102
|
+
"@dxos/log": "0.6.10-main.3cfcc89",
|
|
103
|
+
"@dxos/node-std": "0.6.10-main.3cfcc89",
|
|
104
|
+
"@dxos/react-async": "0.6.10-main.3cfcc89",
|
|
105
|
+
"@dxos/util": "0.6.10-main.3cfcc89"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@testing-library/dom": "^8.17.1",
|
|
@@ -112,19 +112,19 @@
|
|
|
112
112
|
"@types/react-dom": "~18.2.0",
|
|
113
113
|
"react": "~18.2.0",
|
|
114
114
|
"react-dom": "~18.2.0",
|
|
115
|
-
"@dxos/random": "0.6.
|
|
116
|
-
"@dxos/react-ui": "0.6.
|
|
117
|
-
"@dxos/react-ui-theme": "0.6.
|
|
118
|
-
"@dxos/storybook-utils": "0.6.
|
|
115
|
+
"@dxos/random": "0.6.10-main.3cfcc89",
|
|
116
|
+
"@dxos/react-ui": "0.6.10-main.3cfcc89",
|
|
117
|
+
"@dxos/react-ui-theme": "0.6.10-main.3cfcc89",
|
|
118
|
+
"@dxos/storybook-utils": "0.6.10-main.3cfcc89"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
121
|
"react": "^18.0.0",
|
|
122
122
|
"react-dom": "^18.0.0",
|
|
123
|
-
"@dxos/react-ui": "0.6.
|
|
124
|
-
"@dxos/react-ui-theme": "0.6.
|
|
123
|
+
"@dxos/react-ui": "0.6.10-main.3cfcc89",
|
|
124
|
+
"@dxos/react-ui-theme": "0.6.10-main.3cfcc89"
|
|
125
125
|
},
|
|
126
126
|
"optionalDependencies": {
|
|
127
|
-
"@dxos/random": "0.6.
|
|
127
|
+
"@dxos/random": "0.6.10-main.3cfcc89"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": {
|
|
130
130
|
"access": "public"
|
package/project.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DecoratorFunction } from '@storybook/csf';
|
|
2
|
-
import type { ReactRenderer } from '@storybook/react';
|
|
3
|
-
import { type ClassNameValue, type Density } from '@dxos/react-ui';
|
|
4
|
-
export type RootDecoratorProps = {
|
|
5
|
-
classNames?: ClassNameValue;
|
|
6
|
-
density?: Density;
|
|
7
|
-
};
|
|
8
|
-
export declare const FullscreenDecorator: ({ classNames, density, }?: RootDecoratorProps) => DecoratorFunction<ReactRenderer>;
|
|
9
|
-
//# sourceMappingURL=FullscreenDecorator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullscreenDecorator.d.ts","sourceRoot":"","sources":["../../../../src/testing/FullscreenDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,EAAmB,MAAM,gBAAgB,CAAC;AAGpF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,8BAG7B,kBAAkB,KAAQ,iBAAiB,CAAC,aAAa,CAQ3D,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2023 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import type { DecoratorFunction } from '@storybook/csf';
|
|
6
|
-
import type { ReactRenderer } from '@storybook/react';
|
|
7
|
-
import React from 'react';
|
|
8
|
-
|
|
9
|
-
import { type ClassNameValue, type Density, DensityProvider } from '@dxos/react-ui';
|
|
10
|
-
import { mx } from '@dxos/react-ui-theme';
|
|
11
|
-
|
|
12
|
-
export type RootDecoratorProps = {
|
|
13
|
-
classNames?: ClassNameValue;
|
|
14
|
-
density?: Density;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const FullscreenDecorator = ({
|
|
18
|
-
classNames,
|
|
19
|
-
density = 'fine',
|
|
20
|
-
}: RootDecoratorProps = {}): DecoratorFunction<ReactRenderer> => {
|
|
21
|
-
return (Story) => (
|
|
22
|
-
<div role='none' className={mx('fixed flex inset-0 overflow-hidden', classNames)}>
|
|
23
|
-
<DensityProvider density={density}>
|
|
24
|
-
<Story />
|
|
25
|
-
</DensityProvider>
|
|
26
|
-
</div>
|
|
27
|
-
);
|
|
28
|
-
};
|