@dxos/plugin-status-bar 0.8.4-main.1068cf700f → 0.8.4-main.1c7ec43d41
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 +17 -43
- 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 +17 -42
- 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/index.d.ts +2 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/{StatusBar.d.ts → StatusBar/StatusBar.d.ts} +6 -4
- package/dist/types/src/components/StatusBar/StatusBar.d.ts.map +1 -0
- package/dist/types/src/components/{StatusBar.stories.d.ts → StatusBar/StatusBar.stories.d.ts} +3 -1
- package/dist/types/src/components/StatusBar/StatusBar.stories.d.ts.map +1 -0
- package/dist/types/src/components/StatusBar/index.d.ts +2 -0
- package/dist/types/src/components/StatusBar/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +0 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.d.ts +4 -0
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.d.ts.map +1 -0
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.stories.d.ts +7 -0
- package/dist/types/src/containers/StatusBarActions/StatusBarActions.stories.d.ts.map +1 -0
- package/dist/types/src/containers/StatusBarActions/index.d.ts +2 -0
- package/dist/types/src/containers/StatusBarActions/index.d.ts.map +1 -0
- package/dist/types/src/containers/StatusBarPanel/StatusBarPanel.d.ts +4 -0
- package/dist/types/src/containers/StatusBarPanel/StatusBarPanel.d.ts.map +1 -0
- package/dist/types/src/containers/StatusBarPanel/index.d.ts +2 -0
- package/dist/types/src/containers/StatusBarPanel/index.d.ts.map +1 -0
- package/dist/types/src/containers/VersionNumber/VersionNumber.d.ts +4 -0
- package/dist/types/src/containers/VersionNumber/VersionNumber.d.ts.map +1 -0
- package/dist/types/src/containers/VersionNumber/index.d.ts +2 -0
- package/dist/types/src/containers/VersionNumber/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +5 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.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 +41 -23
- package/src/StatusBarPlugin.test.ts +23 -0
- package/src/StatusBarPlugin.ts +5 -3
- package/src/capabilities/index.ts +3 -1
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +5 -11
- package/src/components/StatusBar/StatusBar.stories.tsx +45 -0
- package/src/components/{StatusBar.tsx → StatusBar/StatusBar.tsx} +41 -19
- package/src/components/StatusBar/index.ts +5 -0
- package/src/components/index.ts +0 -2
- package/src/containers/StatusBarActions/StatusBarActions.stories.tsx +62 -0
- package/src/containers/StatusBarActions/StatusBarActions.tsx +70 -0
- package/src/containers/StatusBarActions/index.ts +5 -0
- package/src/containers/StatusBarPanel/StatusBarPanel.tsx +21 -0
- package/src/containers/StatusBarPanel/index.ts +5 -0
- package/src/containers/VersionNumber/VersionNumber.tsx +97 -0
- package/src/containers/VersionNumber/index.ts +5 -0
- package/src/containers/index.ts +9 -0
- package/src/index.ts +7 -2
- package/src/meta.ts +2 -1
- package/src/translations.ts +11 -11
- package/dist/lib/browser/chunk-VP63XX2T.mjs +0 -195
- package/dist/lib/browser/chunk-VP63XX2T.mjs.map +0 -7
- package/dist/lib/browser/react-surface-B2T3FRSM.mjs +0 -40
- package/dist/lib/browser/react-surface-B2T3FRSM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-UONVHDU2.mjs +0 -197
- package/dist/lib/node-esm/chunk-UONVHDU2.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-2KYAWCDQ.mjs +0 -41
- package/dist/lib/node-esm/react-surface-2KYAWCDQ.mjs.map +0 -7
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/StatusBar.d.ts.map +0 -1
- package/dist/types/src/components/StatusBar.stories.d.ts.map +0 -1
- package/dist/types/src/components/StatusBarPanel.d.ts +0 -4
- package/dist/types/src/components/StatusBarPanel.d.ts.map +0 -1
- package/dist/types/src/components/VersionNumber.d.ts +0 -3
- package/dist/types/src/components/VersionNumber.d.ts.map +0 -1
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/components/StatusBar.stories.tsx +0 -45
- package/src/components/StatusBarPanel.tsx +0 -76
- package/src/components/VersionNumber.tsx +0 -85
|
@@ -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,51 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
StatusBar,
|
|
3
|
-
StatusBarActions,
|
|
4
|
-
StatusBarPanel,
|
|
5
|
-
VersionNumber,
|
|
6
|
-
meta
|
|
7
|
-
} from "./chunk-VP63XX2T.mjs";
|
|
8
|
-
|
|
9
|
-
// src/StatusBarPlugin.ts
|
|
1
|
+
// src/index.ts
|
|
10
2
|
import { Plugin } from "@dxos/app-framework";
|
|
11
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
12
3
|
|
|
13
|
-
// src/
|
|
14
|
-
import {
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"see release label": "See release on GitHub",
|
|
28
|
-
"powered by dxos message": "Powered by <dxos>DXOS</dxos>",
|
|
29
|
-
"discord label": "Discord",
|
|
30
|
-
"github label": "GitHub",
|
|
31
|
-
"feedback label": "Feedback"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
];
|
|
4
|
+
// src/meta.ts
|
|
5
|
+
import { trim } from "@dxos/util";
|
|
6
|
+
var meta = {
|
|
7
|
+
id: "org.dxos.plugin.statusBar",
|
|
8
|
+
name: "Status Bar",
|
|
9
|
+
description: trim`
|
|
10
|
+
Persistent bottom bar displaying workspace status information and quick actions.
|
|
11
|
+
Access connection state, notifications, and common commands without leaving your current context.
|
|
12
|
+
`,
|
|
13
|
+
icon: "ph--info--regular",
|
|
14
|
+
tags: [
|
|
15
|
+
"system"
|
|
16
|
+
]
|
|
17
|
+
};
|
|
36
18
|
|
|
37
|
-
// src/
|
|
38
|
-
var StatusBarPlugin = Plugin.
|
|
39
|
-
activate: ReactSurface
|
|
40
|
-
}), AppPlugin.addTranslationsModule({
|
|
41
|
-
translations
|
|
42
|
-
}), Plugin.make);
|
|
19
|
+
// src/index.ts
|
|
20
|
+
var StatusBarPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
43
21
|
export {
|
|
44
|
-
StatusBar,
|
|
45
|
-
StatusBarActions,
|
|
46
|
-
StatusBarPanel,
|
|
47
22
|
StatusBarPlugin,
|
|
48
|
-
VersionNumber,
|
|
49
23
|
meta
|
|
50
24
|
};
|
|
51
25
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["Plugin", "
|
|
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 tags: ['system'],\n};\n"],
|
|
5
|
+
"mappings": ";AAKA,SAASA,cAAc;;;ACAvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,MAAM;IAAC;;AACT;;;ADLO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "tags", "StatusBarPlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1570,"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":1263},"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":377}},"bytes":611},"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,52 +1,27 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
StatusBar,
|
|
4
|
-
StatusBarActions,
|
|
5
|
-
StatusBarPanel,
|
|
6
|
-
VersionNumber,
|
|
7
|
-
meta
|
|
8
|
-
} from "./chunk-UONVHDU2.mjs";
|
|
9
2
|
|
|
10
|
-
// src/
|
|
3
|
+
// src/index.ts
|
|
11
4
|
import { Plugin } from "@dxos/app-framework";
|
|
12
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
13
|
-
|
|
14
|
-
// src/capabilities/react-surface/index.ts
|
|
15
|
-
import { Capability } from "@dxos/app-framework";
|
|
16
|
-
var ReactSurface = Capability.lazy("ReactSurface", () => import("./react-surface-2KYAWCDQ.mjs"));
|
|
17
5
|
|
|
18
|
-
// src/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"feedback label": "Feedback"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
];
|
|
6
|
+
// src/meta.ts
|
|
7
|
+
import { trim } from "@dxos/util";
|
|
8
|
+
var meta = {
|
|
9
|
+
id: "org.dxos.plugin.statusBar",
|
|
10
|
+
name: "Status Bar",
|
|
11
|
+
description: trim`
|
|
12
|
+
Persistent bottom bar displaying workspace status information and quick actions.
|
|
13
|
+
Access connection state, notifications, and common commands without leaving your current context.
|
|
14
|
+
`,
|
|
15
|
+
icon: "ph--info--regular",
|
|
16
|
+
tags: [
|
|
17
|
+
"system"
|
|
18
|
+
]
|
|
19
|
+
};
|
|
37
20
|
|
|
38
|
-
// src/
|
|
39
|
-
var StatusBarPlugin = Plugin.
|
|
40
|
-
activate: ReactSurface
|
|
41
|
-
}), AppPlugin.addTranslationsModule({
|
|
42
|
-
translations
|
|
43
|
-
}), Plugin.make);
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var StatusBarPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
44
23
|
export {
|
|
45
|
-
StatusBar,
|
|
46
|
-
StatusBarActions,
|
|
47
|
-
StatusBarPanel,
|
|
48
24
|
StatusBarPlugin,
|
|
49
|
-
VersionNumber,
|
|
50
25
|
meta
|
|
51
26
|
};
|
|
52
27
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["Plugin", "
|
|
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 tags: ['system'],\n};\n"],
|
|
5
|
+
"mappings": ";;;AAKA,SAASA,cAAc;;;ACAvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,MAAM;IAAC;;AACT;;;ADLO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "tags", "StatusBarPlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1570,"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":1265},"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":377}},"bytes":704},"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;AAO7C,eAAO,MAAM,eAAe,4BAI3B,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,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -3,16 +3,17 @@ import { type ThemedClassName } from '@dxos/react-ui';
|
|
|
3
3
|
type StatusBarButtonProps = ThemedClassName<ComponentPropsWithRef<'button'> & {
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
}>;
|
|
6
|
-
declare const StatusBarButton: React.ForwardRefExoticComponent<Omit<StatusBarButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
export default StatusBarButton;
|
|
8
|
-
type StatusBarItemProps = ThemedClassName<ComponentPropsWithRef<'div'>>;
|
|
9
6
|
export declare const StatusBar: {
|
|
7
|
+
Item: React.ForwardRefExoticComponent<Omit<{
|
|
8
|
+
children?: ReactNode | undefined;
|
|
9
|
+
}, "className"> & {
|
|
10
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
11
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
10
12
|
Text: React.ForwardRefExoticComponent<Omit<{
|
|
11
13
|
children: ReactNode;
|
|
12
14
|
}, "className"> & {
|
|
13
15
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
14
16
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
-
Item: React.ForwardRefExoticComponent<Omit<StatusBarItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
17
|
Button: React.ForwardRefExoticComponent<Omit<StatusBarButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
18
|
StartContent: React.ForwardRefExoticComponent<Omit<{
|
|
18
19
|
children?: ReactNode | undefined;
|
|
@@ -25,4 +26,5 @@ export declare const StatusBar: {
|
|
|
25
26
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
26
27
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
27
28
|
};
|
|
29
|
+
export {};
|
|
28
30
|
//# sourceMappingURL=StatusBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/StatusBar/StatusBar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAA0B,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAE9G,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAmCtD,KAAK,oBAAoB,GAAG,eAAe,CAAC,qBAAqB,CAAC,QAAQ,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAsDrG,eAAO,MAAM,SAAS;;;;;;;kBAlEgC,SAAS;;;;;;;;;;;;;;;CAwE9D,CAAC"}
|
package/dist/types/src/components/{StatusBar.stories.d.ts → StatusBar/StatusBar.stories.d.ts}
RENAMED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare const DefaultStory: () => React.JSX.Element;
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: any;
|
|
7
6
|
render: () => React.JSX.Element;
|
|
8
7
|
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
9
11
|
};
|
|
10
12
|
export default meta;
|
|
11
13
|
type Story = StoryObj<typeof meta>;
|
|
@@ -0,0 +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;;;;QAIzB,MAAM;;CAEwB,CAAC;eAEpB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/StatusBar/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +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,WAAY,qBAAqB,sBAyB7D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { StatusBarActions } from './StatusBarActions';
|
|
3
|
+
declare const meta: Meta<typeof StatusBarActions>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=StatusBarActions.stories.d.ts.map
|
|
@@ -0,0 +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;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarActions/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +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,WAAY,mBAAmB,sBAQzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/StatusBarPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +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,WAAY,kBAAkB,sBA6EvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/VersionNumber/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAA4C,CAAC;AAC7F,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC;AACzF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC"}
|