react-os-shell 3.8.6 → 3.10.0
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/{Browser-P7SNR5LU.js → Browser-KMNCDY7D.js} +4 -4
- package/dist/{Browser-P7SNR5LU.js.map → Browser-KMNCDY7D.js.map} +1 -1
- package/dist/{Documents-ADOY3W75.js → Documents-7GJ5YKN5.js} +3 -3
- package/dist/{Documents-ADOY3W75.js.map → Documents-7GJ5YKN5.js.map} +1 -1
- package/dist/Files-ERJ5LMYQ.js +12 -0
- package/dist/{Files-RN4J6XLJ.js.map → Files-ERJ5LMYQ.js.map} +1 -1
- package/dist/{Notepad-BK5LWKJD.js → Notepad-FQM7GCF7.js} +4 -4
- package/dist/{Notepad-BK5LWKJD.js.map → Notepad-FQM7GCF7.js.map} +1 -1
- package/dist/Preview-XJLBPDGQ.js +8 -0
- package/dist/{Preview-7IAIHIKG.js.map → Preview-XJLBPDGQ.js.map} +1 -1
- package/dist/{Spreadsheet-256IMVEN.js → Spreadsheet-TFBKD377.js} +4 -4
- package/dist/{Spreadsheet-256IMVEN.js.map → Spreadsheet-TFBKD377.js.map} +1 -1
- package/dist/apps/index.js +13 -13
- package/dist/{chunk-K2EXGE4R.js → chunk-7UJLZUWX.js} +5 -5
- package/dist/{chunk-K2EXGE4R.js.map → chunk-7UJLZUWX.js.map} +1 -1
- package/dist/{chunk-WSSULY4B.js → chunk-HMCBPRIZ.js} +3 -3
- package/dist/{chunk-WSSULY4B.js.map → chunk-HMCBPRIZ.js.map} +1 -1
- package/dist/{chunk-NMZUO4FQ.js → chunk-HUQGQCC7.js} +3 -3
- package/dist/{chunk-NMZUO4FQ.js.map → chunk-HUQGQCC7.js.map} +1 -1
- package/dist/{chunk-K4673QDA.js → chunk-IIEI3RDA.js} +131 -27
- package/dist/chunk-IIEI3RDA.js.map +1 -0
- package/dist/{chunk-XBV6Y6TT.js → chunk-S6CH5S26.js} +4 -4
- package/dist/{chunk-XBV6Y6TT.js.map → chunk-S6CH5S26.js.map} +1 -1
- package/dist/{chunk-VGTEM5RZ.js → chunk-YG45DAUT.js} +10 -3
- package/dist/chunk-YG45DAUT.js.map +1 -0
- package/dist/{chunk-TPVASTEY.js → chunk-ZYKRG3BM.js} +3 -3
- package/dist/{chunk-TPVASTEY.js.map → chunk-ZYKRG3BM.js.map} +1 -1
- package/dist/index.d.ts +43 -3
- package/dist/index.js +42 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/Files-RN4J6XLJ.js +0 -12
- package/dist/Preview-7IAIHIKG.js +0 -8
- package/dist/chunk-K4673QDA.js.map +0 -1
- package/dist/chunk-VGTEM5RZ.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { subscribePomo, getPomoSnapshot } from './chunk-YLJY5LDU.js';
|
|
2
2
|
export { setShellTodoProvider } from './chunk-YLJY5LDU.js';
|
|
3
|
-
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-
|
|
4
|
-
export { Breadcrumbs } from './chunk-
|
|
5
|
-
import { SidebarLayout } from './chunk-
|
|
6
|
-
export { SidebarLayout } from './chunk-
|
|
3
|
+
import { PREVIEW_OPENED_EVENT, publishDesktopFolders, requestFilesTrashView, FolderGlyph, openPreviewFile, requestFilesDesktopFolderView, FileIconTile, hashGradient } from './chunk-S6CH5S26.js';
|
|
4
|
+
export { Breadcrumbs } from './chunk-S6CH5S26.js';
|
|
5
|
+
import { SidebarLayout } from './chunk-YG45DAUT.js';
|
|
6
|
+
export { SidebarLayout } from './chunk-YG45DAUT.js';
|
|
7
7
|
import { playNotification, playStartup, soundsEnabled, getSoundConfig, SOUND_PACK_KEYS, SOUND_PACKS, SOUND_TYPES, SOUND_TYPE_LABELS, setSoundForType, previewSound, setAllSounds, playLogout } from './chunk-D7PYW2QS.js';
|
|
8
|
-
import { setPdfPreview } from './chunk-
|
|
9
|
-
export { ImageAnnotator_default as ImageAnnotator } from './chunk-
|
|
8
|
+
import { setPdfPreview } from './chunk-IIEI3RDA.js';
|
|
9
|
+
export { ImageAnnotator_default as ImageAnnotator } from './chunk-IIEI3RDA.js';
|
|
10
10
|
import { toast_default } from './chunk-VENYVK3L.js';
|
|
11
11
|
export { toast_default as toast } from './chunk-VENYVK3L.js';
|
|
12
|
-
import { EditableGrid } from './chunk-
|
|
13
|
-
export { EditableGrid } from './chunk-
|
|
12
|
+
import { EditableGrid } from './chunk-HUQGQCC7.js';
|
|
13
|
+
export { EditableGrid } from './chunk-HUQGQCC7.js';
|
|
14
14
|
import { useAuth, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
15
15
|
export { ShellAuthProvider, setShellAuthBridge, useShellAuth } from './chunk-ADJ3CERD.js';
|
|
16
|
-
import { APP_VERSION, VERSION } from './chunk-
|
|
17
|
-
export { VERSION } from './chunk-
|
|
16
|
+
import { APP_VERSION, VERSION } from './chunk-HMCBPRIZ.js';
|
|
17
|
+
export { VERSION } from './chunk-HMCBPRIZ.js';
|
|
18
18
|
import { useWindowManager, PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, WINDOW_REGISTRY, isPageEntry, Modal, useShellPrefs, useIsMobile, ModalActions, useModalActive, client_default, LoadingSpinner, CancelButton, setWindowPosition, ThumbCard, activateModal } from './chunk-JXW7H3DU.js';
|
|
19
19
|
export { CancelButton, CopyButton, DocFavStar, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, registerModalEscapeInterceptor, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useLocalStoragePrefs, useModalActive, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-JXW7H3DU.js';
|
|
20
20
|
export { ConfirmProvider, confirm, confirmDestructive, prompt } from './chunk-UBN4IUDE.js';
|
|
@@ -562,6 +562,35 @@ function HelpCenter({
|
|
|
562
562
|
] }) : /* @__PURE__ */ jsx("div", { className: "flex-1 flex items-center justify-center px-6 text-center", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500", children: loading ? "Loading\u2026" : "Pick a help article from the left." }) }) })
|
|
563
563
|
] });
|
|
564
564
|
}
|
|
565
|
+
var VARIANTS = {
|
|
566
|
+
primary: "bg-blue-600 text-white hover:bg-blue-700",
|
|
567
|
+
secondary: "bg-white text-gray-700 border border-gray-300 hover:bg-gray-50"
|
|
568
|
+
};
|
|
569
|
+
function SidebarActionButton({
|
|
570
|
+
children,
|
|
571
|
+
onClick,
|
|
572
|
+
variant = "primary",
|
|
573
|
+
hotkey,
|
|
574
|
+
disabled = false,
|
|
575
|
+
type = "button",
|
|
576
|
+
title,
|
|
577
|
+
className = ""
|
|
578
|
+
}) {
|
|
579
|
+
return /* @__PURE__ */ jsxs(
|
|
580
|
+
"button",
|
|
581
|
+
{
|
|
582
|
+
type,
|
|
583
|
+
onClick,
|
|
584
|
+
disabled,
|
|
585
|
+
title,
|
|
586
|
+
className: `w-full inline-flex items-center justify-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors disabled:opacity-50 ${VARIANTS[variant]} ${className}`,
|
|
587
|
+
children: [
|
|
588
|
+
children,
|
|
589
|
+
hotkey && /* @__PURE__ */ jsx("kbd", { className: "rounded border border-blue-400/50 bg-blue-500/30 px-1.5 py-0.5 text-[10px] font-medium", children: hotkey })
|
|
590
|
+
]
|
|
591
|
+
}
|
|
592
|
+
);
|
|
593
|
+
}
|
|
565
594
|
function useClickOutside(ref, onClose) {
|
|
566
595
|
useEffect(() => {
|
|
567
596
|
const handler = (e) => {
|
|
@@ -6229,7 +6258,7 @@ function Pagination({
|
|
|
6229
6258
|
] });
|
|
6230
6259
|
}
|
|
6231
6260
|
var BASE = "inline-flex items-center justify-center rounded-md font-medium transition-colors focus:outline-none focus:ring-2 disabled:cursor-not-allowed disabled:opacity-60";
|
|
6232
|
-
var
|
|
6261
|
+
var VARIANTS2 = {
|
|
6233
6262
|
primary: "bg-blue-600 text-white shadow-sm hover:bg-blue-700 focus:ring-blue-400/40",
|
|
6234
6263
|
secondary: "border border-gray-300 bg-white text-gray-700 shadow-sm hover:bg-gray-50 focus:ring-blue-400/30",
|
|
6235
6264
|
ghost: "text-gray-700 hover:bg-gray-100 focus:ring-blue-400/30",
|
|
@@ -6265,7 +6294,7 @@ var Button = forwardRef(function Button2({
|
|
|
6265
6294
|
type,
|
|
6266
6295
|
disabled: disabled || loading,
|
|
6267
6296
|
"aria-busy": loading || void 0,
|
|
6268
|
-
className: [BASE,
|
|
6297
|
+
className: [BASE, VARIANTS2[variant], SIZES[size], block ? "w-full" : "", className].filter(Boolean).join(" "),
|
|
6269
6298
|
...rest,
|
|
6270
6299
|
children: [
|
|
6271
6300
|
loading ? /* @__PURE__ */ jsx(Spinner, {}) : leftIcon,
|
|
@@ -8939,6 +8968,6 @@ function useEditHotkey(callback) {
|
|
|
8939
8968
|
}, [callback, isActive]);
|
|
8940
8969
|
}
|
|
8941
8970
|
|
|
8942
|
-
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, BehaviorPanel, BulkImportGrid, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChangePasswordForm, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, Customization, DEV_BANNER_TEXT, DashboardTemplate, DataTablePage, Desktop, DesktopHostProvider, DevIndicator, DonutChart, ENTER, EmailTemplate, EmptyState, EntityList, ErrorPage, FilterBar, FormField, FormLayoutPage, GalleryTemplate, GlobalSearch, HelpCenter, INPUT_BASE, Input_default as Input, Kanban, Label, Layout, ListFooter, LoadingSpinner2 as LoadingSpinner, MOD, Markdown, MilestoneTimeline, NotificationBell, PageHeader, Pagination, PdfActionButton, Radio_default as Radio, ResizableTable, SHIFT, SearchableSelect, Select_default as Select, ServerStatusIndicator, ShellEntityFetcherProvider, ShortcutHelp, SidebarGroupLabel, SidebarNavItem, SoundsPanel, Sparkline, StartMenu, StatCard, StatusBadge, StatusBadgeProvider, SystemPreferences, Tabs, Textarea_default as Textarea, Tooltip, TopNav, WidgetManager, applyDevTitle, createWindowRegistry, findDuplicateKeys, formatDate, inputClasses, isDevEnv, isMac, mergeBulkItems, useClickOutside, useColumnConfig, useDesktopHost, useEditHotkey, useFilters, useInfiniteScroll, useNewHotkey, useShellEntityFetcher, useSort, useTableNav };
|
|
8971
|
+
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, BehaviorPanel, BulkImportGrid, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChangePasswordForm, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, Customization, DEV_BANNER_TEXT, DashboardTemplate, DataTablePage, Desktop, DesktopHostProvider, DevIndicator, DonutChart, ENTER, EmailTemplate, EmptyState, EntityList, ErrorPage, FilterBar, FormField, FormLayoutPage, GalleryTemplate, GlobalSearch, HelpCenter, INPUT_BASE, Input_default as Input, Kanban, Label, Layout, ListFooter, LoadingSpinner2 as LoadingSpinner, MOD, Markdown, MilestoneTimeline, NotificationBell, PageHeader, Pagination, PdfActionButton, Radio_default as Radio, ResizableTable, SHIFT, SearchableSelect, Select_default as Select, ServerStatusIndicator, ShellEntityFetcherProvider, ShortcutHelp, SidebarActionButton, SidebarGroupLabel, SidebarNavItem, SoundsPanel, Sparkline, StartMenu, StatCard, StatusBadge, StatusBadgeProvider, SystemPreferences, Tabs, Textarea_default as Textarea, Tooltip, TopNav, WidgetManager, applyDevTitle, createWindowRegistry, findDuplicateKeys, formatDate, inputClasses, isDevEnv, isMac, mergeBulkItems, useClickOutside, useColumnConfig, useDesktopHost, useEditHotkey, useFilters, useInfiniteScroll, useNewHotkey, useShellEntityFetcher, useSort, useTableNav };
|
|
8943
8972
|
//# sourceMappingURL=index.js.map
|
|
8944
8973
|
//# sourceMappingURL=index.js.map
|