react-os-shell 4.55.0 → 4.67.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/README.md +7 -3
- package/dist/{Browser-WHBSYGLC.js → Browser-NBYPPENQ.js} +6 -6
- package/dist/{Browser-WHBSYGLC.js.map → Browser-NBYPPENQ.js.map} +1 -1
- package/dist/{Calculator-PHKNMRLX.js → Calculator-UNAVT7IE.js} +5 -5
- package/dist/{Calculator-PHKNMRLX.js.map → Calculator-UNAVT7IE.js.map} +1 -1
- package/dist/ConfirmDialog-SREDNTIB.js +3 -0
- package/dist/{ConfirmDialog-EEH4CWSW.js.map → ConfirmDialog-SREDNTIB.js.map} +1 -1
- package/dist/{CurrencyConverter-MEG7RHEK.js → CurrencyConverter-KURXJHLK.js} +5 -5
- package/dist/{CurrencyConverter-MEG7RHEK.js.map → CurrencyConverter-KURXJHLK.js.map} +1 -1
- package/dist/{Documents-Y32RNCTU.js → Documents-7CUBCETC.js} +6 -6
- package/dist/{Documents-Y32RNCTU.js.map → Documents-7CUBCETC.js.map} +1 -1
- package/dist/{Files-LTG2S2KU.js → Files-UXEDRQF4.js} +6 -6
- package/dist/{Files-LTG2S2KU.js.map → Files-UXEDRQF4.js.map} +1 -1
- package/dist/{Notepad-P7J2OAXD.js → Notepad-ON4T45UP.js} +6 -6
- package/dist/{Notepad-P7J2OAXD.js.map → Notepad-ON4T45UP.js.map} +1 -1
- package/dist/{PomodoroTimer-5B5AFXQH.js → PomodoroTimer-J7V5VXR4.js} +5 -5
- package/dist/{PomodoroTimer-5B5AFXQH.js.map → PomodoroTimer-J7V5VXR4.js.map} +1 -1
- package/dist/{Preview-XZQ55YGY.js → Preview-QINOPDT2.js} +6 -6
- package/dist/{Preview-XZQ55YGY.js.map → Preview-QINOPDT2.js.map} +1 -1
- package/dist/{Spreadsheet-KKSLCSIK.js → Spreadsheet-OFF3J4HN.js} +6 -6
- package/dist/{Spreadsheet-KKSLCSIK.js.map → Spreadsheet-OFF3J4HN.js.map} +1 -1
- package/dist/{Stock-KTWRNBI6.js → Stock-BSU7S7MW.js} +5 -5
- package/dist/{Stock-KTWRNBI6.js.map → Stock-BSU7S7MW.js.map} +1 -1
- package/dist/{Weather-B7MO7N4N.js → Weather-BKNRVMG6.js} +5 -5
- package/dist/{Weather-B7MO7N4N.js.map → Weather-BKNRVMG6.js.map} +1 -1
- package/dist/{WorldClock-M5MEV74F.js → WorldClock-VMTD2QWD.js} +5 -5
- package/dist/{WorldClock-M5MEV74F.js.map → WorldClock-VMTD2QWD.js.map} +1 -1
- package/dist/apps/index.js +16 -16
- package/dist/{chunk-CTTHBTOX.js → chunk-B3IYV7JN.js} +1052 -334
- package/dist/chunk-B3IYV7JN.js.map +1 -0
- package/dist/{chunk-OXLLRKBC.js → chunk-CDR2Q64Q.js} +38 -22
- package/dist/chunk-CDR2Q64Q.js.map +1 -0
- package/dist/{chunk-FHPPPDHL.js → chunk-E2N5WEHI.js} +3 -3
- package/dist/{chunk-FHPPPDHL.js.map → chunk-E2N5WEHI.js.map} +1 -1
- package/dist/{chunk-5S65ZC5W.js → chunk-GRSVL6WX.js} +83 -9
- package/dist/chunk-GRSVL6WX.js.map +1 -0
- package/dist/{chunk-S3ZIBWRY.js → chunk-HAFM6ZQD.js} +4 -4
- package/dist/{chunk-S3ZIBWRY.js.map → chunk-HAFM6ZQD.js.map} +1 -1
- package/dist/chunk-K35QFOJF.js +7 -0
- package/dist/{chunk-LCLB7YBY.js.map → chunk-K35QFOJF.js.map} +1 -1
- package/dist/{index-BE0z2D6y.d.ts → index-DM-d12A7.d.ts} +206 -7
- package/dist/index.d.ts +29 -8
- package/dist/index.js +58 -20
- package/dist/index.js.map +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +1 -1
- package/dist/ConfirmDialog-EEH4CWSW.js +0 -3
- package/dist/chunk-5S65ZC5W.js.map +0 -1
- package/dist/chunk-CTTHBTOX.js.map +0 -1
- package/dist/chunk-LCLB7YBY.js +0 -7
- package/dist/chunk-OXLLRKBC.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION } from './chunk-
|
|
2
|
-
import { useWindowMenuItem, Modal } from './chunk-
|
|
1
|
+
import { VERSION } from './chunk-K35QFOJF.js';
|
|
2
|
+
import { useWindowMenuItem, Modal } from './chunk-GRSVL6WX.js';
|
|
3
3
|
import { navIcons } from './chunk-WNLPTLT6.js';
|
|
4
4
|
import { useState, useCallback, isValidElement, cloneElement } from 'react';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -75,5 +75,5 @@ function AboutApp({ app }) {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
export { AboutApp, BUILTIN_APP_INFO };
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
79
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-HAFM6ZQD.js.map
|
|
79
|
+
//# sourceMappingURL=chunk-HAFM6ZQD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/apps/_about.tsx"],"names":[],"mappings":";;;;;;AA4BO,IAAM,gBAAA,GAAmB;AAAA,EAC9B,WAAA,EAAa;AAAA,IACX,IAAA,EAAM,cAAA;AAAA,IACN,OAAA,EAAS,OAAA;AAAA,IACT,KAAA,EAAO,cAAA;AAAA,IACP,WAAA,EAAa;AAAA,GACf;AAAA,EACA,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,SAAA;AAAA,IACN,OAAA,EAAS,OAAA;AAAA,IACT,KAAA,EAAO,UAAA;AAAA,IACP,WAAA,EAAa;AAAA,GACf;AAAA,EACA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,WAAA;AAAA,IACN,OAAA,EAAS,OAAA;AAAA,IACT,KAAA,EAAO,YAAA;AAAA,IACP,WAAA,EAAa;AAAA,GACf;AAAA,EACA,OAAA,EAAS;AAAA,IACP,IAAA,EAAM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,SAAA,EAAU,4CAAA,EAA6C,QAAA,EAAA;AAAA,QAAA,SAAA;AAAA,QAAQ;AAAA,OAAA,EAAQ;AAAA,KAAA,EACxF;AAAA,GAAA,EACF,CAAA,EACF,CAAA;AAEJ","file":"chunk-HAFM6ZQD.js","sourcesContent":["/**\n * Shared \"About\" dialog for the bundled apps.\n *\n * Each bundled app carries its own version (independent of the package\n * version) so app-level changes can be tracked without bumping every app at\n * once. `<AboutApp app=\"…\" />` registers an \"About <Name>\" item in the\n * window title menu and renders the dialog: app icon, name, app version and\n * the react-os-shell attribution + shell version.\n *\n * Bump an app's version in `BUILTIN_APP_INFO` whenever that app's behaviour\n * changes, alongside the package-level CHANGELOG entry.\n */\nimport { useCallback, useState, isValidElement, cloneElement, type ReactElement } from 'react';\nimport Modal, { useWindowMenuItem } from '../shell/Modal';\nimport { navIcons } from '../shell-config/nav';\nimport { VERSION } from '../version';\n\nexport interface BuiltinAppInfo {\n /** Display name — matches the window-registry label. */\n name: string;\n /** App version, independent of the package version. */\n version: string;\n /** One-line summary shown in the About dialog. */\n description: string;\n /** Registry route — used to look up the consumer-registered nav icon. */\n route: string;\n}\n\nexport const BUILTIN_APP_INFO = {\n spreadsheet: {\n name: 'Spreadsheets',\n version: '1.1.1',\n route: '/spreadsheet',\n description: 'Multi-sheet spreadsheet editor with CSV / TSV import and export.',\n },\n notepad: {\n name: 'Notepad',\n version: '1.0.0',\n route: '/notepad',\n description: 'Color-coded notes with checklists, desktop stickies and entity autolinking.',\n },\n documents: {\n name: 'Documents',\n version: '1.1.0',\n route: '/documents',\n description: 'Letter-page editor for Word documents and plain-text files — images, lists, alignment.',\n },\n preview: {\n name: 'Preview',\n version: '1.2.1',\n route: '/preview',\n description: 'Viewer for PDF documents, images, DXF drawings and 3D models — CAD-style measuring with object snap and an AutoCAD-like command bar.',\n },\n files: {\n name: 'Files',\n version: '1.1.0',\n route: '/files',\n description: 'Personal file manager with folders, uploads, quota, trash and desktop shortcut folders.',\n },\n browser: {\n name: 'Browser',\n version: '1.0.1',\n route: '/browser',\n description: 'Minimal web browser with bookmarks, history and navigation bar.',\n },\n} satisfies Record<string, BuiltinAppInfo>;\n\nexport type BuiltinAppId = keyof typeof BUILTIN_APP_INFO;\n\nconst ABOUT_MENU_ICON = (\n <svg className=\"h-4 w-4 text-gray-400\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" strokeWidth={1.5}>\n <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z\" />\n </svg>\n);\n\n// Generic window glyph shown when the consumer hasn't registered a nav icon\n// for the app's route (same fallback shape as the Modal title bar).\nconst FALLBACK_APP_ICON = (\n <svg className=\"h-9 w-9\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" strokeWidth={1.5}>\n <path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M3.75 6.75A2.25 2.25 0 016 4.5h12a2.25 2.25 0 012.25 2.25v10.5A2.25 2.25 0 0118 19.5H6a2.25 2.25 0 01-2.25-2.25V6.75z M3.75 9h16.5\" />\n </svg>\n);\n\n/** Registers \"About <Name>\" in the window title menu and renders the dialog.\n * Render anywhere inside the app's window. */\nexport default function AboutApp({ app }: { app: BuiltinAppId }) {\n const info = BUILTIN_APP_INFO[app];\n const [open, setOpen] = useState(false);\n const openDialog = useCallback(() => setOpen(true), []);\n useWindowMenuItem(`About ${info.name}`, openDialog, ABOUT_MENU_ICON);\n\n if (!open) return null;\n\n const registered = navIcons[info.route];\n const appIcon = isValidElement(registered)\n ? cloneElement(registered as ReactElement, { className: 'h-9 w-9' } as any)\n : FALLBACK_APP_ICON;\n\n return (\n <Modal open onClose={() => setOpen(false)} title={`About ${info.name}`} size=\"sm\" compact bodyScroll={false} autoHeight dimensions={[320, 320]}>\n <div className=\"flex flex-col items-center text-center px-5 pt-5 pb-4\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0\">\n {appIcon}\n </div>\n <h2 className=\"mt-3 text-lg font-bold text-gray-900\">{info.name}</h2>\n <p className=\"text-[11px] font-mono text-gray-400\">Version {info.version}</p>\n <p className=\"mt-2 text-xs text-gray-500 leading-relaxed\">{info.description}</p>\n <div className=\"mt-4 pt-3 border-t border-gray-200 w-full\">\n <p className=\"text-[11px] text-gray-500\">\n Part of the <span className=\"font-medium text-gray-700\">react-os-shell</span> desktop environment\n </p>\n {VERSION && <p className=\"mt-0.5 text-[10px] font-mono text-gray-400\">shell v{VERSION}</p>}\n </div>\n </div>\n </Modal>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/version.ts"],"names":[],"mappings":";AAIO,IAAM,OAAA,GAAwD,QAAA;AAG9D,IAAM,WAAA,GAAc","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"names":[],"mappings":";AAIO,IAAM,OAAA,GAAwD,QAAA;AAG9D,IAAM,WAAA,GAAc","file":"chunk-K35QFOJF.js","sourcesContent":["declare const __PKG_VERSION__: string | undefined;\n\n/** Package version, injected by tsup at build time. Stays as an empty\n * string when the source is consumed without a build (e.g. tests). */\nexport const VERSION: string = typeof __PKG_VERSION__ === 'string' ? __PKG_VERSION__ : '';\n\n/** Legacy alias kept so existing consumers do not break. */\nexport const APP_VERSION = VERSION;\n"]}
|
|
@@ -385,15 +385,76 @@ interface DateRangePickerProps {
|
|
|
385
385
|
declare function toISODate(d: Date): string;
|
|
386
386
|
declare function DateRangePicker({ from, to, onChange, formatDisplay, clearable, placeholder, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
387
387
|
|
|
388
|
+
type CalendarMode = 'single' | 'range';
|
|
389
|
+
interface CalendarProps {
|
|
390
|
+
/** `YYYY-MM-DD`, or null. In range mode this is the start. */
|
|
391
|
+
value?: string | null;
|
|
392
|
+
/** Range end. Ignored when `mode` is `single`. */
|
|
393
|
+
endValue?: string | null;
|
|
394
|
+
mode?: CalendarMode;
|
|
395
|
+
onSelect: (date: string) => void;
|
|
396
|
+
/** Earliest selectable day, `YYYY-MM-DD`. */
|
|
397
|
+
min?: string | null;
|
|
398
|
+
/** Latest selectable day, `YYYY-MM-DD`. */
|
|
399
|
+
max?: string | null;
|
|
400
|
+
/**
|
|
401
|
+
* Which month is shown, `YYYY-MM`. Supplying it makes the view CONTROLLED:
|
|
402
|
+
* paging reports through `onMonthChange` and the grid stays put until the
|
|
403
|
+
* caller moves it. Use {@link defaultMonth} to only set where it opens.
|
|
404
|
+
*/
|
|
405
|
+
month?: string;
|
|
406
|
+
/** Where an uncontrolled grid opens. Falls back to the selected date's month, then today's. */
|
|
407
|
+
defaultMonth?: string;
|
|
408
|
+
onMonthChange?: (month: string) => void;
|
|
409
|
+
/**
|
|
410
|
+
* 0 = Sunday, 1 = Monday. Defaults to Sunday, matching what the kit's pickers
|
|
411
|
+
* showed before this existed; a consumer outside the US will want 1.
|
|
412
|
+
*/
|
|
413
|
+
weekStartsOn?: 0 | 1;
|
|
414
|
+
/**
|
|
415
|
+
* Offer the month and year panels behind the heading, so a date years away is
|
|
416
|
+
* two clicks rather than a hundred presses of PageUp. On by default.
|
|
417
|
+
*/
|
|
418
|
+
quickJump?: boolean;
|
|
419
|
+
/** Names the grid. Defaults to the month and year on show. */
|
|
420
|
+
'aria-label'?: string;
|
|
421
|
+
className?: string;
|
|
422
|
+
}
|
|
423
|
+
/** `YYYY-MM-DD` from local calendar fields — never `toISOString()`. */
|
|
424
|
+
declare function toKey(d: Date): string;
|
|
425
|
+
/** The local Date for a `YYYY-MM-DD`, or null. Never `new Date(string)`. */
|
|
426
|
+
declare function fromKey(key: string | null | undefined): Date | null;
|
|
427
|
+
declare function Calendar({ value, endValue, mode, onSelect, min, max, month, defaultMonth, onMonthChange, weekStartsOn, quickJump, 'aria-label': ariaLabel, className, }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
428
|
+
|
|
429
|
+
interface TimePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'size' | 'type' | 'value' | 'onChange' | 'min' | 'max'> {
|
|
430
|
+
/** An `HH:MM` / `HH:MM:SS` string, a Date (local wall-clock time is read), or nothing. */
|
|
431
|
+
value?: Date | string | null;
|
|
432
|
+
/**
|
|
433
|
+
* The chosen time as `HH:MM` (`HH:MM:SS` when `step` asks for seconds), or
|
|
434
|
+
* `null` when the field is empty or mid-entry — same contract as DatePicker.
|
|
435
|
+
*/
|
|
436
|
+
onChange?: (value: string | null) => void;
|
|
437
|
+
/** Earliest selectable time. */
|
|
438
|
+
min?: Date | string | null;
|
|
439
|
+
/** Latest selectable time. */
|
|
440
|
+
max?: Date | string | null;
|
|
441
|
+
/** Error state — red border + ring, matching Input. */
|
|
442
|
+
invalid?: boolean;
|
|
443
|
+
/** `touch` gives a 56px field for a finger. Defaults to the desktop size. */
|
|
444
|
+
size?: InputSize;
|
|
445
|
+
className?: string;
|
|
446
|
+
}
|
|
447
|
+
declare const TimePicker: react.ForwardRefExoticComponent<TimePickerProps & react.RefAttributes<HTMLInputElement>>;
|
|
448
|
+
|
|
388
449
|
interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'size' | 'type' | 'value' | 'onChange' | 'min' | 'max'> {
|
|
389
450
|
/** A Date, a `YYYY-MM-DD` string, or nothing. */
|
|
390
451
|
value?: Date | string | null;
|
|
391
452
|
/**
|
|
392
453
|
* The chosen date at local midnight, or `null` when the field is empty.
|
|
393
454
|
*
|
|
394
|
-
* A
|
|
395
|
-
*
|
|
396
|
-
*
|
|
455
|
+
* A partly typed date is not yet a date, and a cleared field has none. Both
|
|
456
|
+
* arrive here as `null`: "no date yet" and "cleared" are the same thing to a
|
|
457
|
+
* caller storing a value.
|
|
397
458
|
*/
|
|
398
459
|
onChange?: (value: Date | null) => void;
|
|
399
460
|
/** Earliest selectable date. */
|
|
@@ -404,10 +465,38 @@ interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'c
|
|
|
404
465
|
invalid?: boolean;
|
|
405
466
|
/** `touch` gives a 56px field for a finger. Defaults to the desktop size. */
|
|
406
467
|
size?: InputSize;
|
|
468
|
+
/**
|
|
469
|
+
* Use the platform's own date input instead of the kit's calendar. Worth it
|
|
470
|
+
* on a mobile-first surface, where the OS date wheel beats any popover; the
|
|
471
|
+
* cost is that the field then looks like the browser rather than the kit.
|
|
472
|
+
*/
|
|
473
|
+
native?: boolean;
|
|
474
|
+
/** 0 = Sunday, 1 = Monday. Passed through to the calendar. */
|
|
475
|
+
weekStartsOn?: 0 | 1;
|
|
407
476
|
className?: string;
|
|
408
477
|
}
|
|
409
478
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLInputElement>>;
|
|
410
479
|
|
|
480
|
+
interface DateTimePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'className' | 'size' | 'type' | 'value' | 'onChange' | 'min' | 'max'> {
|
|
481
|
+
/** A Date, a local `YYYY-MM-DDTHH:MM` string, or nothing. */
|
|
482
|
+
value?: Date | string | null;
|
|
483
|
+
/**
|
|
484
|
+
* The chosen moment as a local Date, or `null` when the field is empty or
|
|
485
|
+
* mid-entry — same contract as DatePicker.
|
|
486
|
+
*/
|
|
487
|
+
onChange?: (value: Date | null) => void;
|
|
488
|
+
/** Earliest selectable moment. */
|
|
489
|
+
min?: Date | string | null;
|
|
490
|
+
/** Latest selectable moment. */
|
|
491
|
+
max?: Date | string | null;
|
|
492
|
+
/** Error state — red border + ring, matching Input. */
|
|
493
|
+
invalid?: boolean;
|
|
494
|
+
/** `touch` gives a 56px field for a finger. Defaults to the desktop size. */
|
|
495
|
+
size?: InputSize;
|
|
496
|
+
className?: string;
|
|
497
|
+
}
|
|
498
|
+
declare const DateTimePicker: react.ForwardRefExoticComponent<DateTimePickerProps & react.RefAttributes<HTMLInputElement>>;
|
|
499
|
+
|
|
411
500
|
interface NumericKeypadProps {
|
|
412
501
|
value: string;
|
|
413
502
|
onChange: (next: string) => void;
|
|
@@ -585,6 +674,29 @@ interface SearchableSelectProps {
|
|
|
585
674
|
}
|
|
586
675
|
declare function SearchableSelect({ value, onChange, options, placeholder, emptyOptionLabel, className, disabled, id, allowFreeText, onSearchChange, rightAdornment, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
587
676
|
|
|
677
|
+
interface TagInputOption {
|
|
678
|
+
value: string;
|
|
679
|
+
label: string;
|
|
680
|
+
}
|
|
681
|
+
interface TagInputProps {
|
|
682
|
+
value: string[];
|
|
683
|
+
onChange: (value: string[]) => void;
|
|
684
|
+
/** The pickable list. Omit it for a pure free-text tag field (with
|
|
685
|
+
* `allowFreeText`), where the dropdown never renders. */
|
|
686
|
+
options?: TagInputOption[];
|
|
687
|
+
placeholder?: string;
|
|
688
|
+
/** When true, Enter / comma / Tab / clicking away commits the typed text as
|
|
689
|
+
* a tag of its own. Default false: only listed options can be picked. */
|
|
690
|
+
allowFreeText?: boolean;
|
|
691
|
+
/** Error state — red border + ring, matching Input. */
|
|
692
|
+
invalid?: boolean;
|
|
693
|
+
disabled?: boolean;
|
|
694
|
+
/** Optional id for label-for wiring, applied to the inner text input. */
|
|
695
|
+
id?: string;
|
|
696
|
+
className?: string;
|
|
697
|
+
}
|
|
698
|
+
declare function TagInput({ value, onChange, options, placeholder, allowFreeText, invalid, disabled, id, className, }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
699
|
+
|
|
588
700
|
/** How much room the card gives its contents. `md` is the desktop default;
|
|
589
701
|
* `lg` suits a touch layout, where the same density reads as cramped. */
|
|
590
702
|
type CardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -941,6 +1053,27 @@ interface TabsProps {
|
|
|
941
1053
|
}
|
|
942
1054
|
declare function Tabs({ items, value, onChange, variant, idPrefix, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
943
1055
|
|
|
1056
|
+
interface StepItem {
|
|
1057
|
+
id: string;
|
|
1058
|
+
label: ReactNode;
|
|
1059
|
+
/** Short line under the label. */
|
|
1060
|
+
description?: ReactNode;
|
|
1061
|
+
}
|
|
1062
|
+
interface StepperProps {
|
|
1063
|
+
items: StepItem[];
|
|
1064
|
+
/** The current step's id. Controlled — the consumer owns the wizard state. */
|
|
1065
|
+
value: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Lets the user return to a COMPLETED step by clicking it. Omitted, the
|
|
1068
|
+
* strip is purely an indicator and renders no controls at all.
|
|
1069
|
+
*/
|
|
1070
|
+
onChange?: (id: string) => void;
|
|
1071
|
+
/** Names the strip for assistive technology, e.g. "Checkout steps". */
|
|
1072
|
+
'aria-label'?: string;
|
|
1073
|
+
className?: string;
|
|
1074
|
+
}
|
|
1075
|
+
declare function Stepper({ items, value, onChange, 'aria-label': ariaLabel, className, }: StepperProps): react_jsx_runtime.JSX.Element;
|
|
1076
|
+
|
|
944
1077
|
interface AccordionItem {
|
|
945
1078
|
id: string;
|
|
946
1079
|
title: ReactNode;
|
|
@@ -1714,9 +1847,16 @@ interface DialogProps {
|
|
|
1714
1847
|
* that does the irreversible thing.
|
|
1715
1848
|
*/
|
|
1716
1849
|
initialFocus?: RefObject<HTMLElement | null>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Names the dialog when it carries no visible `title`. Without a name it is
|
|
1852
|
+
* announced as just "dialog", which tells a screen reader user nothing about
|
|
1853
|
+
* what opened. Ignored when `title` is set — a visible label always wins over
|
|
1854
|
+
* a parallel invisible one, or the two drift.
|
|
1855
|
+
*/
|
|
1856
|
+
'aria-label'?: string;
|
|
1717
1857
|
className?: string;
|
|
1718
1858
|
}
|
|
1719
|
-
declare function Dialog({ open, onClose, title, children, footer, blocking, size, initialFocus, className, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
1859
|
+
declare function Dialog({ open, onClose, title, children, footer, blocking, size, initialFocus, 'aria-label': ariaLabel, className, }: DialogProps): react_jsx_runtime.JSX.Element | null;
|
|
1720
1860
|
|
|
1721
1861
|
type DrawerSide = 'right' | 'left' | 'bottom';
|
|
1722
1862
|
type DrawerSize = 'sm' | 'md' | 'lg';
|
|
@@ -1732,9 +1872,19 @@ interface DrawerProps {
|
|
|
1732
1872
|
/** Escape and the scrim do nothing. See Dialog's note before reaching for it. */
|
|
1733
1873
|
blocking?: boolean;
|
|
1734
1874
|
initialFocus?: RefObject<HTMLElement | null>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Names the drawer when it carries no visible `title`. A dialog without an
|
|
1877
|
+
* accessible name is announced as just "dialog", which tells a screen reader
|
|
1878
|
+
* user nothing about what opened — and a navigation drawer, whose content is
|
|
1879
|
+
* its own heading, is exactly the case that has no title to point at.
|
|
1880
|
+
*
|
|
1881
|
+
* Ignored when `title` is set: a visible label always wins over a parallel
|
|
1882
|
+
* invisible one, or the two drift.
|
|
1883
|
+
*/
|
|
1884
|
+
'aria-label'?: string;
|
|
1735
1885
|
className?: string;
|
|
1736
1886
|
}
|
|
1737
|
-
declare function Drawer({ open, onClose, side, size, title, footer, children, blocking, initialFocus, className, }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
1887
|
+
declare function Drawer({ open, onClose, side, size, title, footer, children, blocking, initialFocus, 'aria-label': ariaLabel, className, }: DrawerProps): react_jsx_runtime.JSX.Element | null;
|
|
1738
1888
|
|
|
1739
1889
|
/**
|
|
1740
1890
|
* Focus containment and scroll locking for a modal surface — the two things
|
|
@@ -2109,9 +2259,28 @@ interface DataTableProps<T> {
|
|
|
2109
2259
|
emptyText?: ReactNode;
|
|
2110
2260
|
/** Rendered under the rows — an infinite-scroll sentinel, a totals strip. */
|
|
2111
2261
|
footer?: ReactNode;
|
|
2262
|
+
/**
|
|
2263
|
+
* Windowed rendering for large LOADED datasets. Pagination and infinite
|
|
2264
|
+
* scroll bound what is fetched; this bounds what is RENDERED — a few
|
|
2265
|
+
* thousand loaded rows otherwise all get DOM, and every sort or filter
|
|
2266
|
+
* re-lays-out the lot. The wrapper becomes a vertical scroll container of
|
|
2267
|
+
* `height` px, only the rows near the viewport exist in the DOM (padded to
|
|
2268
|
+
* the full scroll height by two spacer rows), and the header pins to the
|
|
2269
|
+
* top of the scroll.
|
|
2270
|
+
*
|
|
2271
|
+
* `rowHeight` is a promise, not a measurement: every row is rendered at
|
|
2272
|
+
* exactly that height (the scroll math depends on it), so `ellipsis` your
|
|
2273
|
+
* long columns rather than letting them wrap. Off-screen rows are absent
|
|
2274
|
+
* for assistive technology too — same trade every windowed list makes.
|
|
2275
|
+
*/
|
|
2276
|
+
virtualized?: {
|
|
2277
|
+
height: number;
|
|
2278
|
+
rowHeight: number;
|
|
2279
|
+
overscan?: number;
|
|
2280
|
+
};
|
|
2112
2281
|
className?: string;
|
|
2113
2282
|
}
|
|
2114
|
-
declare function DataTable<T>({ columns, data, rowKey, sort, onSortChange, pagination, caption, loading, bordered, size, minWidth, rowClassName, onRow, emptyText, footer, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2283
|
+
declare function DataTable<T>({ columns, data, rowKey, sort, onSortChange, pagination, caption, loading, bordered, size, minWidth, rowClassName, onRow, emptyText, footer, virtualized, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2115
2284
|
|
|
2116
2285
|
interface ListFooterProps {
|
|
2117
2286
|
selectedCount: number;
|
|
@@ -2185,6 +2354,34 @@ interface BarChartProps {
|
|
|
2185
2354
|
className?: string;
|
|
2186
2355
|
style?: CSSProperties;
|
|
2187
2356
|
}
|
|
2357
|
+
interface LineChartSeries {
|
|
2358
|
+
data: number[];
|
|
2359
|
+
/** Shown in the legend (`showLegend`) and in point tooltips. */
|
|
2360
|
+
label?: string;
|
|
2361
|
+
/** Line color. Defaults to `currentColor`. */
|
|
2362
|
+
color?: string;
|
|
2363
|
+
/** Area fill under this line. Omit for a bare line. */
|
|
2364
|
+
fill?: string;
|
|
2365
|
+
}
|
|
2366
|
+
interface LineChartProps {
|
|
2367
|
+
/** One or more series drawn over the same x positions. */
|
|
2368
|
+
series: LineChartSeries[];
|
|
2369
|
+
/** X-axis labels rendered under the plot, one per data point. */
|
|
2370
|
+
labels?: string[];
|
|
2371
|
+
height?: number;
|
|
2372
|
+
strokeWidth?: number;
|
|
2373
|
+
showDots?: boolean;
|
|
2374
|
+
/** Value at the top of the plot. Defaults to the max across all series. */
|
|
2375
|
+
max?: number;
|
|
2376
|
+
/** Value at the bottom of the plot. Defaults to the min across all series. */
|
|
2377
|
+
min?: number;
|
|
2378
|
+
/** Max / mid / min values in a left gutter, with faint reference lines. */
|
|
2379
|
+
showScale?: boolean;
|
|
2380
|
+
/** Color-dot legend above the plot, from the series' `label`s. */
|
|
2381
|
+
showLegend?: boolean;
|
|
2382
|
+
className?: string;
|
|
2383
|
+
style?: CSSProperties;
|
|
2384
|
+
}
|
|
2188
2385
|
interface DonutSegment {
|
|
2189
2386
|
label: string;
|
|
2190
2387
|
value: number;
|
|
@@ -2206,6 +2403,8 @@ declare function BarChart({ data, labels, height, color, colors, max, gap, class
|
|
|
2206
2403
|
|
|
2207
2404
|
declare function DonutChart({ segments, size, thickness, centerLabel, className, style }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
2208
2405
|
|
|
2406
|
+
declare function LineChart({ series, labels, height, strokeWidth, showDots, max, min, showScale, showLegend, className, style, }: LineChartProps): react_jsx_runtime.JSX.Element | null;
|
|
2407
|
+
|
|
2209
2408
|
declare function DashboardTemplate(): react_jsx_runtime.JSX.Element;
|
|
2210
2409
|
|
|
2211
2410
|
declare function DataTablePage(): react_jsx_runtime.JSX.Element;
|
|
@@ -2376,4 +2575,4 @@ declare const ALT_SHIFT_N: string;
|
|
|
2376
2575
|
* string when the source is consumed without a build (e.g. tests). */
|
|
2377
2576
|
declare const VERSION: string;
|
|
2378
2577
|
|
|
2379
|
-
export { type
|
|
2578
|
+
export { type ContainerFillChartProps as $, ALT as A, Banner as B, type ColumnDef as C, type ButtonSize as D, type ButtonVariant as E, CMD_A as F, CMD_DOT as G, CMD_ENTER as H, CMD_K as I, CMD_S as J, Calendar as K, type CalendarMode as L, type CalendarProps as M, Card as N, type CardPadding as O, type PaginatedResponse as P, type CardProps as Q, type CellStyle as R, type SearchConfig as S, ChatTemplate as T, Checkbox as U, type CheckboxProps as V, CheckoutTemplate as W, ColoredBadge as X, type ColoredBadgeProps as Y, ConfirmProvider as Z, ContainerFillChart as _, type SortState as a, type GridProps as a$, type ContainerFillItem as a0, CountBadge as a1, type CountBadgeProps as a2, type CountBadgeTone as a3, DashboardTemplate as a4, DataTable as a5, type DataTableColumn as a6, type DataTableColumnGroup as a7, type DataTableHeader as a8, DataTablePage as a9, type DropdownMenuItem as aA, type DropdownMenuProps as aB, ENTER as aC, EditableGrid as aD, type EditableGridProps as aE, EmailTemplate as aF, EmptyState as aG, type EmptyStateProps as aH, ErrorBoundary as aI, type ErrorBoundaryProps as aJ, ErrorPage as aK, type ErrorPageProps as aL, FilePicker as aM, type FilePickerProps as aN, FormField as aO, type FormFieldProps as aP, FormLayoutPage as aQ, GLASS_DIVIDER as aR, GLASS_INPUT_BG as aS, GROUP_COLORS as aT, GalleryTemplate as aU, type Gap as aV, GlobalSearch as aW, type GlobalSearchProps as aX, Grid as aY, type GridCols as aZ, type GridColumn as a_, type DataTableProps as aa, DatePicker as ab, type DatePickerProps as ac, DateRangePicker as ad, type DateRangePickerProps as ae, DateTimePicker as af, type DateTimePickerProps as ag, type DescriptionColumns as ah, type DescriptionItem as ai, DescriptionList as aj, type DescriptionListProps as ak, Dialog as al, type DialogProps as am, type DialogSize as an, Divider as ao, type DividerProps as ap, type DividerSpacing as aq, DonutChart as ar, type DonutChartProps as as, type DonutSegment as at, Drawer as au, type DrawerProps as av, type DrawerSide as aw, type DrawerSize as ax, DropdownMenu as ay, type DropdownMenuAlign as az, ALT_SHIFT_D as b, type SearchResult as b$, HelpCenter as b0, type HelpCenterDoc as b1, type HelpCenterProps as b2, INPUT_BASE as b3, INPUT_SIZES as b4, IconButton as b5, type IconButtonProps as b6, Inline as b7, type InlineProps as b8, Input as b9, type MediaUploadGridProps as bA, MetricBar as bB, type MetricBarProps as bC, type Milestone as bD, type MilestoneKind as bE, MilestoneTimeline as bF, type MilestoneTimelineProps as bG, NativeSelect as bH, NumericKeypad as bI, type NumericKeypadProps as bJ, PageHeader as bK, type PageHeaderProps as bL, Pagination as bM, type PaginationProps as bN, Paragraph as bO, type ParagraphProps as bP, PopupMenu as bQ, PopupMenuDivider as bR, PopupMenuItem as bS, PopupMenuLabel as bT, Radio as bU, type RadioProps as bV, Result as bW, type ResultProps as bX, type ResultStatus as bY, SHIFT as bZ, type SearchProvider as b_, InputNumber as ba, type InputNumberProps as bb, type InputProps as bc, type InputSize as bd, type Justify as be, Kanban as bf, type KanbanColumn as bg, type KanbanProps as bh, Label as bi, type LabelProps as bj, LineChart as bk, type LineChartProps as bl, type LineChartSeries as bm, ListFooter as bn, ListLoadError as bo, type ListLoadErrorProps as bp, LoadingSpinner as bq, type LoadingSpinnerProps as br, MAX_FRACTION_DIGITS as bs, MOD as bt, Markdown as bu, type MarkdownProps as bv, MediaUploadField as bw, type MediaUploadFieldProps as bx, MediaUploadGrid as by, type MediaUploadGridItem as bz, ALT_SHIFT_E as c, type ToastOptions as c$, type SearchableOption as c0, SearchableSelect as c1, type SearchableSelectProps as c2, Segmented as c3, type SegmentedOption as c4, type SegmentedProps as c5, type SegmentedSize as c6, Select as c7, type SelectOption as c8, type SelectProps as c9, Stepper as cA, type StepperProps as cB, Switch as cC, type SwitchProps as cD, type SwitchSize as cE, type TabItem as cF, Tabs as cG, type TabsProps as cH, TagInput as cI, type TagInputOption as cJ, type TagInputProps as cK, Text as cL, type TextProps as cM, type TextSize as cN, type TextTone as cO, type TextWeight as cP, Textarea as cQ, type TextareaProps as cR, type Theme as cS, TileButton as cT, type TileButtonProps as cU, type TileSize as cV, TimePicker as cW, type TimePickerProps as cX, Title as cY, type TitleLevel as cZ, type TitleProps as c_, type SemanticGroup as ca, type SeverityTone as cb, type ShellPrefsAdapter as cc, ShellPrefsProvider as cd, SidebarActionButton as ce, type SidebarActionButtonProps as cf, SidebarGroupLabel as cg, SidebarLayout as ch, type SidebarLayoutProps as ci, SidebarNavItem as cj, Skeleton as ck, type SkeletonProps as cl, type SkeletonVariant as cm, Sparkline as cn, type SparklineProps as co, Stack as cp, type StackProps as cq, StatCard as cr, type StatCardProps as cs, Statistic as ct, type StatisticProps as cu, type StatisticSize as cv, type StatisticTone as cw, StatusBadge as cx, StatusBadgeProvider as cy, type StepItem as cz, ALT_SHIFT_N as d, type ToastPlacement as d0, Tooltip as d1, type TooltipProps as d2, TopNav as d3, type TopNavItem as d4, type TopNavProps as d5, VERSION as d6, appendKey as d7, applyThemePrefs as d8, backspace as d9, confirm as da, confirmDestructive as db, formatDate as dc, fromKey as dd, glassStyle as de, inputClasses as df, isMac as dg, isSeverityTone as dh, mediaFileName as di, prompt as dj, resolveTheme as dk, severityOf as dl, tabButtonId as dm, tabPanelId as dn, toKey as dp, toISODate as dq, toast as dr, useClickOutside as ds, useConfirm as dt, useFocusTrap as du, useIsMobile as dv, useLocalStoragePrefs as dw, useScrollLock as dx, useShellPrefs as dy, useTheme as dz, Accordion as e, type AccordionItem as f, type AccordionProps as g, type Align as h, AuthScreen as i, type AuthScreenProps as j, Avatar as k, AvatarGroup as l, type AvatarGroupProps as m, type AvatarProps as n, type AvatarSize as o, type AvatarStatus as p, type BannerEmphasis as q, type BannerProps as r, type BannerTone as s, BarChart as t, type BarChartProps as u, type BreadcrumbItem as v, Breadcrumbs as w, type BreadcrumbsProps as x, Button as y, type ButtonProps as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-
|
|
2
|
-
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as Accordion, f as AccordionItem, g as AccordionProps, h as Align, i as AuthScreen, j as AuthScreenProps, k as Avatar, l as AvatarGroup, m as AvatarGroupProps, n as AvatarProps, o as AvatarSize, p as AvatarStatus, B as Banner, q as BannerEmphasis, r as BannerProps, s as BannerTone, t as BarChart, u as BarChartProps, v as BreadcrumbItem, w as Breadcrumbs, x as BreadcrumbsProps, y as Button, z as ButtonProps, D as ButtonSize, E as ButtonVariant, F as CMD_A, G as CMD_DOT, H as CMD_ENTER, I as CMD_K, J as CMD_S, K as
|
|
1
|
+
import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-DM-d12A7.js';
|
|
2
|
+
export { A as ALT, b as ALT_SHIFT_D, c as ALT_SHIFT_E, d as ALT_SHIFT_N, e as Accordion, f as AccordionItem, g as AccordionProps, h as Align, i as AuthScreen, j as AuthScreenProps, k as Avatar, l as AvatarGroup, m as AvatarGroupProps, n as AvatarProps, o as AvatarSize, p as AvatarStatus, B as Banner, q as BannerEmphasis, r as BannerProps, s as BannerTone, t as BarChart, u as BarChartProps, v as BreadcrumbItem, w as Breadcrumbs, x as BreadcrumbsProps, y as Button, z as ButtonProps, D as ButtonSize, E as ButtonVariant, F as CMD_A, G as CMD_DOT, H as CMD_ENTER, I as CMD_K, J as CMD_S, K as Calendar, L as CalendarMode, M as CalendarProps, N as Card, O as CardPadding, Q as CardProps, R as CellStyle, T as ChatTemplate, U as Checkbox, V as CheckboxProps, W as CheckoutTemplate, X as ColoredBadge, Y as ColoredBadgeProps, Z as ConfirmProvider, _ as ContainerFillChart, $ as ContainerFillChartProps, a0 as ContainerFillItem, a1 as CountBadge, a2 as CountBadgeProps, a3 as CountBadgeTone, a4 as DashboardTemplate, a5 as DataTable, a6 as DataTableColumn, a7 as DataTableColumnGroup, a8 as DataTableHeader, a9 as DataTablePage, aa as DataTableProps, ab as DatePicker, ac as DatePickerProps, ad as DateRangePicker, ae as DateRangePickerProps, af as DateTimePicker, ag as DateTimePickerProps, ah as DescriptionColumns, ai as DescriptionItem, aj as DescriptionList, ak as DescriptionListProps, al as Dialog, am as DialogProps, an as DialogSize, ao as Divider, ap as DividerProps, aq as DividerSpacing, ar as DonutChart, as as DonutChartProps, at as DonutSegment, au as Drawer, av as DrawerProps, aw as DrawerSide, ax as DrawerSize, ay as DropdownMenu, az as DropdownMenuAlign, aA as DropdownMenuItem, aB as DropdownMenuProps, aC as ENTER, aD as EditableGrid, aE as EditableGridProps, aF as EmailTemplate, aG as EmptyState, aH as EmptyStateProps, aI as ErrorBoundary, aJ as ErrorBoundaryProps, aK as ErrorPage, aL as ErrorPageProps, aM as FilePicker, aN as FilePickerProps, aO as FormField, aP as FormFieldProps, aQ as FormLayoutPage, aR as GLASS_DIVIDER, aS as GLASS_INPUT_BG, aT as GROUP_COLORS, aU as GalleryTemplate, aV as Gap, aW as GlobalSearch, aX as GlobalSearchProps, aY as Grid, aZ as GridCols, a_ as GridColumn, a$ as GridProps, b0 as HelpCenter, b1 as HelpCenterDoc, b2 as HelpCenterProps, b3 as INPUT_BASE, b4 as INPUT_SIZES, b5 as IconButton, b6 as IconButtonProps, b7 as Inline, b8 as InlineProps, b9 as Input, ba as InputNumber, bb as InputNumberProps, bc as InputProps, bd as InputSize, be as Justify, bf as Kanban, bg as KanbanColumn, bh as KanbanProps, bi as Label, bj as LabelProps, bk as LineChart, bl as LineChartProps, bm as LineChartSeries, bn as ListFooter, bo as ListLoadError, bp as ListLoadErrorProps, bq as LoadingSpinner, br as LoadingSpinnerProps, bs as MAX_FRACTION_DIGITS, bt as MOD, bu as Markdown, bv as MarkdownProps, bw as MediaUploadField, bx as MediaUploadFieldProps, by as MediaUploadGrid, bz as MediaUploadGridItem, bA as MediaUploadGridProps, bB as MetricBar, bC as MetricBarProps, bD as Milestone, bE as MilestoneKind, bF as MilestoneTimeline, bG as MilestoneTimelineProps, bH as NativeSelect, bI as NumericKeypad, bJ as NumericKeypadProps, bK as PageHeader, bL as PageHeaderProps, bM as Pagination, bN as PaginationProps, bO as Paragraph, bP as ParagraphProps, bQ as PopupMenu, bR as PopupMenuDivider, bS as PopupMenuItem, bT as PopupMenuLabel, bU as Radio, bV as RadioProps, bW as Result, bX as ResultProps, bY as ResultStatus, bZ as SHIFT, b_ as SearchProvider, b$ as SearchResult, c0 as SearchableOption, c1 as SearchableSelect, c2 as SearchableSelectProps, c3 as Segmented, c4 as SegmentedOption, c5 as SegmentedProps, c6 as SegmentedSize, c7 as Select, c8 as SelectOption, c9 as SelectProps, ca as SemanticGroup, cb as SeverityTone, cc as ShellPrefsAdapter, cd as ShellPrefsProvider, ce as SidebarActionButton, cf as SidebarActionButtonProps, cg as SidebarGroupLabel, ch as SidebarLayout, ci as SidebarLayoutProps, cj as SidebarNavItem, ck as Skeleton, cl as SkeletonProps, cm as SkeletonVariant, cn as Sparkline, co as SparklineProps, cp as Stack, cq as StackProps, cr as StatCard, cs as StatCardProps, ct as Statistic, cu as StatisticProps, cv as StatisticSize, cw as StatisticTone, cx as StatusBadge, cy as StatusBadgeProvider, cz as StepItem, cA as Stepper, cB as StepperProps, cC as Switch, cD as SwitchProps, cE as SwitchSize, cF as TabItem, cG as Tabs, cH as TabsProps, cI as TagInput, cJ as TagInputOption, cK as TagInputProps, cL as Text, cM as TextProps, cN as TextSize, cO as TextTone, cP as TextWeight, cQ as Textarea, cR as TextareaProps, cS as Theme, cT as TileButton, cU as TileButtonProps, cV as TileSize, cW as TimePicker, cX as TimePickerProps, cY as Title, cZ as TitleLevel, c_ as TitleProps, c$ as ToastOptions, d0 as ToastPlacement, d1 as Tooltip, d2 as TooltipProps, d3 as TopNav, d4 as TopNavItem, d5 as TopNavProps, d6 as VERSION, d7 as appendKey, d8 as applyThemePrefs, d9 as backspace, da as confirm, db as confirmDestructive, dc as formatDate, dd as fromDateKey, de as glassStyle, df as inputClasses, dg as isMac, dh as isSeverityTone, di as mediaFileName, dj as prompt, dk as resolveTheme, dl as severityOf, dm as tabButtonId, dn as tabPanelId, dp as toDateKey, dq as toISODate, dr as toast, ds as useClickOutside, dt as useConfirm, du as useFocusTrap, dv as useIsMobile, dw as useLocalStoragePrefs, dx as useScrollLock, dy as useShellPrefs, dz as useTheme } from './index-DM-d12A7.js';
|
|
3
3
|
import { W as WindowRegistry } from './types-BHVq95fp.js';
|
|
4
4
|
export { M as ModalRegistryEntry, P as PageRegistryEntry, a as WindowRegistryEntry, i as isEntityEntry, b as isPageEntry, s as setShellWindowRegistry } from './types-BHVq95fp.js';
|
|
5
5
|
import * as react from 'react';
|
|
@@ -959,10 +959,12 @@ interface PerfStatsProps {
|
|
|
959
959
|
declare function PerfStats({ onClose, onSubmit, className }: PerfStatsProps): react_jsx_runtime.JSX.Element;
|
|
960
960
|
|
|
961
961
|
/**
|
|
962
|
-
* INTERNAL stub — Desktop's
|
|
963
|
-
* changelog. The package ships no built-in changelog; consumer wires
|
|
964
|
-
* own through
|
|
965
|
-
* keeps the import compiling
|
|
962
|
+
* INTERNAL stub — Desktop's What's New modal references the consumer-side
|
|
963
|
+
* changelog. The package ships no built-in changelog; the consumer wires
|
|
964
|
+
* their own through `DesktopHostConfig.productChangelog` (the What's New
|
|
965
|
+
* dialog reads it first, and this empty default keeps the import compiling
|
|
966
|
+
* when they don't). Layout's `branding` prop carries the rest of the visual
|
|
967
|
+
* identity — name, logo, tagline.
|
|
966
968
|
*/
|
|
967
969
|
interface ChangelogEntry {
|
|
968
970
|
version: string;
|
|
@@ -1075,7 +1077,26 @@ interface MobileAppConfig {
|
|
|
1075
1077
|
description?: string;
|
|
1076
1078
|
}
|
|
1077
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* The product's visual identity, in one object: the start-menu button, the
|
|
1082
|
+
* startup splash, the logout cover and the mobile landing all read from it.
|
|
1083
|
+
* The About dialog and What's New changelog belong to `DesktopHostConfig`
|
|
1084
|
+
* (`productName`, `productIcon`, `productChangelog`, …), which configures the
|
|
1085
|
+
* desktop; this configures the chrome around it.
|
|
1086
|
+
*/
|
|
1087
|
+
interface ShellBranding {
|
|
1088
|
+
/** Product name — start-menu button, startup splash, mobile landing. */
|
|
1089
|
+
productName?: string;
|
|
1090
|
+
/** Logo URL — start-menu button, splash and logout covers. Defaults to `/favicon.svg`. */
|
|
1091
|
+
logo?: string;
|
|
1092
|
+
/** Line under the product name on the splash and logout covers —
|
|
1093
|
+
* typically the company name. */
|
|
1094
|
+
tagline?: string;
|
|
1095
|
+
}
|
|
1078
1096
|
interface LayoutProps {
|
|
1097
|
+
/** One-object form of the brand fields below; its fields win over them, so
|
|
1098
|
+
* a consumer can move over field by field. */
|
|
1099
|
+
branding?: ShellBranding;
|
|
1079
1100
|
/** Brand label rendered on the start-menu button. */
|
|
1080
1101
|
productName?: string;
|
|
1081
1102
|
/** Icon URL rendered next to the brand label. Defaults to `/favicon.svg`. */
|
|
@@ -1128,7 +1149,7 @@ interface ClockCalendarConfig {
|
|
|
1128
1149
|
close: () => void;
|
|
1129
1150
|
}) => ReactNode;
|
|
1130
1151
|
}
|
|
1131
|
-
declare function Layout({ productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, mobileApp, }?: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
1152
|
+
declare function Layout({ branding, productName, productIcon, wallpapers, navSections, navIcons, sectionIcons, categories, notifications, search, taskbarTrayLeft, clockCalendar, mobileApp, }?: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
1132
1153
|
|
|
1133
1154
|
interface StartMenuProps {
|
|
1134
1155
|
open: boolean;
|
|
@@ -2164,4 +2185,4 @@ interface UndoState {
|
|
|
2164
2185
|
future: UndoStep[];
|
|
2165
2186
|
}
|
|
2166
2187
|
|
|
2167
|
-
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, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, ImageAnnotator, type ImageAnnotatorHandle, type ImageAnnotatorProps, LOG_CAP, Layout, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, NotificationBell, type NotificationsConfig, 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, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SortState, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, 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, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isDevEnv, isInteracting, markMenuOpen, mergeBulkItems, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, registerModalEscapeInterceptor, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellApiClient, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useColumnConfig, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, useShellAuth, useShellEntityFetcher, useSort, useTableNav, useUndo, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|
|
2188
|
+
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, FilterBar, type FilterOption, type FpsGroup, type HealthCheckResult, ImageAnnotator, type ImageAnnotatorHandle, type ImageAnnotatorProps, LOG_CAP, Layout, type LayoutProps, type LogSummary, MIN_EVENT_SAMPLES, MIN_GROUP_SAMPLES, type MenuLayer, type MergeBulkOptions, type MergeBulkResult, type MobileAppConfig, Modal, ModalActions, NotificationBell, type NotificationsConfig, 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, ShellEntityFetcherProvider, type ShellNotification, ShortcutHelp, SortState, SoundsPanel, type StagedTarget, StartMenu, type StickyEntityRef, type StickyResolver, SystemPreferences, type SystemPreferencesProps, type SystemPreferencesSection, 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, appendRecord as appendPerfRecord, applyDevTitle, beginWindowGesture, classifyActivity, classify as classifyPerf, commitExposeHighlight, createWindowRegistry, createWindowTarget, describeMachine, describePerfReport, exitExposeMode, findDuplicateKeys, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isDevEnv, isInteracting, markMenuOpen, mergeBulkItems, toCsv as perfLogToCsv, perfReportFile, readEnvironment as readPerfEnvironment, registerModalEscapeInterceptor, requestAsyncEnvironment, requestWindowFront, setExposeHighlight, setShellApiClient, setShellAuthBridge, setShellNavIcons, setShellTodoProvider, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, summariseFrames, summariseLog as summarisePerfLog, toggleExposeMode, useColumnConfig, useDesktopHost, useEditHotkey, useEnclosingModalId, useFilters, useInfiniteScroll, useIsActiveWindow, useModalActive, useModalDuplicate, useModalSave, useNewHotkey, useShellAuth, useShellEntityFetcher, useSort, useTableNav, useUndo, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTarget, useWindowTitle };
|