ssovee-os-web-ui 0.1.88 → 0.1.90
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/index.cjs +14 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +14 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1615,23 +1615,23 @@ var useShortcutFormatter_default = useShortcutFormatter;
|
|
|
1615
1615
|
var globalKeyboardShortcuts = [
|
|
1616
1616
|
{
|
|
1617
1617
|
command: "exit_app",
|
|
1618
|
-
shortcut: ["
|
|
1619
|
-
usage: "Exit
|
|
1618
|
+
shortcut: ["Ctrl", "E"],
|
|
1619
|
+
usage: "Exit or quit the application"
|
|
1620
1620
|
},
|
|
1621
1621
|
{
|
|
1622
1622
|
command: "minimize_app",
|
|
1623
|
-
shortcut: ["
|
|
1624
|
-
usage: "Minimize
|
|
1623
|
+
shortcut: ["Ctrl", "ArrowDown"],
|
|
1624
|
+
usage: "Minimize the application window"
|
|
1625
1625
|
},
|
|
1626
1626
|
{
|
|
1627
1627
|
command: "maximize_app",
|
|
1628
|
-
shortcut: ["
|
|
1629
|
-
usage: "Maximize
|
|
1628
|
+
shortcut: ["Ctrl", "ArrowUp"],
|
|
1629
|
+
usage: "Maximize the application window"
|
|
1630
1630
|
},
|
|
1631
1631
|
{
|
|
1632
1632
|
command: "focus_search",
|
|
1633
|
-
shortcut: ["
|
|
1634
|
-
usage: "Focus search"
|
|
1633
|
+
shortcut: ["Ctrl", "k"],
|
|
1634
|
+
usage: "Focus on current app search"
|
|
1635
1635
|
}
|
|
1636
1636
|
];
|
|
1637
1637
|
var SearchInput = React23__namespace.default.forwardRef(
|
|
@@ -2305,8 +2305,7 @@ function getDefaultSize(metadata) {
|
|
|
2305
2305
|
function PluginPlayground({
|
|
2306
2306
|
children,
|
|
2307
2307
|
metadata,
|
|
2308
|
-
backgroundImage
|
|
2309
|
-
api
|
|
2308
|
+
backgroundImage
|
|
2310
2309
|
}) {
|
|
2311
2310
|
const [mockUser] = React23.useState(DEFAULT_MOCK_USER);
|
|
2312
2311
|
const [mockToken] = React23.useState(DEFAULT_TOKEN);
|
|
@@ -2351,8 +2350,8 @@ function PluginPlayground({
|
|
|
2351
2350
|
setIsClosed(false);
|
|
2352
2351
|
setIsMinimized(false);
|
|
2353
2352
|
}, []);
|
|
2354
|
-
const mockApi = React23.useMemo(
|
|
2355
|
-
|
|
2353
|
+
const mockApi = React23.useMemo(() => {
|
|
2354
|
+
return {
|
|
2356
2355
|
showToast: (message, type) => {
|
|
2357
2356
|
console.info(`[playground:${type}] ${message}`);
|
|
2358
2357
|
},
|
|
@@ -2365,10 +2364,9 @@ function PluginPlayground({
|
|
|
2365
2364
|
getToken: async () => {
|
|
2366
2365
|
return mockToken;
|
|
2367
2366
|
},
|
|
2368
|
-
isDarkTheme:
|
|
2369
|
-
}
|
|
2370
|
-
|
|
2371
|
-
);
|
|
2367
|
+
isDarkTheme: isNightMode
|
|
2368
|
+
};
|
|
2369
|
+
}, [mockToken, mockUser, isNightMode]);
|
|
2372
2370
|
const appProps = React23.useMemo(
|
|
2373
2371
|
() => ({
|
|
2374
2372
|
name: title,
|