@dxos/plugin-status-bar 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef
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/components/index.mjs +50 -0
- package/dist/lib/browser/components/index.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +5 -81
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/components/index.mjs +52 -0
- package/dist/lib/node-esm/components/index.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +5 -81
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/StatusBarPlugin.d.ts +1 -0
- package/dist/types/src/StatusBarPlugin.d.ts.map +1 -1
- package/dist/types/src/StatusBarPlugin.test.d.ts +2 -0
- package/dist/types/src/StatusBarPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/StatusBar/StatusBar.stories.d.ts.map +1 -1
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.d.ts.map +1 -1
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.stories.d.ts.map +1 -1
- package/dist/types/src/containers/StatusBarPanel/StatusBarPanel.d.ts.map +1 -1
- package/dist/types/src/containers/VersionNumber/VersionNumber.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +11 -12
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -21
- package/src/StatusBarPlugin.test.ts +23 -0
- package/src/StatusBarPlugin.ts +3 -2
- package/src/containers/StatusBarActions/StatusBarActions.stories.tsx +2 -1
- package/src/index.ts +7 -2
- package/src/meta.ts +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// src/components/StatusBar/StatusBar.tsx
|
|
2
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
3
|
+
import React, { forwardRef } from "react";
|
|
4
|
+
import { mx } from "@dxos/ui-theme";
|
|
5
|
+
var StatusBarItem = /* @__PURE__ */ forwardRef(({ classNames, children, ...props }, forwardedRef) => {
|
|
6
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
7
|
+
...props,
|
|
8
|
+
role: "status",
|
|
9
|
+
className: mx("grid place-items-center", classNames),
|
|
10
|
+
ref: forwardedRef
|
|
11
|
+
}, children);
|
|
12
|
+
});
|
|
13
|
+
var StatusBarText = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("span", {
|
|
14
|
+
className: mx(classNames),
|
|
15
|
+
ref: forwardedRef
|
|
16
|
+
}, children));
|
|
17
|
+
var StatusBarButton = /* @__PURE__ */ forwardRef(({ classNames, children, asChild, ...props }, forwardedRef) => {
|
|
18
|
+
const classes = mx("flex items-center justify-center gap-2 p-1 px-2 rounded-xs", "select-none cursor-pointer dx-focus-ring text-description text-xs", "hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600", classNames);
|
|
19
|
+
return asChild ? /* @__PURE__ */ React.createElement(Slot, {
|
|
20
|
+
role: "button",
|
|
21
|
+
ref: forwardedRef,
|
|
22
|
+
className: classes,
|
|
23
|
+
...props
|
|
24
|
+
}, children) : /* @__PURE__ */ React.createElement("button", {
|
|
25
|
+
className: classes,
|
|
26
|
+
ref: forwardedRef,
|
|
27
|
+
...props
|
|
28
|
+
}, children);
|
|
29
|
+
});
|
|
30
|
+
var StartContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
31
|
+
role: "none",
|
|
32
|
+
className: mx("flex-grow flex items-center space-x-2", classNames),
|
|
33
|
+
ref: forwardedRef
|
|
34
|
+
}, children));
|
|
35
|
+
var EndContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
36
|
+
role: "none",
|
|
37
|
+
className: mx("flex-grow flex items-center justify-end", classNames),
|
|
38
|
+
ref: forwardedRef
|
|
39
|
+
}, children));
|
|
40
|
+
var StatusBar = {
|
|
41
|
+
Item: StatusBarItem,
|
|
42
|
+
Text: StatusBarText,
|
|
43
|
+
Button: StatusBarButton,
|
|
44
|
+
StartContent,
|
|
45
|
+
EndContent
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
StatusBar
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/StatusBar/StatusBar.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, type PropsWithChildren, type ReactNode, forwardRef } from 'react';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/ui-theme';\n\n//\n// Item\n//\n\ntype StatusBarItemProps = ThemedClassName<PropsWithChildren>;\n\nconst StatusBarItem = forwardRef<HTMLDivElement, StatusBarItemProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n return (\n <div {...props} role='status' className={mx('grid place-items-center', classNames)} ref={forwardedRef}>\n {children}\n </div>\n );\n },\n);\n\n//\n// Text\n//\n\ntype StatusBarTextProps = ThemedClassName<{ children: ReactNode }>;\n\nconst StatusBarText = forwardRef<HTMLSpanElement, StatusBarTextProps>(({ classNames, children }, forwardedRef) => (\n <span className={mx(classNames)} ref={forwardedRef}>\n {children}\n </span>\n));\n\n//\n// Button\n//\n\ntype StatusBarButtonProps = ThemedClassName<ComponentPropsWithRef<'button'> & { asChild?: boolean }>;\n\n/**\n * @deprecated\n */\nconst StatusBarButton = forwardRef<HTMLButtonElement, StatusBarButtonProps>(\n ({ classNames, children, asChild, ...props }, forwardedRef) => {\n const classes = mx(\n 'flex items-center justify-center gap-2 p-1 px-2 rounded-xs',\n 'select-none cursor-pointer dx-focus-ring text-description text-xs',\n 'hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600',\n classNames,\n );\n\n return asChild ? (\n <Slot role='button' ref={forwardedRef} className={classes} {...props}>\n {children}\n </Slot>\n ) : (\n <button className={classes} ref={forwardedRef} {...props}>\n {children}\n </button>\n );\n },\n);\n\n//\n// Content\n//\n\ntype StartContentProps = ThemedClassName<PropsWithChildren<{}>>;\n\nconst StartContent = forwardRef<HTMLDivElement, StartContentProps>(({ classNames, children }, forwardedRef) => (\n <div role='none' className={mx('flex-grow flex items-center space-x-2', classNames)} ref={forwardedRef}>\n {children}\n </div>\n));\n\n//\n// EndContent\n//\n\ntype EndContentProps = ThemedClassName<PropsWithChildren<{}>>;\n\nconst EndContent = forwardRef<HTMLDivElement, EndContentProps>(({ classNames, children }, forwardedRef) => (\n <div role='none' className={mx('flex-grow flex items-center justify-end', classNames)} ref={forwardedRef}>\n {children}\n </div>\n));\n\n//\n// StatusBar\n//\n\nexport const StatusBar = {\n Item: StatusBarItem,\n Text: StatusBarText,\n Button: StatusBarButton,\n StartContent,\n EndContent,\n};\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,YAAY;AACrB,OAAOC,SAA6EC,kBAAkB;AAGtG,SAASC,UAAU;AAQnB,IAAMC,gBAAgBF,2BACpB,CAAC,EAAEG,YAAYC,UAAU,GAAGC,MAAAA,GAASC,iBAAAA;AACnC,SACE,sBAAA,cAACC,OAAAA;IAAK,GAAGF;IAAOG,MAAK;IAASC,WAAWR,GAAG,2BAA2BE,UAAAA;IAAaO,KAAKJ;KACtFF,QAAAA;AAGP,CAAA;AASF,IAAMO,gBAAgBX,2BAAgD,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBAC/F,sBAAA,cAACM,QAAAA;EAAKH,WAAWR,GAAGE,UAAAA;EAAaO,KAAKJ;GACnCF,QAAAA,CAAAA;AAaL,IAAMS,kBAAkBb,2BACtB,CAAC,EAAEG,YAAYC,UAAUU,SAAS,GAAGT,MAAAA,GAASC,iBAAAA;AAC5C,QAAMS,UAAUd,GACd,8DACA,qEACA,mGACAE,UAAAA;AAGF,SAAOW,UACL,sBAAA,cAAChB,MAAAA;IAAKU,MAAK;IAASE,KAAKJ;IAAcG,WAAWM;IAAU,GAAGV;KAC5DD,QAAAA,IAGH,sBAAA,cAACY,UAAAA;IAAOP,WAAWM;IAASL,KAAKJ;IAAe,GAAGD;KAChDD,QAAAA;AAGP,CAAA;AASF,IAAMa,eAAejB,2BAA8C,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBAC5F,sBAAA,cAACC,OAAAA;EAAIC,MAAK;EAAOC,WAAWR,GAAG,yCAAyCE,UAAAA;EAAaO,KAAKJ;GACvFF,QAAAA,CAAAA;AAUL,IAAMc,aAAalB,2BAA4C,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBACxF,sBAAA,cAACC,OAAAA;EAAIC,MAAK;EAAOC,WAAWR,GAAG,2CAA2CE,UAAAA;EAAaO,KAAKJ;GACzFF,QAAAA,CAAAA;AAQE,IAAMe,YAAY;EACvBC,MAAMlB;EACNmB,MAAMV;EACNW,QAAQT;EACRI;EACAC;AACF;",
|
|
6
|
+
"names": ["Slot", "React", "forwardRef", "mx", "StatusBarItem", "classNames", "children", "props", "forwardedRef", "div", "role", "className", "ref", "StatusBarText", "span", "StatusBarButton", "asChild", "classes", "button", "StartContent", "EndContent", "StatusBar", "Item", "Text", "Button"]
|
|
7
|
+
}
|
|
@@ -1,54 +1,10 @@
|
|
|
1
|
-
// src/
|
|
2
|
-
import {
|
|
3
|
-
import React, { forwardRef } from "react";
|
|
4
|
-
import { mx } from "@dxos/ui-theme";
|
|
5
|
-
var StatusBarItem = /* @__PURE__ */ forwardRef(({ classNames, children, ...props }, forwardedRef) => {
|
|
6
|
-
return /* @__PURE__ */ React.createElement("div", {
|
|
7
|
-
...props,
|
|
8
|
-
role: "status",
|
|
9
|
-
className: mx("grid place-items-center", classNames),
|
|
10
|
-
ref: forwardedRef
|
|
11
|
-
}, children);
|
|
12
|
-
});
|
|
13
|
-
var StatusBarText = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("span", {
|
|
14
|
-
className: mx(classNames),
|
|
15
|
-
ref: forwardedRef
|
|
16
|
-
}, children));
|
|
17
|
-
var StatusBarButton = /* @__PURE__ */ forwardRef(({ classNames, children, asChild, ...props }, forwardedRef) => {
|
|
18
|
-
const classes = mx("flex items-center justify-center gap-2 p-1 px-2 rounded-xs", "select-none cursor-pointer dx-focus-ring text-description text-xs", "hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600", classNames);
|
|
19
|
-
return asChild ? /* @__PURE__ */ React.createElement(Slot, {
|
|
20
|
-
role: "button",
|
|
21
|
-
ref: forwardedRef,
|
|
22
|
-
className: classes,
|
|
23
|
-
...props
|
|
24
|
-
}, children) : /* @__PURE__ */ React.createElement("button", {
|
|
25
|
-
className: classes,
|
|
26
|
-
ref: forwardedRef,
|
|
27
|
-
...props
|
|
28
|
-
}, children);
|
|
29
|
-
});
|
|
30
|
-
var StartContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
31
|
-
role: "none",
|
|
32
|
-
className: mx("flex-grow flex items-center space-x-2", classNames),
|
|
33
|
-
ref: forwardedRef
|
|
34
|
-
}, children));
|
|
35
|
-
var EndContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
36
|
-
role: "none",
|
|
37
|
-
className: mx("flex-grow flex items-center justify-end", classNames),
|
|
38
|
-
ref: forwardedRef
|
|
39
|
-
}, children));
|
|
40
|
-
var StatusBar = {
|
|
41
|
-
Item: StatusBarItem,
|
|
42
|
-
Text: StatusBarText,
|
|
43
|
-
Button: StatusBarButton,
|
|
44
|
-
StartContent,
|
|
45
|
-
EndContent
|
|
46
|
-
};
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { Plugin } from "@dxos/app-framework";
|
|
47
3
|
|
|
48
4
|
// src/meta.ts
|
|
49
5
|
import { trim } from "@dxos/util";
|
|
50
6
|
var meta = {
|
|
51
|
-
id: "org.dxos.plugin.
|
|
7
|
+
id: "org.dxos.plugin.statusBar",
|
|
52
8
|
name: "Status Bar",
|
|
53
9
|
description: trim`
|
|
54
10
|
Persistent bottom bar displaying workspace status information and quick actions.
|
|
@@ -57,41 +13,9 @@ var meta = {
|
|
|
57
13
|
icon: "ph--info--regular"
|
|
58
14
|
};
|
|
59
15
|
|
|
60
|
-
// src/
|
|
61
|
-
|
|
62
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
63
|
-
import { ReactSurface } from "#capabilities";
|
|
64
|
-
import { meta as meta3 } from "#meta";
|
|
65
|
-
|
|
66
|
-
// src/translations.ts
|
|
67
|
-
import { meta as meta2 } from "#meta";
|
|
68
|
-
var translations = [
|
|
69
|
-
{
|
|
70
|
-
"en-US": {
|
|
71
|
-
[meta2.id]: {
|
|
72
|
-
"plugin.name": "Status Bar",
|
|
73
|
-
"warning.title": "WARNING",
|
|
74
|
-
"technology-preview.message": "Composer is currently in beta.",
|
|
75
|
-
"learn-more.label": "Learn more",
|
|
76
|
-
"released.message": "This version was released {{released}}.",
|
|
77
|
-
"see-release.label": "See release on GitHub",
|
|
78
|
-
"powered-by-dxos.message": "Powered by <dxos>DXOS</dxos>",
|
|
79
|
-
"discord.label": "Discord",
|
|
80
|
-
"github.label": "GitHub",
|
|
81
|
-
"feedback.label": "Feedback"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
];
|
|
86
|
-
|
|
87
|
-
// src/StatusBarPlugin.ts
|
|
88
|
-
var StatusBarPlugin = Plugin.define(meta3).pipe(AppPlugin.addSurfaceModule({
|
|
89
|
-
activate: ReactSurface
|
|
90
|
-
}), AppPlugin.addTranslationsModule({
|
|
91
|
-
translations
|
|
92
|
-
}), Plugin.make);
|
|
16
|
+
// src/index.ts
|
|
17
|
+
var StatusBarPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
93
18
|
export {
|
|
94
|
-
StatusBar,
|
|
95
19
|
StatusBarPlugin,
|
|
96
20
|
meta
|
|
97
21
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright
|
|
5
|
-
"mappings": ";
|
|
6
|
-
"names": ["
|
|
3
|
+
"sources": ["../../../src/index.ts", "../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\n// TODO(wittjosiah): StatusBar should be factored out of plugin-status-bar into a shared UI package.\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport * from './meta';\n\nexport const StatusBarPlugin = Plugin.lazy(meta, () => import('#plugin'));\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.statusBar',\n name: 'Status Bar',\n description: trim`\n Persistent bottom bar displaying workspace status information and quick actions.\n Access connection state, notifications, and common commands without leaving your current context.\n `,\n icon: 'ph--info--regular',\n};\n"],
|
|
5
|
+
"mappings": ";AAKA,SAASA,cAAc;;;ACAvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;AACR;;;ADJO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "StatusBarPlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1466,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1203,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/components/StatusBar/StatusBar.tsx":{"bytes":7661,"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/StatusBar/index.ts":{"bytes":377,"imports":[{"path":"src/components/StatusBar/StatusBar.tsx","kind":"import-statement","original":"./StatusBar"}],"format":"esm"},"src/components/index.ts":{"bytes":377,"imports":[{"path":"src/components/StatusBar/index.ts","kind":"import-statement","original":"./StatusBar"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1217},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["StatusBarPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":112},"src/meta.ts":{"bytesInOutput":349}},"bytes":583},"dist/lib/browser/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4202},"dist/lib/browser/components/index.mjs":{"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["StatusBar"],"entryPoint":"src/components/index.ts","inputs":{"src/components/StatusBar/StatusBar.tsx":{"bytesInOutput":1918},"src/components/StatusBar/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0}},"bytes":2019}}}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
|
|
3
|
+
// src/components/StatusBar/StatusBar.tsx
|
|
4
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
5
|
+
import React, { forwardRef } from "react";
|
|
6
|
+
import { mx } from "@dxos/ui-theme";
|
|
7
|
+
var StatusBarItem = /* @__PURE__ */ forwardRef(({ classNames, children, ...props }, forwardedRef) => {
|
|
8
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
9
|
+
...props,
|
|
10
|
+
role: "status",
|
|
11
|
+
className: mx("grid place-items-center", classNames),
|
|
12
|
+
ref: forwardedRef
|
|
13
|
+
}, children);
|
|
14
|
+
});
|
|
15
|
+
var StatusBarText = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("span", {
|
|
16
|
+
className: mx(classNames),
|
|
17
|
+
ref: forwardedRef
|
|
18
|
+
}, children));
|
|
19
|
+
var StatusBarButton = /* @__PURE__ */ forwardRef(({ classNames, children, asChild, ...props }, forwardedRef) => {
|
|
20
|
+
const classes = mx("flex items-center justify-center gap-2 p-1 px-2 rounded-xs", "select-none cursor-pointer dx-focus-ring text-description text-xs", "hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600", classNames);
|
|
21
|
+
return asChild ? /* @__PURE__ */ React.createElement(Slot, {
|
|
22
|
+
role: "button",
|
|
23
|
+
ref: forwardedRef,
|
|
24
|
+
className: classes,
|
|
25
|
+
...props
|
|
26
|
+
}, children) : /* @__PURE__ */ React.createElement("button", {
|
|
27
|
+
className: classes,
|
|
28
|
+
ref: forwardedRef,
|
|
29
|
+
...props
|
|
30
|
+
}, children);
|
|
31
|
+
});
|
|
32
|
+
var StartContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
33
|
+
role: "none",
|
|
34
|
+
className: mx("flex-grow flex items-center space-x-2", classNames),
|
|
35
|
+
ref: forwardedRef
|
|
36
|
+
}, children));
|
|
37
|
+
var EndContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
38
|
+
role: "none",
|
|
39
|
+
className: mx("flex-grow flex items-center justify-end", classNames),
|
|
40
|
+
ref: forwardedRef
|
|
41
|
+
}, children));
|
|
42
|
+
var StatusBar = {
|
|
43
|
+
Item: StatusBarItem,
|
|
44
|
+
Text: StatusBarText,
|
|
45
|
+
Button: StatusBarButton,
|
|
46
|
+
StartContent,
|
|
47
|
+
EndContent
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
StatusBar
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/StatusBar/StatusBar.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, type PropsWithChildren, type ReactNode, forwardRef } from 'react';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/ui-theme';\n\n//\n// Item\n//\n\ntype StatusBarItemProps = ThemedClassName<PropsWithChildren>;\n\nconst StatusBarItem = forwardRef<HTMLDivElement, StatusBarItemProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n return (\n <div {...props} role='status' className={mx('grid place-items-center', classNames)} ref={forwardedRef}>\n {children}\n </div>\n );\n },\n);\n\n//\n// Text\n//\n\ntype StatusBarTextProps = ThemedClassName<{ children: ReactNode }>;\n\nconst StatusBarText = forwardRef<HTMLSpanElement, StatusBarTextProps>(({ classNames, children }, forwardedRef) => (\n <span className={mx(classNames)} ref={forwardedRef}>\n {children}\n </span>\n));\n\n//\n// Button\n//\n\ntype StatusBarButtonProps = ThemedClassName<ComponentPropsWithRef<'button'> & { asChild?: boolean }>;\n\n/**\n * @deprecated\n */\nconst StatusBarButton = forwardRef<HTMLButtonElement, StatusBarButtonProps>(\n ({ classNames, children, asChild, ...props }, forwardedRef) => {\n const classes = mx(\n 'flex items-center justify-center gap-2 p-1 px-2 rounded-xs',\n 'select-none cursor-pointer dx-focus-ring text-description text-xs',\n 'hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600',\n classNames,\n );\n\n return asChild ? (\n <Slot role='button' ref={forwardedRef} className={classes} {...props}>\n {children}\n </Slot>\n ) : (\n <button className={classes} ref={forwardedRef} {...props}>\n {children}\n </button>\n );\n },\n);\n\n//\n// Content\n//\n\ntype StartContentProps = ThemedClassName<PropsWithChildren<{}>>;\n\nconst StartContent = forwardRef<HTMLDivElement, StartContentProps>(({ classNames, children }, forwardedRef) => (\n <div role='none' className={mx('flex-grow flex items-center space-x-2', classNames)} ref={forwardedRef}>\n {children}\n </div>\n));\n\n//\n// EndContent\n//\n\ntype EndContentProps = ThemedClassName<PropsWithChildren<{}>>;\n\nconst EndContent = forwardRef<HTMLDivElement, EndContentProps>(({ classNames, children }, forwardedRef) => (\n <div role='none' className={mx('flex-grow flex items-center justify-end', classNames)} ref={forwardedRef}>\n {children}\n </div>\n));\n\n//\n// StatusBar\n//\n\nexport const StatusBar = {\n Item: StatusBarItem,\n Text: StatusBarText,\n Button: StatusBarButton,\n StartContent,\n EndContent,\n};\n"],
|
|
5
|
+
"mappings": ";;;AAIA,SAASA,YAAY;AACrB,OAAOC,SAA6EC,kBAAkB;AAGtG,SAASC,UAAU;AAQnB,IAAMC,gBAAgBF,2BACpB,CAAC,EAAEG,YAAYC,UAAU,GAAGC,MAAAA,GAASC,iBAAAA;AACnC,SACE,sBAAA,cAACC,OAAAA;IAAK,GAAGF;IAAOG,MAAK;IAASC,WAAWR,GAAG,2BAA2BE,UAAAA;IAAaO,KAAKJ;KACtFF,QAAAA;AAGP,CAAA;AASF,IAAMO,gBAAgBX,2BAAgD,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBAC/F,sBAAA,cAACM,QAAAA;EAAKH,WAAWR,GAAGE,UAAAA;EAAaO,KAAKJ;GACnCF,QAAAA,CAAAA;AAaL,IAAMS,kBAAkBb,2BACtB,CAAC,EAAEG,YAAYC,UAAUU,SAAS,GAAGT,MAAAA,GAASC,iBAAAA;AAC5C,QAAMS,UAAUd,GACd,8DACA,qEACA,mGACAE,UAAAA;AAGF,SAAOW,UACL,sBAAA,cAAChB,MAAAA;IAAKU,MAAK;IAASE,KAAKJ;IAAcG,WAAWM;IAAU,GAAGV;KAC5DD,QAAAA,IAGH,sBAAA,cAACY,UAAAA;IAAOP,WAAWM;IAASL,KAAKJ;IAAe,GAAGD;KAChDD,QAAAA;AAGP,CAAA;AASF,IAAMa,eAAejB,2BAA8C,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBAC5F,sBAAA,cAACC,OAAAA;EAAIC,MAAK;EAAOC,WAAWR,GAAG,yCAAyCE,UAAAA;EAAaO,KAAKJ;GACvFF,QAAAA,CAAAA;AAUL,IAAMc,aAAalB,2BAA4C,CAAC,EAAEG,YAAYC,SAAQ,GAAIE,iBACxF,sBAAA,cAACC,OAAAA;EAAIC,MAAK;EAAOC,WAAWR,GAAG,2CAA2CE,UAAAA;EAAaO,KAAKJ;GACzFF,QAAAA,CAAAA;AAQE,IAAMe,YAAY;EACvBC,MAAMlB;EACNmB,MAAMV;EACNW,QAAQT;EACRI;EACAC;AACF;",
|
|
6
|
+
"names": ["Slot", "React", "forwardRef", "mx", "StatusBarItem", "classNames", "children", "props", "forwardedRef", "div", "role", "className", "ref", "StatusBarText", "span", "StatusBarButton", "asChild", "classes", "button", "StartContent", "EndContent", "StatusBar", "Item", "Text", "Button"]
|
|
7
|
+
}
|
|
@@ -1,56 +1,12 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// src/
|
|
4
|
-
import {
|
|
5
|
-
import React, { forwardRef } from "react";
|
|
6
|
-
import { mx } from "@dxos/ui-theme";
|
|
7
|
-
var StatusBarItem = /* @__PURE__ */ forwardRef(({ classNames, children, ...props }, forwardedRef) => {
|
|
8
|
-
return /* @__PURE__ */ React.createElement("div", {
|
|
9
|
-
...props,
|
|
10
|
-
role: "status",
|
|
11
|
-
className: mx("grid place-items-center", classNames),
|
|
12
|
-
ref: forwardedRef
|
|
13
|
-
}, children);
|
|
14
|
-
});
|
|
15
|
-
var StatusBarText = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("span", {
|
|
16
|
-
className: mx(classNames),
|
|
17
|
-
ref: forwardedRef
|
|
18
|
-
}, children));
|
|
19
|
-
var StatusBarButton = /* @__PURE__ */ forwardRef(({ classNames, children, asChild, ...props }, forwardedRef) => {
|
|
20
|
-
const classes = mx("flex items-center justify-center gap-2 p-1 px-2 rounded-xs", "select-none cursor-pointer dx-focus-ring text-description text-xs", "hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600", classNames);
|
|
21
|
-
return asChild ? /* @__PURE__ */ React.createElement(Slot, {
|
|
22
|
-
role: "button",
|
|
23
|
-
ref: forwardedRef,
|
|
24
|
-
className: classes,
|
|
25
|
-
...props
|
|
26
|
-
}, children) : /* @__PURE__ */ React.createElement("button", {
|
|
27
|
-
className: classes,
|
|
28
|
-
ref: forwardedRef,
|
|
29
|
-
...props
|
|
30
|
-
}, children);
|
|
31
|
-
});
|
|
32
|
-
var StartContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
33
|
-
role: "none",
|
|
34
|
-
className: mx("flex-grow flex items-center space-x-2", classNames),
|
|
35
|
-
ref: forwardedRef
|
|
36
|
-
}, children));
|
|
37
|
-
var EndContent = /* @__PURE__ */ forwardRef(({ classNames, children }, forwardedRef) => /* @__PURE__ */ React.createElement("div", {
|
|
38
|
-
role: "none",
|
|
39
|
-
className: mx("flex-grow flex items-center justify-end", classNames),
|
|
40
|
-
ref: forwardedRef
|
|
41
|
-
}, children));
|
|
42
|
-
var StatusBar = {
|
|
43
|
-
Item: StatusBarItem,
|
|
44
|
-
Text: StatusBarText,
|
|
45
|
-
Button: StatusBarButton,
|
|
46
|
-
StartContent,
|
|
47
|
-
EndContent
|
|
48
|
-
};
|
|
3
|
+
// src/index.ts
|
|
4
|
+
import { Plugin } from "@dxos/app-framework";
|
|
49
5
|
|
|
50
6
|
// src/meta.ts
|
|
51
7
|
import { trim } from "@dxos/util";
|
|
52
8
|
var meta = {
|
|
53
|
-
id: "org.dxos.plugin.
|
|
9
|
+
id: "org.dxos.plugin.statusBar",
|
|
54
10
|
name: "Status Bar",
|
|
55
11
|
description: trim`
|
|
56
12
|
Persistent bottom bar displaying workspace status information and quick actions.
|
|
@@ -59,41 +15,9 @@ var meta = {
|
|
|
59
15
|
icon: "ph--info--regular"
|
|
60
16
|
};
|
|
61
17
|
|
|
62
|
-
// src/
|
|
63
|
-
|
|
64
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
65
|
-
import { ReactSurface } from "#capabilities";
|
|
66
|
-
import { meta as meta3 } from "#meta";
|
|
67
|
-
|
|
68
|
-
// src/translations.ts
|
|
69
|
-
import { meta as meta2 } from "#meta";
|
|
70
|
-
var translations = [
|
|
71
|
-
{
|
|
72
|
-
"en-US": {
|
|
73
|
-
[meta2.id]: {
|
|
74
|
-
"plugin.name": "Status Bar",
|
|
75
|
-
"warning.title": "WARNING",
|
|
76
|
-
"technology-preview.message": "Composer is currently in beta.",
|
|
77
|
-
"learn-more.label": "Learn more",
|
|
78
|
-
"released.message": "This version was released {{released}}.",
|
|
79
|
-
"see-release.label": "See release on GitHub",
|
|
80
|
-
"powered-by-dxos.message": "Powered by <dxos>DXOS</dxos>",
|
|
81
|
-
"discord.label": "Discord",
|
|
82
|
-
"github.label": "GitHub",
|
|
83
|
-
"feedback.label": "Feedback"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
];
|
|
88
|
-
|
|
89
|
-
// src/StatusBarPlugin.ts
|
|
90
|
-
var StatusBarPlugin = Plugin.define(meta3).pipe(AppPlugin.addSurfaceModule({
|
|
91
|
-
activate: ReactSurface
|
|
92
|
-
}), AppPlugin.addTranslationsModule({
|
|
93
|
-
translations
|
|
94
|
-
}), Plugin.make);
|
|
18
|
+
// src/index.ts
|
|
19
|
+
var StatusBarPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
95
20
|
export {
|
|
96
|
-
StatusBar,
|
|
97
21
|
StatusBarPlugin,
|
|
98
22
|
meta
|
|
99
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright
|
|
5
|
-
"mappings": ";;;
|
|
6
|
-
"names": ["
|
|
3
|
+
"sources": ["../../../src/index.ts", "../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\n// TODO(wittjosiah): StatusBar should be factored out of plugin-status-bar into a shared UI package.\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport * from './meta';\n\nexport const StatusBarPlugin = Plugin.lazy(meta, () => import('#plugin'));\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.statusBar',\n name: 'Status Bar',\n description: trim`\n Persistent bottom bar displaying workspace status information and quick actions.\n Access connection state, notifications, and common commands without leaving your current context.\n `,\n icon: 'ph--info--regular',\n};\n"],
|
|
5
|
+
"mappings": ";;;AAKA,SAASA,cAAc;;;ACAvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;AACR;;;ADJO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "StatusBarPlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1466,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":1203,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/components/StatusBar/StatusBar.tsx":{"bytes":7661,"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/StatusBar/index.ts":{"bytes":377,"imports":[{"path":"src/components/StatusBar/StatusBar.tsx","kind":"import-statement","original":"./StatusBar"}],"format":"esm"},"src/components/index.ts":{"bytes":377,"imports":[{"path":"src/components/StatusBar/index.ts","kind":"import-statement","original":"./StatusBar"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1219},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["StatusBarPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":112},"src/meta.ts":{"bytesInOutput":349}},"bytes":676},"dist/lib/node-esm/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4204},"dist/lib/node-esm/components/index.mjs":{"imports":[{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["StatusBar"],"entryPoint":"src/components/index.ts","inputs":{"src/components/StatusBar/StatusBar.tsx":{"bytesInOutput":1918},"src/components/StatusBar/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0}},"bytes":2112}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarPlugin.d.ts","sourceRoot":"","sources":["../../../src/StatusBarPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"StatusBarPlugin.d.ts","sourceRoot":"","sources":["../../../src/StatusBarPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,eAAe,4BAI3B,CAAC;eAEa,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBarPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/StatusBarPlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/StatusBar/StatusBar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,QAAA,MAAM,IAAI;;eAEgB,GAAG
|
|
1
|
+
{"version":3,"file":"StatusBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/StatusBar/StatusBar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,QAAA,MAAM,IAAI;;eAEgB,GAAG;;;;QAIzB,MAAM;;CAEwB,CAAC;eAEpB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarActions.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarActions/StatusBarActions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"StatusBarActions.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarActions/StatusBarActions.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,MAAM,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAEvC,eAAO,MAAM,gBAAgB,WAAY,qBAAqB,sBAyB7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarActions.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarActions/StatusBarActions.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"StatusBarActions.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarActions/StatusBarActions.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAyCvC,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusBarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarPanel/StatusBarPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAErC,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"StatusBarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarPanel/StatusBarPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAErC,eAAO,MAAM,cAAc,WAAY,mBAAmB,sBAQzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../../../src/containers/VersionNumber/VersionNumber.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAMpC,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../../../src/containers/VersionNumber/VersionNumber.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAMpC,eAAO,MAAM,aAAa,WAAY,kBAAkB,sBA6EvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,eAAe,4BAA6C,CAAC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { meta } from '#meta';
|
|
2
1
|
export declare const translations: [{
|
|
3
2
|
readonly 'en-US': {
|
|
4
|
-
readonly [
|
|
5
|
-
readonly 'plugin.name':
|
|
6
|
-
readonly 'warning.title':
|
|
7
|
-
readonly 'technology-preview.message':
|
|
8
|
-
readonly 'learn-more.label':
|
|
9
|
-
readonly 'released.message':
|
|
10
|
-
readonly 'see-release.label':
|
|
11
|
-
readonly 'powered-by-dxos.message':
|
|
12
|
-
readonly 'discord.label':
|
|
13
|
-
readonly 'github.label':
|
|
14
|
-
readonly 'feedback.label':
|
|
3
|
+
readonly [x: string]: {
|
|
4
|
+
readonly 'plugin.name': 'Status Bar';
|
|
5
|
+
readonly 'warning.title': 'WARNING';
|
|
6
|
+
readonly 'technology-preview.message': 'Composer is currently in beta.';
|
|
7
|
+
readonly 'learn-more.label': 'Learn more';
|
|
8
|
+
readonly 'released.message': 'This version was released {{released}}.';
|
|
9
|
+
readonly 'see-release.label': 'See release on GitHub';
|
|
10
|
+
readonly 'powered-by-dxos.message': 'Powered by <dxos>DXOS</dxos>';
|
|
11
|
+
readonly 'discord.label': 'Discord';
|
|
12
|
+
readonly 'github.label': 'GitHub';
|
|
13
|
+
readonly 'feedback.label': 'Feedback';
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
16
|
}];
|
|
@@ -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":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,YAAY;sCACV,SAAS;mDACI,gCAAgC;yCAC1C,YAAY;yCACZ,yCAAyC;0CACxC,uBAAuB;gDACjB,8BAA8B;sCACxC,SAAS;qCACV,QAAQ;uCACN,UAAU;;;EAIL,CAAC"}
|