@dxos/plugin-status-bar 0.8.4-main.b97322e → 0.8.4-main.f5c0578
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-32FBOE6I.mjs → chunk-REUIFFYV.mjs} +2 -2
- package/dist/lib/browser/{chunk-32FBOE6I.mjs.map → chunk-REUIFFYV.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +3 -3
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-P7CEMQU3.mjs → react-surface-7JNK62EU.mjs} +3 -3
- package/dist/lib/{node-esm/react-surface-U7DLJKU6.mjs.map → browser/react-surface-7JNK62EU.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-IQXGCBGU.mjs → chunk-XB3RMJB5.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-IQXGCBGU.mjs.map → chunk-XB3RMJB5.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +3 -3
- 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-U7DLJKU6.mjs → react-surface-JKVSKCPQ.mjs} +3 -3
- package/dist/lib/{browser/react-surface-P7CEMQU3.mjs.map → node-esm/react-surface-JKVSKCPQ.mjs.map} +3 -3
- package/dist/types/src/components/StatusBar.d.ts.map +1 -1
- package/dist/types/src/components/StatusBarPanel.d.ts.map +1 -1
- package/dist/types/src/components/VersionNumber.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -15
- package/src/StatusBarPlugin.ts +1 -1
- package/src/capabilities/react-surface.tsx +1 -1
- package/src/components/StatusBar.tsx +1 -1
- package/src/components/StatusBarPanel.tsx +2 -1
- package/src/components/VersionNumber.tsx +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-status-bar",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.f5c0578",
|
|
4
4
|
"description": "Status bar plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
+
"source": "./src/index.ts",
|
|
13
14
|
"types": "./dist/types/src/index.d.ts",
|
|
14
15
|
"browser": "./dist/lib/browser/index.mjs",
|
|
15
16
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
@@ -29,16 +30,16 @@
|
|
|
29
30
|
"@preact/signals-core": "^1.9.0",
|
|
30
31
|
"@radix-ui/react-slot": "1.1.2",
|
|
31
32
|
"date-fns": "^3.3.1",
|
|
32
|
-
"effect": "3.17.
|
|
33
|
+
"effect": "3.17.7",
|
|
33
34
|
"react-resize-detector": "^11.0.1",
|
|
34
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/echo-schema": "0.8.4-main.
|
|
38
|
-
"@dxos/plugin-observability": "0.8.4-main.
|
|
39
|
-
"@dxos/react-client": "0.8.4-main.
|
|
40
|
-
"@dxos/react-ui-form": "0.8.4-main.
|
|
41
|
-
"@dxos/schema": "0.8.4-main.
|
|
35
|
+
"@dxos/app-framework": "0.8.4-main.f5c0578",
|
|
36
|
+
"@dxos/async": "0.8.4-main.f5c0578",
|
|
37
|
+
"@dxos/echo": "0.8.4-main.f5c0578",
|
|
38
|
+
"@dxos/echo-schema": "0.8.4-main.f5c0578",
|
|
39
|
+
"@dxos/plugin-observability": "0.8.4-main.f5c0578",
|
|
40
|
+
"@dxos/react-client": "0.8.4-main.f5c0578",
|
|
41
|
+
"@dxos/react-ui-form": "0.8.4-main.f5c0578",
|
|
42
|
+
"@dxos/schema": "0.8.4-main.f5c0578"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@types/react": "~18.2.0",
|
|
@@ -46,16 +47,16 @@
|
|
|
46
47
|
"react": "~18.2.0",
|
|
47
48
|
"react-dom": "~18.2.0",
|
|
48
49
|
"vite": "5.4.7",
|
|
49
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
50
|
+
"@dxos/react-ui": "0.8.4-main.f5c0578",
|
|
51
|
+
"@dxos/react-ui-theme": "0.8.4-main.f5c0578",
|
|
52
|
+
"@dxos/storybook-utils": "0.8.4-main.f5c0578"
|
|
52
53
|
},
|
|
53
54
|
"peerDependencies": {
|
|
54
55
|
"effect": "^3.13.3",
|
|
55
56
|
"react": "~18.2.0",
|
|
56
57
|
"react-dom": "~18.2.0",
|
|
57
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
58
|
-
"@dxos/react-ui-theme": "0.8.4-main.
|
|
58
|
+
"@dxos/react-ui": "0.8.4-main.f5c0578",
|
|
59
|
+
"@dxos/react-ui-theme": "0.8.4-main.f5c0578"
|
|
59
60
|
},
|
|
60
61
|
"publishConfig": {
|
|
61
62
|
"access": "public"
|
package/src/StatusBarPlugin.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2024 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Capabilities, contributes, defineModule, definePlugin
|
|
5
|
+
import { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
7
|
import { ReactSurface } from './capabilities';
|
|
8
8
|
import { meta } from './meta';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
import { Capabilities, contributes, createSurface
|
|
7
|
+
import { Capabilities, Surface, contributes, createSurface } from '@dxos/app-framework';
|
|
8
8
|
|
|
9
9
|
import { StatusBarActions, StatusBarPanel, VersionNumber } from '../components';
|
|
10
10
|
import { meta } from '../meta';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Slot } from '@radix-ui/react-slot';
|
|
6
|
-
import React, { type ComponentPropsWithRef,
|
|
6
|
+
import React, { type ComponentPropsWithRef, type PropsWithChildren, type ReactNode, forwardRef } from 'react';
|
|
7
7
|
|
|
8
8
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
9
9
|
import { mx } from '@dxos/react-ui-theme';
|
|
@@ -8,9 +8,10 @@ import { Surface } from '@dxos/app-framework';
|
|
|
8
8
|
import { useConfig } from '@dxos/react-client';
|
|
9
9
|
import { Icon, Popover, useTranslation } from '@dxos/react-ui';
|
|
10
10
|
|
|
11
|
+
import { meta } from '../meta';
|
|
12
|
+
|
|
11
13
|
import { StatusBar } from './StatusBar';
|
|
12
14
|
import { VersionNumber } from './VersionNumber';
|
|
13
|
-
import { meta } from '../meta';
|
|
14
15
|
|
|
15
16
|
export const StatusBarActions = () => {
|
|
16
17
|
const { t } = useTranslation(meta.id);
|
|
@@ -6,11 +6,12 @@ import { formatDistance } from 'date-fns/formatDistance';
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
8
|
import { useConfig } from '@dxos/react-client';
|
|
9
|
-
import { Link, Message, Popover, Trans, useTranslation
|
|
9
|
+
import { Icon, Link, Message, Popover, Trans, useTranslation } from '@dxos/react-ui';
|
|
10
10
|
|
|
11
|
-
import { StatusBar } from './StatusBar';
|
|
12
11
|
import { meta } from '../meta';
|
|
13
12
|
|
|
13
|
+
import { StatusBar } from './StatusBar';
|
|
14
|
+
|
|
14
15
|
const repo = 'https://github.com/dxos/dxos';
|
|
15
16
|
|
|
16
17
|
const VERSION_REGEX = /([\d.]+)/;
|