efficient-shell 7.55.0 → 7.56.1
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/README.md +10 -7
- package/dist/{Browser-BORWHEBD.js → Browser-HTH7GWNA.js} +13 -13
- package/dist/{Calculator-PO7EVAB5.js → Calculator-WUFXRLVM.js} +22 -22
- package/dist/{CurrencyConverter-ONKMT2BV.js → CurrencyConverter-2A45OUOD.js} +6 -6
- package/dist/{Documents-UNYJGI73.js → Documents-X33TJJFX.js} +14 -14
- package/dist/Files-KIJPNW23.js +87 -0
- package/dist/{Notepad-76SVPZDN.js → Notepad-O6GFW5XQ.js} +10 -10
- package/dist/{PomodoroTimer-FLQNK4VG.js → PomodoroTimer-LXUCEGO2.js} +6 -6
- package/dist/{Preview-KN23TRRA.js → Preview-KKLHDTZC.js} +23 -23
- package/dist/Spreadsheet-WOUU5DK7.js +37 -0
- package/dist/{Stock-XDRZ4E4Y.js → Stock-L2W6WRVP.js} +3 -3
- package/dist/{Weather-2DARMROG.js → Weather-7GK4V2SQ.js} +19 -19
- package/dist/{WorldClock-SCHVEGYQ.js → WorldClock-2D2YSOTH.js} +6 -6
- package/dist/apps/index.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/brand.css +1 -1
- package/dist/chunk-2H3XIWVB.js +14 -0
- package/dist/chunk-4OKCSGQU.js +106 -0
- package/dist/{chunk-D5LPLRNW.js → chunk-6ATKOYTG.js} +1 -1
- package/dist/chunk-7L7CUVCD.js +1 -0
- package/dist/{chunk-XSBCPBEF.js → chunk-EYOYUZFK.js} +2 -2
- package/dist/{chunk-NVQU6PWL.js → chunk-GXGRCLNE.js} +4 -4
- package/dist/{chunk-W5Y7FIJW.js → chunk-HKISG22R.js} +1 -1
- package/dist/{chunk-6FEJFVSF.js → chunk-INXHIPJ5.js} +1 -1
- package/dist/chunk-JIRDFTVN.js +21 -0
- package/dist/{chunk-T2ORFQB5.js → chunk-KNOKDBRY.js} +9 -9
- package/dist/chunk-VT6TBIVE.js +1017 -0
- package/dist/index.d.ts +18 -6
- package/dist/index.js +271 -271
- package/dist/page-tabs/index.js +4 -4
- package/dist/telemetry/index.js +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
- package/dist/Files-C3M5GA6P.js +0 -87
- package/dist/Spreadsheet-2AWJ25QY.js +0 -37
- package/dist/chunk-2WI3PUCA.js +0 -1021
- package/dist/chunk-MLYPYWFQ.js +0 -10
- package/dist/chunk-NZBX24NL.js +0 -1
- package/dist/chunk-OFJJDLHZ.js +0 -21
- package/dist/chunk-VGUPYJCK.js +0 -1
- package/dist/chunk-XFIEANJ6.js +0 -108
package/dist/index.d.ts
CHANGED
|
@@ -396,9 +396,11 @@ declare function Modal({ open, onClose, title, icon, copyText, size, dirty, onNe
|
|
|
396
396
|
* A window's title is often more than a name: `Sales Order SO#1042`, the copy
|
|
397
397
|
* icon after the number, a status badge, an Edit button. On the desktop all of
|
|
398
398
|
* it rides in the title bar. In the Sidebar layout the tab is the title bar and
|
|
399
|
-
* holds only words, so the rest needs a place of its own
|
|
400
|
-
*
|
|
401
|
-
* The
|
|
399
|
+
* holds only words, so the rest needs a place of its own: the buttons (Edit)
|
|
400
|
+
* ride in the active tab beside the words, and the badges in the record bar
|
|
401
|
+
* under the strip. The copy icon is not drawn there at all — the number and
|
|
402
|
+
* its copy icon belong in the window's body, at the head of its facts table.
|
|
403
|
+
* The routed portals' page frames split their page titles the same way.
|
|
402
404
|
*
|
|
403
405
|
* The rule, so a title author can predict where each piece lands:
|
|
404
406
|
*
|
|
@@ -406,11 +408,14 @@ declare function Modal({ open, onClose, title, icon, copyText, size, dirty, onNe
|
|
|
406
408
|
* `b`, `code`, …) — are the title (`text`). The tab shows them; they are
|
|
407
409
|
* not repeated in the page. A badge's own text is not a word: the badge
|
|
408
410
|
* itself is in the record bar.
|
|
409
|
-
* - **The `CopyButton`** gives its `text` to
|
|
411
|
+
* - **The `CopyButton`** gives its `text` to `copy`.
|
|
410
412
|
* - **Everything else is an accessory**, in title order: any component
|
|
411
413
|
* (`StatusBadge`, `ColoredBadge`, a portal's Edit button) and any control
|
|
412
414
|
* (`button`, `a`, `input`, `select`, `textarea`, `kbd`). Inline SVG is a
|
|
413
415
|
* decoration and is dropped — the tab already has the window's icon.
|
|
416
|
+
* - **An accessory is a badge** (`badges`) when it is a `StatusBadge`, a
|
|
417
|
+
* `ColoredBadge`, or a component marked `titleRole = 'badge'` (a portal's
|
|
418
|
+
* own badge wrapper). Every other accessory is an action (`actions`).
|
|
414
419
|
*
|
|
415
420
|
* So a badge drawn as a styled `<span>` is words, not an accessory: use
|
|
416
421
|
* `ColoredBadge` or `StatusBadge` for anything meant to be seen as a badge.
|
|
@@ -425,7 +430,14 @@ interface TitleParts {
|
|
|
425
430
|
copy?: string;
|
|
426
431
|
/** Badges and controls, in the order the title had them. Keyed. */
|
|
427
432
|
accessories: ReactNode[];
|
|
428
|
-
|
|
433
|
+
/** The accessories that are badges, in title order. */
|
|
434
|
+
badges: ReactNode[];
|
|
435
|
+
/** The accessories that are not badges — Edit and the like. */
|
|
436
|
+
actions: ReactNode[];
|
|
437
|
+
}
|
|
438
|
+
/** Mark a component as a badge, so a window title's split files it with the
|
|
439
|
+
* badges and not with the buttons: `MyBadge.titleRole = 'badge'`. */
|
|
440
|
+
type TitleRole = 'badge';
|
|
429
441
|
declare function splitTitle(title: ReactNode): TitleParts;
|
|
430
442
|
|
|
431
443
|
/**
|
|
@@ -2598,4 +2610,4 @@ declare function useUndoable<T>(value: T, apply: (next: T) => void, opts: Undoab
|
|
|
2598
2610
|
*/
|
|
2599
2611
|
declare function useUndoableState<T>(initial: T | (() => T), opts: UndoableOptions): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
2600
2612
|
|
|
2601
|
-
export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, ColumnDef, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, type DuplicateGroup, type EntityFetcher, EntityList, type EntityListColumn, type EntityListContextAction, type EntityListProps, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, ImageAnnotator, type ImageAnnotatorHandle, type ImageAnnotatorProps, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, ResizableTable, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SortState, type SortableColumn, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, mergeBulkItems, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellApiClient, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useColumnConfig, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useSort, useTableNav, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|
|
2613
|
+
export { type ActivityKind, type AsyncEnvironment, BLOCKED_PCT_CPU, type BatteryInfo, BehaviorPanel, type BottleneckKind, type BulkColumn, type BulkColumnKind, BulkImportGrid, type BulkImportGridProps, type BulkRow, CancelButton, ChangePasswordForm, type ChangePasswordFormProps, type ChangelogEntry, type ClockCalendarConfig, ColumnDef, CopyButton, Customization, type CustomizationOmitSection, type CustomizationProps, type CustomizationSection, DEV_BANNER_TEXT, Desktop, type DesktopContextMenuItem, type DesktopHostConfig, DesktopHostProvider, DevIndicator, DocFavStar, type DuplicateGroup, type EntityFetcher, EntityList, type EntityListColumn, type EntityListContextAction, type EntityListProps, EntityWindowFallback, type EntityWindowFallbackProps, EntityWindowLoading, EntityWindowState, type EntityWindowStateProps, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, ImageAnnotator, type ImageAnnotatorHandle, type ImageAnnotatorProps, LOG_CAP, Layout, type LayoutMode, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, MODAL_SUBMIT_SELECTOR, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, NotificationBell, type NotificationsConfig, type OpenPageOptions, PaginatedResponse, PdfActionButton, type PdfActionButtonProps, type PerfEnvironment, type PerfLogRecord, type PerfReading, type PerfReport, PerfStats, type PerfStatsProps, type PlatformHints, ResizableTable, SMOOTH_FPS, SearchConfig, ServerStatusIndicator, type ServerStatusIndicatorProps, type ServerStatusUser, type ShellAuth, ShellAuthProvider, type ShellBranding, ShellContextMenu, type ShellContextMenuProps, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SortState, type SortableColumn, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, type TitleParts, type TitleRole, type TodoProvider, type TodoTask, UndoControls, type UndoControlsApi, type UndoControlsProps, UndoProvider, type UndoProviderProps, type UndoSnapshot, type UndoState, type UndoStep, type UndoableOptions, type Verdict, WidgetManager, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowRegistry, type WindowTarget, type WindowTargetOptions, WindowTitle, activateWindowById, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, copyToClipboard, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, installThemeIconSets, isDevEnv, isInteracting, layoutModeOf, markMenuOpen, mergeBulkItems, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellApiClient, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, splitTitle, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useColumnConfig, useCurrentTabKey, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, usePageSearch, useSetLayoutMode, useShellAuth, useShellEntityFetcher, useSort, useTableNav, useUndo, useUndoCanEdit, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|