react-os-shell 4.41.0 → 4.55.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 +2 -1
- package/dist/{Browser-TKBH4DZ3.js → Browser-WHBSYGLC.js} +6 -6
- package/dist/{Browser-TKBH4DZ3.js.map → Browser-WHBSYGLC.js.map} +1 -1
- package/dist/{Calculator-XERXEV35.js → Calculator-PHKNMRLX.js} +5 -5
- package/dist/{Calculator-XERXEV35.js.map → Calculator-PHKNMRLX.js.map} +1 -1
- package/dist/{CurrencyConverter-OSZISLHT.js → CurrencyConverter-MEG7RHEK.js} +5 -5
- package/dist/{CurrencyConverter-OSZISLHT.js.map → CurrencyConverter-MEG7RHEK.js.map} +1 -1
- package/dist/{Documents-YRTLDTLX.js → Documents-Y32RNCTU.js} +7 -7
- package/dist/{Documents-YRTLDTLX.js.map → Documents-Y32RNCTU.js.map} +1 -1
- package/dist/{Files-WHYCDRYU.js → Files-LTG2S2KU.js} +8 -8
- package/dist/{Files-WHYCDRYU.js.map → Files-LTG2S2KU.js.map} +1 -1
- package/dist/{Notepad-6UAWRNZH.js → Notepad-P7J2OAXD.js} +7 -7
- package/dist/{Notepad-6UAWRNZH.js.map → Notepad-P7J2OAXD.js.map} +1 -1
- package/dist/{PomodoroTimer-5ZSIG7SQ.js → PomodoroTimer-5B5AFXQH.js} +7 -7
- package/dist/{PomodoroTimer-5ZSIG7SQ.js.map → PomodoroTimer-5B5AFXQH.js.map} +1 -1
- package/dist/{Preview-VBIWWJLK.js → Preview-XZQ55YGY.js} +8 -8
- package/dist/{Preview-VBIWWJLK.js.map → Preview-XZQ55YGY.js.map} +1 -1
- package/dist/{Spreadsheet-GRD4P3OI.js → Spreadsheet-KKSLCSIK.js} +6 -6
- package/dist/{Spreadsheet-GRD4P3OI.js.map → Spreadsheet-KKSLCSIK.js.map} +1 -1
- package/dist/{Stock-4BORXILI.js → Stock-KTWRNBI6.js} +5 -5
- package/dist/{Stock-4BORXILI.js.map → Stock-KTWRNBI6.js.map} +1 -1
- package/dist/{Weather-ZPPSEUIY.js → Weather-B7MO7N4N.js} +5 -5
- package/dist/{Weather-ZPPSEUIY.js.map → Weather-B7MO7N4N.js.map} +1 -1
- package/dist/{WorldClock-LBKYWDWE.js → WorldClock-M5MEV74F.js} +5 -5
- package/dist/{WorldClock-LBKYWDWE.js.map → WorldClock-M5MEV74F.js.map} +1 -1
- package/dist/apps/index.js +16 -16
- package/dist/{chunk-22BNPLM4.js → chunk-3OCL3DB4.js} +3 -3
- package/dist/{chunk-22BNPLM4.js.map → chunk-3OCL3DB4.js.map} +1 -1
- package/dist/{chunk-GUWAKATU.js → chunk-5S65ZC5W.js} +3 -3
- package/dist/{chunk-GUWAKATU.js.map → chunk-5S65ZC5W.js.map} +1 -1
- package/dist/{chunk-D4WFGAUW.js → chunk-CTTHBTOX.js} +326 -61
- package/dist/chunk-CTTHBTOX.js.map +1 -0
- package/dist/{chunk-X5PZYTAK.js → chunk-ECE3B3FZ.js} +3 -3
- package/dist/{chunk-X5PZYTAK.js.map → chunk-ECE3B3FZ.js.map} +1 -1
- package/dist/{chunk-X6DOWIY2.js → chunk-FHPPPDHL.js} +3 -3
- package/dist/{chunk-X6DOWIY2.js.map → chunk-FHPPPDHL.js.map} +1 -1
- package/dist/{chunk-OI253GOA.js → chunk-IOCOH2QQ.js} +4 -4
- package/dist/{chunk-OI253GOA.js.map → chunk-IOCOH2QQ.js.map} +1 -1
- package/dist/chunk-LCLB7YBY.js +7 -0
- package/dist/{chunk-TQFUNASX.js.map → chunk-LCLB7YBY.js.map} +1 -1
- package/dist/{chunk-COTCIYLS.js → chunk-S3ZIBWRY.js} +4 -4
- package/dist/{chunk-COTCIYLS.js.map → chunk-S3ZIBWRY.js.map} +1 -1
- package/dist/{chunk-4AKVHY4B.js → chunk-TK6HI2U4.js} +23 -3
- package/dist/chunk-TK6HI2U4.js.map +1 -0
- package/dist/{chunk-C22EFSND.js → chunk-ZCDFNZQS.js} +21 -6
- package/dist/chunk-ZCDFNZQS.js.map +1 -0
- package/dist/{index-B4RRJ5bp.d.ts → index-BE0z2D6y.d.ts} +212 -8
- package/dist/index.d.ts +2 -2
- package/dist/index.js +14 -14
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +4 -4
- package/dist/ui.css +117 -43
- package/package.json +1 -1
- package/dist/chunk-4AKVHY4B.js.map +0 -1
- package/dist/chunk-C22EFSND.js.map +0 -1
- package/dist/chunk-D4WFGAUW.js.map +0 -1
- package/dist/chunk-TQFUNASX.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes, ElementType, MouseEvent,
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, LabelHTMLAttributes, CSSProperties, ElementType, MouseEvent, RefObject, Component, ErrorInfo } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -595,6 +595,41 @@ interface CardProps {
|
|
|
595
595
|
/** Row below the body, divided by a hairline. */
|
|
596
596
|
footer?: ReactNode;
|
|
597
597
|
/** Apply default padding to the body. Default true; set false to fill edge-to-edge. */
|
|
598
|
+
/**
|
|
599
|
+
* Render the header as a real heading at this level, and the card as a
|
|
600
|
+
* region named by it.
|
|
601
|
+
*
|
|
602
|
+
* A card with a title IS a region of the page — the thing a screen-reader
|
|
603
|
+
* user jumps between, and the thing a heading list is for. Without this the
|
|
604
|
+
* title is a bold `<div>`: it looks like a heading to everyone who can see
|
|
605
|
+
* it and is invisible to everyone navigating by structure.
|
|
606
|
+
*
|
|
607
|
+
* The level is the caller's because only the caller knows the page's
|
|
608
|
+
* outline; a card inside a section that already has an `h2` needs an `h3`,
|
|
609
|
+
* and guessing produces a jumbled outline rather than no outline.
|
|
610
|
+
*
|
|
611
|
+
* Omitted, nothing changes — the header stays a styled `div` and the card a
|
|
612
|
+
* plain `div`, which is what every card shipping today is.
|
|
613
|
+
*/
|
|
614
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
615
|
+
/**
|
|
616
|
+
* Rendered at the far end of the header row, opposite the title — a count, a
|
|
617
|
+
* filter, a "View all" link.
|
|
618
|
+
*
|
|
619
|
+
* It is a separate slot because it must stay OUT of the heading. Folded into
|
|
620
|
+
* `header`, a card titled "Team Members" with a "Team active" chip beside it
|
|
621
|
+
* announces itself as "Team Members Team active", and that is the string a
|
|
622
|
+
* heading list shows and a voice command has to match.
|
|
623
|
+
*/
|
|
624
|
+
headerActions?: ReactNode;
|
|
625
|
+
/**
|
|
626
|
+
* Names the card as a region when there is no header to name it — a card
|
|
627
|
+
* whose title lives outside it, or which has none.
|
|
628
|
+
*
|
|
629
|
+
* Ignored when `headingLevel` is set: the heading is the better name, and
|
|
630
|
+
* two names on one element is a contradiction rather than a belt and braces.
|
|
631
|
+
*/
|
|
632
|
+
'aria-label'?: string;
|
|
598
633
|
padded?: boolean;
|
|
599
634
|
/**
|
|
600
635
|
* Padding scale. Takes precedence over `padded`, which remains supported and
|
|
@@ -602,8 +637,21 @@ interface CardProps {
|
|
|
602
637
|
*/
|
|
603
638
|
padding?: CardPadding;
|
|
604
639
|
className?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Classes for the body, beside the padding this component supplies.
|
|
642
|
+
*
|
|
643
|
+
* The body is a wrapper this component owns, so `className` cannot reach it
|
|
644
|
+
* — and a card whose contents are a column with a gap otherwise has to nest
|
|
645
|
+
* a div inside the one already there just to say so.
|
|
646
|
+
*/
|
|
647
|
+
bodyClassName?: string;
|
|
648
|
+
/**
|
|
649
|
+
* Inline style for the surface. For values that cannot be a class: an
|
|
650
|
+
* animation delay computed per item, a measured height.
|
|
651
|
+
*/
|
|
652
|
+
style?: CSSProperties;
|
|
605
653
|
}
|
|
606
|
-
declare function Card({ children, header, footer, padded, padding, className }: CardProps): react_jsx_runtime.JSX.Element;
|
|
654
|
+
declare function Card({ children, header, footer, padded, padding, headingLevel, headerActions, 'aria-label': ariaLabel, className, bodyClassName, style, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
607
655
|
interface StatCardProps {
|
|
608
656
|
label: ReactNode;
|
|
609
657
|
value: ReactNode;
|
|
@@ -1506,6 +1554,30 @@ interface TopNavProps {
|
|
|
1506
1554
|
}
|
|
1507
1555
|
declare function TopNav({ items, activeKey, onSelect, brand, actions, className }: TopNavProps): react_jsx_runtime.JSX.Element;
|
|
1508
1556
|
|
|
1557
|
+
type DropdownMenuAlign = 'start' | 'end';
|
|
1558
|
+
interface DropdownMenuItem {
|
|
1559
|
+
key: string;
|
|
1560
|
+
label: ReactNode;
|
|
1561
|
+
icon?: ReactNode;
|
|
1562
|
+
/** A destructive choice — delete, revoke. Drawn in the danger tone. */
|
|
1563
|
+
danger?: boolean;
|
|
1564
|
+
disabled?: boolean;
|
|
1565
|
+
onSelect: () => void;
|
|
1566
|
+
}
|
|
1567
|
+
interface DropdownMenuProps {
|
|
1568
|
+
/** What opens the menu. Rendered inside the trigger button. */
|
|
1569
|
+
trigger: ReactNode;
|
|
1570
|
+
items: DropdownMenuItem[];
|
|
1571
|
+
/** Which edge the menu lines up with. `end` (the default) suits a menu at
|
|
1572
|
+
* the right of a row, where a left-aligned one would run off the card. */
|
|
1573
|
+
align?: DropdownMenuAlign;
|
|
1574
|
+
/** Names the trigger. Required in practice — the trigger is usually an icon. */
|
|
1575
|
+
'aria-label'?: string;
|
|
1576
|
+
className?: string;
|
|
1577
|
+
disabled?: boolean;
|
|
1578
|
+
}
|
|
1579
|
+
declare function DropdownMenu({ trigger, items, align, 'aria-label': ariaLabel, className, disabled, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
1580
|
+
|
|
1509
1581
|
/**
|
|
1510
1582
|
* Unified popup menu component — used for all context menus, dropdowns, and flyouts.
|
|
1511
1583
|
* Reads --menu-density CSS variable: 'tight', 'normal' (default), or 'large'.
|
|
@@ -1527,13 +1599,35 @@ interface PopupMenuProps {
|
|
|
1527
1599
|
/** Container for a popup menu — auto-clamps to stay within viewport */
|
|
1528
1600
|
declare function PopupMenu({ children, style, className, onClose, minWidth, portal }: PopupMenuProps): react_jsx_runtime.JSX.Element;
|
|
1529
1601
|
/** A clickable menu item */
|
|
1530
|
-
|
|
1602
|
+
interface PopupMenuItemProps {
|
|
1531
1603
|
onClick?: () => void;
|
|
1532
1604
|
children: ReactNode;
|
|
1533
1605
|
className?: string;
|
|
1534
1606
|
danger?: boolean;
|
|
1535
1607
|
disabled?: boolean;
|
|
1536
|
-
|
|
1608
|
+
/**
|
|
1609
|
+
* The menu semantics, when this item is part of one.
|
|
1610
|
+
*
|
|
1611
|
+
* A context menu on the desktop is a list of buttons and needs none of this;
|
|
1612
|
+
* a dropdown attached to a trigger is a `menu` whose items are `menuitem`s
|
|
1613
|
+
* with one tab stop between them. Both draw the same item, so the styling
|
|
1614
|
+
* lives here rather than being copied into whichever one is newer.
|
|
1615
|
+
*/
|
|
1616
|
+
role?: 'menuitem';
|
|
1617
|
+
tabIndex?: number;
|
|
1618
|
+
id?: string;
|
|
1619
|
+
onMouseEnter?: () => void;
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* `forwardRef`, not a `ref` prop.
|
|
1623
|
+
*
|
|
1624
|
+
* Taking `ref` as an ordinary prop is React 19 only. This package's peer range
|
|
1625
|
+
* is `react: ">=18"`, and React 18 strips `ref` from a function component's
|
|
1626
|
+
* props and warns — so on an 18 consumer the ref would silently never attach,
|
|
1627
|
+
* `DropdownMenu`'s `itemRefs` would all be null, and its arrow keys would move
|
|
1628
|
+
* `tabIndex` while DOM focus stayed put. A keyboard-dead menu with no error.
|
|
1629
|
+
*/
|
|
1630
|
+
declare const PopupMenuItem: react.ForwardRefExoticComponent<PopupMenuItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1537
1631
|
/** A divider line between menu items */
|
|
1538
1632
|
declare function PopupMenuDivider(): react_jsx_runtime.JSX.Element;
|
|
1539
1633
|
/** A section header label */
|
|
@@ -1579,6 +1673,12 @@ interface ToastOptions {
|
|
|
1579
1673
|
declare const toast: {
|
|
1580
1674
|
success: (message: string, opts?: ToastOptions) => void;
|
|
1581
1675
|
error: (message: string, opts?: ToastOptions) => void;
|
|
1676
|
+
/**
|
|
1677
|
+
* Something the user should read before continuing — a partial success, a
|
|
1678
|
+
* setting that will not apply until they do something else. Distinct from
|
|
1679
|
+
* `error`, which is "this did not happen".
|
|
1680
|
+
*/
|
|
1681
|
+
warning: (message: string, opts?: ToastOptions) => void;
|
|
1582
1682
|
info: (message: string, opts?: ToastOptions) => void;
|
|
1583
1683
|
notify: (message: string, opts?: {
|
|
1584
1684
|
duration?: number;
|
|
@@ -1911,6 +2011,17 @@ interface DataTableColumn<T> {
|
|
|
1911
2011
|
dataIndex?: keyof T & string;
|
|
1912
2012
|
render?: (row: T, index: number) => ReactNode;
|
|
1913
2013
|
align?: 'left' | 'right' | 'center';
|
|
2014
|
+
/**
|
|
2015
|
+
* The column holds a figure or a code — money, a quantity, a part or order
|
|
2016
|
+
* number.
|
|
2017
|
+
*
|
|
2018
|
+
* Renders it monospaced and right-aligns it by default. The table already
|
|
2019
|
+
* sets `tabular-nums`, so the digits line up down the column either way;
|
|
2020
|
+
* what this adds is a fixed advance for EVERY character, which is what lets
|
|
2021
|
+
* `00620L6N25KMFCBTDTM2QND` be compared against its neighbour by shape, and
|
|
2022
|
+
* a decimal point be found at the right edge without reading the number.
|
|
2023
|
+
*/
|
|
2024
|
+
numeric?: boolean;
|
|
1914
2025
|
/** Px. Also feeds the table's minimum width — see `minWidth`. */
|
|
1915
2026
|
width?: number;
|
|
1916
2027
|
/** Single-line with an ellipsis. */
|
|
@@ -1927,11 +2038,38 @@ interface DataTableColumn<T> {
|
|
|
1927
2038
|
* caller mapping names at the call site.
|
|
1928
2039
|
*/
|
|
1929
2040
|
sortable?: boolean;
|
|
2041
|
+
/**
|
|
2042
|
+
* Which way the FIRST click sorts. Defaults to ascending.
|
|
2043
|
+
*
|
|
2044
|
+
* `desc` is right wherever the interesting end is the top: a price column,
|
|
2045
|
+
* a quantity, a date where the newest matters. Making those start ascending
|
|
2046
|
+
* costs every user two clicks to see the thing they opened the column for.
|
|
2047
|
+
*
|
|
2048
|
+
* The cycle is unchanged either way — first click, second click, then back
|
|
2049
|
+
* to the server's own ordering.
|
|
2050
|
+
*/
|
|
2051
|
+
sortFirst?: 'asc' | 'desc';
|
|
1930
2052
|
sortField?: string;
|
|
1931
2053
|
headerClassName?: string;
|
|
1932
2054
|
}
|
|
1933
|
-
|
|
2055
|
+
/**
|
|
2056
|
+
* A header spanning several columns — "Debit" over an amount and a balance.
|
|
2057
|
+
*
|
|
2058
|
+
* The group is not decoration: where two children are both called "Amount",
|
|
2059
|
+
* it is the only thing telling them apart, and a screen reader reads it as
|
|
2060
|
+
* part of each cell's column context.
|
|
2061
|
+
*/
|
|
2062
|
+
interface DataTableColumnGroup<T> {
|
|
2063
|
+
title: ReactNode;
|
|
1934
2064
|
columns: DataTableColumn<T>[];
|
|
2065
|
+
/** Distinct among its siblings. Defaults to the group's index. */
|
|
2066
|
+
key?: string;
|
|
2067
|
+
headerClassName?: string;
|
|
2068
|
+
}
|
|
2069
|
+
/** A leaf column, or a group of them. */
|
|
2070
|
+
type DataTableHeader<T> = DataTableColumn<T> | DataTableColumnGroup<T>;
|
|
2071
|
+
interface DataTableProps<T> {
|
|
2072
|
+
columns: DataTableHeader<T>[];
|
|
1935
2073
|
data: T[];
|
|
1936
2074
|
/** Stable identity per row. A string names a field; a function computes it. */
|
|
1937
2075
|
rowKey: (keyof T & string) | ((row: T, index: number) => string);
|
|
@@ -1944,6 +2082,17 @@ interface DataTableProps<T> {
|
|
|
1944
2082
|
pageCount: number;
|
|
1945
2083
|
onPageChange: (page: number) => void;
|
|
1946
2084
|
};
|
|
2085
|
+
/**
|
|
2086
|
+
* Names the table for assistive technology, rendered as a visually hidden
|
|
2087
|
+
* `<caption>`.
|
|
2088
|
+
*
|
|
2089
|
+
* A table with no name is announced as "table" and nothing else, so a page
|
|
2090
|
+
* with two of them — the invoice lines and the payments against it — gives a
|
|
2091
|
+
* screen-reader user two identical landmarks and no way to tell which is
|
|
2092
|
+
* which. The heading above it is not enough: table navigation jumps between
|
|
2093
|
+
* tables, not through the prose around them.
|
|
2094
|
+
*/
|
|
2095
|
+
caption?: string;
|
|
1947
2096
|
loading?: boolean;
|
|
1948
2097
|
bordered?: boolean;
|
|
1949
2098
|
size?: 'sm' | 'md';
|
|
@@ -1962,7 +2111,7 @@ interface DataTableProps<T> {
|
|
|
1962
2111
|
footer?: ReactNode;
|
|
1963
2112
|
className?: string;
|
|
1964
2113
|
}
|
|
1965
|
-
declare function DataTable<T>({ columns, data, rowKey, sort, onSortChange, pagination, loading, bordered, size, minWidth, rowClassName, onRow, emptyText, footer, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
1966
2115
|
|
|
1967
2116
|
interface ListFooterProps {
|
|
1968
2117
|
selectedCount: number;
|
|
@@ -2076,10 +2225,65 @@ interface AuthScreenProps {
|
|
|
2076
2225
|
}
|
|
2077
2226
|
declare function AuthScreen({ mode }: AuthScreenProps): react_jsx_runtime.JSX.Element;
|
|
2078
2227
|
|
|
2228
|
+
interface ErrorBoundaryProps {
|
|
2229
|
+
children: ReactNode;
|
|
2230
|
+
/**
|
|
2231
|
+
* Replaces the default page. `reset` clears the caught error so the children
|
|
2232
|
+
* mount again — worth offering when the cause may have been transient.
|
|
2233
|
+
*/
|
|
2234
|
+
fallback?: (error: Error, reset: () => void) => ReactNode;
|
|
2235
|
+
/**
|
|
2236
|
+
* What the user can do about it, rendered under the default page. The kit has
|
|
2237
|
+
* no router, so a link home has to come from the consumer — the same reason
|
|
2238
|
+
* {@link ErrorPage} takes its actions rather than inventing them.
|
|
2239
|
+
*/
|
|
2240
|
+
actions?: ReactNode;
|
|
2241
|
+
/**
|
|
2242
|
+
* Called with the caught error. This is where a consumer reports to Sentry or
|
|
2243
|
+
* its own logger; without it a crash is only ever a `console.error` in a
|
|
2244
|
+
* browser nobody is looking at.
|
|
2245
|
+
*/
|
|
2246
|
+
onError?: (error: Error, info: ErrorInfo) => void;
|
|
2247
|
+
/**
|
|
2248
|
+
* Show the message and stack on the page. Defaults to OFF. Pass
|
|
2249
|
+
* `import.meta.env.DEV` to get the detail while developing and nothing in
|
|
2250
|
+
* production — the value is the consumer's because the kit is built once and
|
|
2251
|
+
* cannot read the app's mode.
|
|
2252
|
+
*/
|
|
2253
|
+
showDetails?: boolean;
|
|
2254
|
+
/**
|
|
2255
|
+
* Clears the error when any entry changes — typically the current path, so
|
|
2256
|
+
* navigating away from a crashed page recovers instead of holding the
|
|
2257
|
+
* fallback until a full reload.
|
|
2258
|
+
*/
|
|
2259
|
+
resetKeys?: unknown[];
|
|
2260
|
+
}
|
|
2261
|
+
interface State {
|
|
2262
|
+
error: Error | null;
|
|
2263
|
+
}
|
|
2264
|
+
declare class ErrorBoundary extends Component<ErrorBoundaryProps, State> {
|
|
2265
|
+
state: State;
|
|
2266
|
+
static getDerivedStateFromError(error: Error): State;
|
|
2267
|
+
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
2268
|
+
componentDidUpdate(prev: ErrorBoundaryProps): void;
|
|
2269
|
+
reset: () => void;
|
|
2270
|
+
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2079
2273
|
interface ErrorPageProps {
|
|
2080
2274
|
code?: 403 | 404 | 500;
|
|
2275
|
+
/**
|
|
2276
|
+
* What the user can do about it — typically a link home.
|
|
2277
|
+
*
|
|
2278
|
+
* There is no default, and that is the fix: this page used to render "Go
|
|
2279
|
+
* back" and "Take me home" as buttons with no handlers on them. They looked
|
|
2280
|
+
* like the way out of a dead end and did nothing, which is worse than
|
|
2281
|
+
* offering nothing at all. The kit has no router, so the destination has to
|
|
2282
|
+
* come from the consumer.
|
|
2283
|
+
*/
|
|
2284
|
+
actions?: ReactNode;
|
|
2081
2285
|
}
|
|
2082
|
-
declare function ErrorPage({ code }: ErrorPageProps): react_jsx_runtime.JSX.Element;
|
|
2286
|
+
declare function ErrorPage({ code, actions }: ErrorPageProps): react_jsx_runtime.JSX.Element;
|
|
2083
2287
|
|
|
2084
2288
|
type Theme = 'system' | 'light' | 'dark' | 'pink' | 'green' | 'grey' | 'blue';
|
|
2085
2289
|
/** Resolve a stored theme to the attribute value <html> actually carries
|
|
@@ -2172,4 +2376,4 @@ declare const ALT_SHIFT_N: string;
|
|
|
2172
2376
|
* string when the source is consumed without a build (e.g. tests). */
|
|
2173
2377
|
declare const VERSION: string;
|
|
2174
2378
|
|
|
2175
|
-
export { type CountBadgeProps 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, Card as K, type CardPadding as L, type CardProps as M, type CellStyle as N, ChatTemplate as O, type PaginatedResponse as P, Checkbox as Q, type CheckboxProps as R, type SearchConfig as S, CheckoutTemplate as T, ColoredBadge as U, type ColoredBadgeProps as V, ConfirmProvider as W, ContainerFillChart as X, type ContainerFillChartProps as Y, type ContainerFillItem as Z, CountBadge as _, type SortState as a,
|
|
2379
|
+
export { type CountBadgeProps 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, Card as K, type CardPadding as L, type CardProps as M, type CellStyle as N, ChatTemplate as O, type PaginatedResponse as P, Checkbox as Q, type CheckboxProps as R, type SearchConfig as S, CheckoutTemplate as T, ColoredBadge as U, type ColoredBadgeProps as V, ConfirmProvider as W, ContainerFillChart as X, type ContainerFillChartProps as Y, type ContainerFillItem as Z, CountBadge as _, type SortState as a, INPUT_SIZES as a$, type CountBadgeTone as a0, DashboardTemplate as a1, DataTable as a2, type DataTableColumn as a3, type DataTableColumnGroup as a4, type DataTableHeader as a5, DataTablePage as a6, type DataTableProps as a7, DatePicker as a8, type DatePickerProps as a9, EmailTemplate as aA, EmptyState as aB, type EmptyStateProps as aC, ErrorBoundary as aD, type ErrorBoundaryProps as aE, ErrorPage as aF, type ErrorPageProps as aG, FilePicker as aH, type FilePickerProps as aI, FormField as aJ, type FormFieldProps as aK, FormLayoutPage as aL, GLASS_DIVIDER as aM, GLASS_INPUT_BG as aN, GROUP_COLORS as aO, GalleryTemplate as aP, type Gap as aQ, GlobalSearch as aR, type GlobalSearchProps as aS, Grid as aT, type GridCols as aU, type GridColumn as aV, type GridProps as aW, HelpCenter as aX, type HelpCenterDoc as aY, type HelpCenterProps as aZ, INPUT_BASE as a_, DateRangePicker as aa, type DateRangePickerProps as ab, type DescriptionColumns as ac, type DescriptionItem as ad, DescriptionList as ae, type DescriptionListProps as af, Dialog as ag, type DialogProps as ah, type DialogSize as ai, Divider as aj, type DividerProps as ak, type DividerSpacing as al, DonutChart as am, type DonutChartProps as an, type DonutSegment as ao, Drawer as ap, type DrawerProps as aq, type DrawerSide as ar, type DrawerSize as as, DropdownMenu as at, type DropdownMenuAlign as au, type DropdownMenuItem as av, type DropdownMenuProps as aw, ENTER as ax, EditableGrid as ay, type EditableGridProps as az, ALT_SHIFT_D as b, Select as b$, IconButton as b0, type IconButtonProps as b1, Inline as b2, type InlineProps as b3, Input as b4, InputNumber as b5, type InputNumberProps as b6, type InputProps as b7, type InputSize as b8, type Justify as b9, NumericKeypad as bA, type NumericKeypadProps as bB, PageHeader as bC, type PageHeaderProps as bD, Pagination as bE, type PaginationProps as bF, Paragraph as bG, type ParagraphProps as bH, PopupMenu as bI, PopupMenuDivider as bJ, PopupMenuItem as bK, PopupMenuLabel as bL, Radio as bM, type RadioProps as bN, Result as bO, type ResultProps as bP, type ResultStatus as bQ, SHIFT as bR, type SearchProvider as bS, type SearchResult as bT, type SearchableOption as bU, SearchableSelect as bV, type SearchableSelectProps as bW, Segmented as bX, type SegmentedOption as bY, type SegmentedProps as bZ, type SegmentedSize as b_, Kanban as ba, type KanbanColumn as bb, type KanbanProps as bc, Label as bd, type LabelProps as be, ListFooter as bf, ListLoadError as bg, type ListLoadErrorProps as bh, LoadingSpinner as bi, type LoadingSpinnerProps as bj, MAX_FRACTION_DIGITS as bk, MOD as bl, Markdown as bm, type MarkdownProps as bn, MediaUploadField as bo, type MediaUploadFieldProps as bp, MediaUploadGrid as bq, type MediaUploadGridItem as br, type MediaUploadGridProps as bs, MetricBar as bt, type MetricBarProps as bu, type Milestone as bv, type MilestoneKind as bw, MilestoneTimeline as bx, type MilestoneTimelineProps as by, NativeSelect as bz, ALT_SHIFT_E as c, isMac as c$, type SelectOption as c0, type SelectProps as c1, type SemanticGroup as c2, type SeverityTone as c3, type ShellPrefsAdapter as c4, ShellPrefsProvider as c5, SidebarActionButton as c6, type SidebarActionButtonProps as c7, SidebarGroupLabel as c8, SidebarLayout as c9, type TextTone as cA, type TextWeight as cB, Textarea as cC, type TextareaProps as cD, type Theme as cE, TileButton as cF, type TileButtonProps as cG, type TileSize as cH, Title as cI, type TitleLevel as cJ, type TitleProps as cK, type ToastOptions as cL, type ToastPlacement as cM, Tooltip as cN, type TooltipProps as cO, TopNav as cP, type TopNavItem as cQ, type TopNavProps as cR, VERSION as cS, appendKey as cT, applyThemePrefs as cU, backspace as cV, confirm as cW, confirmDestructive as cX, formatDate as cY, glassStyle as cZ, inputClasses as c_, type SidebarLayoutProps as ca, SidebarNavItem as cb, Skeleton as cc, type SkeletonProps as cd, type SkeletonVariant as ce, Sparkline as cf, type SparklineProps as cg, Stack as ch, type StackProps as ci, StatCard as cj, type StatCardProps as ck, Statistic as cl, type StatisticProps as cm, type StatisticSize as cn, type StatisticTone as co, StatusBadge as cp, StatusBadgeProvider as cq, Switch as cr, type SwitchProps as cs, type SwitchSize as ct, type TabItem as cu, Tabs as cv, type TabsProps as cw, Text as cx, type TextProps as cy, type TextSize as cz, ALT_SHIFT_N as d, isSeverityTone as d0, mediaFileName as d1, prompt as d2, resolveTheme as d3, severityOf as d4, tabButtonId as d5, tabPanelId as d6, toISODate as d7, toast as d8, useClickOutside as d9, useConfirm as da, useFocusTrap as db, useIsMobile as dc, useLocalStoragePrefs as dd, useScrollLock as de, useShellPrefs as df, useTheme as dg, 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 Card, L as CardPadding, M as CardProps, N as CellStyle, O as ChatTemplate, Q as Checkbox, R as CheckboxProps, T as CheckoutTemplate, U as ColoredBadge, V as ColoredBadgeProps, W as ConfirmProvider, X as ContainerFillChart, Y as ContainerFillChartProps, Z as ContainerFillItem, _ as CountBadge, $ as CountBadgeProps, a0 as CountBadgeTone, a1 as DashboardTemplate, a2 as DataTable, a3 as DataTableColumn, a4 as
|
|
1
|
+
import { S as SearchConfig, C as ColumnDef, a as SortState, P as PaginatedResponse } from './index-BE0z2D6y.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 Card, L as CardPadding, M as CardProps, N as CellStyle, O as ChatTemplate, Q as Checkbox, R as CheckboxProps, T as CheckoutTemplate, U as ColoredBadge, V as ColoredBadgeProps, W as ConfirmProvider, X as ContainerFillChart, Y as ContainerFillChartProps, Z as ContainerFillItem, _ as CountBadge, $ as CountBadgeProps, a0 as CountBadgeTone, a1 as DashboardTemplate, a2 as DataTable, a3 as DataTableColumn, a4 as DataTableColumnGroup, a5 as DataTableHeader, a6 as DataTablePage, a7 as DataTableProps, a8 as DatePicker, a9 as DatePickerProps, aa as DateRangePicker, ab as DateRangePickerProps, ac as DescriptionColumns, ad as DescriptionItem, ae as DescriptionList, af as DescriptionListProps, ag as Dialog, ah as DialogProps, ai as DialogSize, aj as Divider, ak as DividerProps, al as DividerSpacing, am as DonutChart, an as DonutChartProps, ao as DonutSegment, ap as Drawer, aq as DrawerProps, ar as DrawerSide, as as DrawerSize, at as DropdownMenu, au as DropdownMenuAlign, av as DropdownMenuItem, aw as DropdownMenuProps, ax as ENTER, ay as EditableGrid, az as EditableGridProps, aA as EmailTemplate, aB as EmptyState, aC as EmptyStateProps, aD as ErrorBoundary, aE as ErrorBoundaryProps, aF as ErrorPage, aG as ErrorPageProps, aH as FilePicker, aI as FilePickerProps, aJ as FormField, aK as FormFieldProps, aL as FormLayoutPage, aM as GLASS_DIVIDER, aN as GLASS_INPUT_BG, aO as GROUP_COLORS, aP as GalleryTemplate, aQ as Gap, aR as GlobalSearch, aS as GlobalSearchProps, aT as Grid, aU as GridCols, aV as GridColumn, aW as GridProps, aX as HelpCenter, aY as HelpCenterDoc, aZ as HelpCenterProps, a_ as INPUT_BASE, a$ as INPUT_SIZES, b0 as IconButton, b1 as IconButtonProps, b2 as Inline, b3 as InlineProps, b4 as Input, b5 as InputNumber, b6 as InputNumberProps, b7 as InputProps, b8 as InputSize, b9 as Justify, ba as Kanban, bb as KanbanColumn, bc as KanbanProps, bd as Label, be as LabelProps, bf as ListFooter, bg as ListLoadError, bh as ListLoadErrorProps, bi as LoadingSpinner, bj as LoadingSpinnerProps, bk as MAX_FRACTION_DIGITS, bl as MOD, bm as Markdown, bn as MarkdownProps, bo as MediaUploadField, bp as MediaUploadFieldProps, bq as MediaUploadGrid, br as MediaUploadGridItem, bs as MediaUploadGridProps, bt as MetricBar, bu as MetricBarProps, bv as Milestone, bw as MilestoneKind, bx as MilestoneTimeline, by as MilestoneTimelineProps, bz as NativeSelect, bA as NumericKeypad, bB as NumericKeypadProps, bC as PageHeader, bD as PageHeaderProps, bE as Pagination, bF as PaginationProps, bG as Paragraph, bH as ParagraphProps, bI as PopupMenu, bJ as PopupMenuDivider, bK as PopupMenuItem, bL as PopupMenuLabel, bM as Radio, bN as RadioProps, bO as Result, bP as ResultProps, bQ as ResultStatus, bR as SHIFT, bS as SearchProvider, bT as SearchResult, bU as SearchableOption, bV as SearchableSelect, bW as SearchableSelectProps, bX as Segmented, bY as SegmentedOption, bZ as SegmentedProps, b_ as SegmentedSize, b$ as Select, c0 as SelectOption, c1 as SelectProps, c2 as SemanticGroup, c3 as SeverityTone, c4 as ShellPrefsAdapter, c5 as ShellPrefsProvider, c6 as SidebarActionButton, c7 as SidebarActionButtonProps, c8 as SidebarGroupLabel, c9 as SidebarLayout, ca as SidebarLayoutProps, cb as SidebarNavItem, cc as Skeleton, cd as SkeletonProps, ce as SkeletonVariant, cf as Sparkline, cg as SparklineProps, ch as Stack, ci as StackProps, cj as StatCard, ck as StatCardProps, cl as Statistic, cm as StatisticProps, cn as StatisticSize, co as StatisticTone, cp as StatusBadge, cq as StatusBadgeProvider, cr as Switch, cs as SwitchProps, ct as SwitchSize, cu as TabItem, cv as Tabs, cw as TabsProps, cx as Text, cy as TextProps, cz as TextSize, cA as TextTone, cB as TextWeight, cC as Textarea, cD as TextareaProps, cE as Theme, cF as TileButton, cG as TileButtonProps, cH as TileSize, cI as Title, cJ as TitleLevel, cK as TitleProps, cL as ToastOptions, cM as ToastPlacement, cN as Tooltip, cO as TooltipProps, cP as TopNav, cQ as TopNavItem, cR as TopNavProps, cS as VERSION, cT as appendKey, cU as applyThemePrefs, cV as backspace, cW as confirm, cX as confirmDestructive, cY as formatDate, cZ as glassStyle, c_ as inputClasses, c$ as isMac, d0 as isSeverityTone, d1 as mediaFileName, d2 as prompt, d3 as resolveTheme, d4 as severityOf, d5 as tabButtonId, d6 as tabPanelId, d7 as toISODate, d8 as toast, d9 as useClickOutside, da as useConfirm, db as useFocusTrap, dc as useIsMobile, dd as useLocalStoragePrefs, de as useScrollLock, df as useShellPrefs, dg as useTheme } from './index-BE0z2D6y.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';
|
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { PREVIEW_OPENED_EVENT, openPreviewFile } from './chunk-
|
|
2
|
-
import { subscribePomo, getPomoSnapshot } from './chunk-
|
|
3
|
-
export { setShellTodoProvider } from './chunk-
|
|
4
|
-
export { ImageAnnotator_default as ImageAnnotator } from './chunk-
|
|
1
|
+
import { PREVIEW_OPENED_EVENT, openPreviewFile } from './chunk-3OCL3DB4.js';
|
|
2
|
+
import { subscribePomo, getPomoSnapshot } from './chunk-IOCOH2QQ.js';
|
|
3
|
+
export { setShellTodoProvider } from './chunk-IOCOH2QQ.js';
|
|
4
|
+
export { ImageAnnotator_default as ImageAnnotator } from './chunk-ECE3B3FZ.js';
|
|
5
5
|
import { publishDesktopFolders, requestFilesTrashView, FolderGlyph, requestFilesDesktopFolderView, FileIconTile } from './chunk-OQ7GRU7G.js';
|
|
6
6
|
import './chunk-4SQU5YV6.js';
|
|
7
7
|
import { setPdfPreview } from './chunk-BV6SQ46N.js';
|
|
8
|
-
import { CMD_K, CMD_DOT, CMD_A, ALT_SHIFT_N, ALT_SHIFT_E, CMD_ENTER, CMD_S, ALT_SHIFT_D, CMD_Z, CMD_SHIFT_Z, formatDate, useTheme, GlobalSearch, resolveTheme, useClickOutside, ListLoadError, ListFooter, firstEnabledIndex, Button_default, FormField, Input_default, applyThemePrefs, lastEnabledIndex, nextEnabledIndex, matchTypeahead } from './chunk-
|
|
9
|
-
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, CountBadge, DashboardTemplate, DataTable, DataTablePage, DatePicker_default as DatePicker, DateRangePicker, DescriptionList, Divider, DonutChart, Drawer, ENTER, EmailTemplate, EmptyState, ErrorPage, FilePicker, FormField, FormLayoutPage, GROUP_COLORS, GalleryTemplate, GlobalSearch, Grid, HelpCenter, INPUT_BASE, INPUT_SIZES, IconButton_default as IconButton, Inline, Input_default as Input, InputNumber_default as InputNumber, Kanban, Label, ListFooter, ListLoadError, LoadingSpinner, MAX_FRACTION_DIGITS, MOD, Markdown, MediaUploadField, MediaUploadGrid, MetricBar, MilestoneTimeline, NativeSelect, NumericKeypad, PageHeader, Pagination, Paragraph, Radio_default as Radio, Result, SHIFT, SearchableSelect, Segmented, Select_default as Select, SidebarActionButton, SidebarGroupLabel, SidebarNavItem, Skeleton, Sparkline, Stack, StatCard, Statistic, StatusBadge, StatusBadgeProvider, Switch_default as Switch, Tabs, Text, Textarea_default as Textarea, TileButton_default as TileButton, Title, Tooltip, TopNav, appendKey, applyThemePrefs, backspace, formatDate, inputClasses, isMac, isSeverityTone, mediaFileName, resolveTheme, severityOf, tabButtonId, tabPanelId, toISODate, useClickOutside, useTheme } from './chunk-
|
|
8
|
+
import { CMD_K, CMD_DOT, CMD_A, ALT_SHIFT_N, ALT_SHIFT_E, CMD_ENTER, CMD_S, ALT_SHIFT_D, CMD_Z, CMD_SHIFT_Z, formatDate, useTheme, GlobalSearch, resolveTheme, useClickOutside, ListLoadError, ListFooter, firstEnabledIndex, Button_default, FormField, Input_default, applyThemePrefs, lastEnabledIndex, nextEnabledIndex, matchTypeahead } from './chunk-CTTHBTOX.js';
|
|
9
|
+
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, CountBadge, DashboardTemplate, DataTable, DataTablePage, DatePicker_default as DatePicker, DateRangePicker, DescriptionList, Divider, DonutChart, Drawer, DropdownMenu, ENTER, EmailTemplate, EmptyState, ErrorBoundary, ErrorPage, FilePicker, FormField, FormLayoutPage, GROUP_COLORS, GalleryTemplate, GlobalSearch, Grid, HelpCenter, INPUT_BASE, INPUT_SIZES, IconButton_default as IconButton, Inline, Input_default as Input, InputNumber_default as InputNumber, Kanban, Label, ListFooter, ListLoadError, LoadingSpinner, MAX_FRACTION_DIGITS, MOD, Markdown, MediaUploadField, MediaUploadGrid, MetricBar, MilestoneTimeline, NativeSelect, NumericKeypad, PageHeader, Pagination, Paragraph, Radio_default as Radio, Result, SHIFT, SearchableSelect, Segmented, Select_default as Select, SidebarActionButton, SidebarGroupLabel, SidebarNavItem, Skeleton, Sparkline, Stack, StatCard, Statistic, StatusBadge, StatusBadgeProvider, Switch_default as Switch, Tabs, Text, Textarea_default as Textarea, TileButton_default as TileButton, Title, Tooltip, TopNav, appendKey, applyThemePrefs, backspace, formatDate, inputClasses, isMac, isSeverityTone, mediaFileName, resolveTheme, severityOf, tabButtonId, tabPanelId, toISODate, useClickOutside, useTheme } from './chunk-CTTHBTOX.js';
|
|
10
10
|
export { Breadcrumbs } from './chunk-HNH7FOYB.js';
|
|
11
11
|
import { withSpareRow, EditableGrid } from './chunk-DC6BYGZ6.js';
|
|
12
12
|
export { EditableGrid } from './chunk-DC6BYGZ6.js';
|
|
13
13
|
import { SidebarLayout } from './chunk-YG45DAUT.js';
|
|
14
14
|
export { SidebarLayout } from './chunk-YG45DAUT.js';
|
|
15
|
-
import { toast_default } from './chunk-
|
|
16
|
-
export { toast_default as toast } from './chunk-
|
|
17
|
-
import { APP_VERSION, VERSION } from './chunk-
|
|
18
|
-
export { VERSION } from './chunk-
|
|
15
|
+
import { toast_default } from './chunk-TK6HI2U4.js';
|
|
16
|
+
export { toast_default as toast } from './chunk-TK6HI2U4.js';
|
|
17
|
+
import { APP_VERSION, VERSION } from './chunk-LCLB7YBY.js';
|
|
18
|
+
export { VERSION } from './chunk-LCLB7YBY.js';
|
|
19
19
|
import { playNotification, playStartup, soundsEnabled, getSoundConfig, SOUND_PACK_KEYS, SOUND_PACKS, SOUND_TYPES, SOUND_TYPE_LABELS, setSoundForType, previewSound, setAllSounds, playLogout } from './chunk-D7PYW2QS.js';
|
|
20
20
|
import { useAuth } from './chunk-EWDYCO65.js';
|
|
21
21
|
export { setShellAuthBridge } from './chunk-EWDYCO65.js';
|
|
22
|
-
import { cancelWindowFront, requestWindowFront, useWindowManager, WINDOW_REGISTRY, isPageEntry, Modal, setPerfCollecting, drainPerfEvents, markMenuOpen, SIDEBAR_STRIP_W, forgetMaximizedWindowBoxes, ModalActions, useModalActive, client_default, LoadingSpinner, isShellApiClientConfigured, useUndo, useEnclosingModalId, CancelButton, setWindowPosition } from './chunk-
|
|
23
|
-
export { CancelButton, CopyButton, DocFavStar, Modal, ModalActions, UndoProvider, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, beginWindowGesture, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, markMenuOpen, requestWindowFront, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useEnclosingModalId, useIsActiveWindow, useModalActive, useUndo, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-
|
|
24
|
-
import { PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, useShellPrefs, useIsMobile } from './chunk-
|
|
25
|
-
export { PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, useIsMobile, useLocalStoragePrefs, useShellPrefs } from './chunk-
|
|
22
|
+
import { cancelWindowFront, requestWindowFront, useWindowManager, WINDOW_REGISTRY, isPageEntry, Modal, setPerfCollecting, drainPerfEvents, markMenuOpen, SIDEBAR_STRIP_W, forgetMaximizedWindowBoxes, ModalActions, useModalActive, client_default, LoadingSpinner, isShellApiClientConfigured, useUndo, useEnclosingModalId, CancelButton, setWindowPosition } from './chunk-5S65ZC5W.js';
|
|
23
|
+
export { CancelButton, CopyButton, DocFavStar, Modal, ModalActions, UndoProvider, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, beginWindowGesture, commitExposeHighlight, exitExposeMode, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, markMenuOpen, requestWindowFront, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useEnclosingModalId, useIsActiveWindow, useModalActive, useUndo, useUndoable, useUndoableState, useWidgetSettings, useWindowDirty, useWindowManager, useWindowMenuItem, useWindowTitle } from './chunk-5S65ZC5W.js';
|
|
24
|
+
import { PopupMenu, PopupMenuLabel, PopupMenuDivider, PopupMenuItem, useShellPrefs, useIsMobile } from './chunk-ZCDFNZQS.js';
|
|
25
|
+
export { PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, useIsMobile, useLocalStoragePrefs, useShellPrefs } from './chunk-ZCDFNZQS.js';
|
|
26
26
|
import { registerModalEscapeInterceptor } from './chunk-OXLLRKBC.js';
|
|
27
27
|
export { ConfirmProvider, Dialog, confirm, confirmDestructive, prompt, registerModalEscapeInterceptor, useConfirm, useFocusTrap, useScrollLock } from './chunk-OXLLRKBC.js';
|
|
28
28
|
import { startMenuCategories, navVisible, navSections, isSection, navIcons, isReachable, sectionIcons, useShellAuth, visibleChildren } from './chunk-WNLPTLT6.js';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
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 Card, L as CardPadding, M as CardProps, N as CellStyle, O as ChatTemplate, Q as Checkbox, R as CheckboxProps, T as CheckoutTemplate, U as ColoredBadge, V as ColoredBadgeProps, C as ColumnDef, W as ConfirmProvider, X as ContainerFillChart, Y as ContainerFillChartProps, Z as ContainerFillItem, _ as CountBadge, $ as CountBadgeProps, a0 as CountBadgeTone, a1 as DashboardTemplate, a2 as DataTable, a3 as DataTableColumn, a4 as
|
|
1
|
+
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 Card, L as CardPadding, M as CardProps, N as CellStyle, O as ChatTemplate, Q as Checkbox, R as CheckboxProps, T as CheckoutTemplate, U as ColoredBadge, V as ColoredBadgeProps, C as ColumnDef, W as ConfirmProvider, X as ContainerFillChart, Y as ContainerFillChartProps, Z as ContainerFillItem, _ as CountBadge, $ as CountBadgeProps, a0 as CountBadgeTone, a1 as DashboardTemplate, a2 as DataTable, a3 as DataTableColumn, a4 as DataTableColumnGroup, a5 as DataTableHeader, a6 as DataTablePage, a7 as DataTableProps, a8 as DatePicker, a9 as DatePickerProps, aa as DateRangePicker, ab as DateRangePickerProps, ac as DescriptionColumns, ad as DescriptionItem, ae as DescriptionList, af as DescriptionListProps, ag as Dialog, ah as DialogProps, ai as DialogSize, aj as Divider, ak as DividerProps, al as DividerSpacing, am as DonutChart, an as DonutChartProps, ao as DonutSegment, ap as Drawer, aq as DrawerProps, ar as DrawerSide, as as DrawerSize, at as DropdownMenu, au as DropdownMenuAlign, av as DropdownMenuItem, aw as DropdownMenuProps, ax as ENTER, ay as EditableGrid, az as EditableGridProps, aA as EmailTemplate, aB as EmptyState, aC as EmptyStateProps, aD as ErrorBoundary, aE as ErrorBoundaryProps, aF as ErrorPage, aG as ErrorPageProps, aH as FilePicker, aI as FilePickerProps, aJ as FormField, aK as FormFieldProps, aL as FormLayoutPage, aM as GLASS_DIVIDER, aO as GROUP_COLORS, aP as GalleryTemplate, aQ as Gap, aR as GlobalSearch, aS as GlobalSearchProps, aT as Grid, aU as GridCols, aV as GridColumn, aW as GridProps, aX as HelpCenter, aY as HelpCenterDoc, aZ as HelpCenterProps, a_ as INPUT_BASE, a$ as INPUT_SIZES, b0 as IconButton, b1 as IconButtonProps, b2 as Inline, b3 as InlineProps, b4 as Input, b5 as InputNumber, b6 as InputNumberProps, b7 as InputProps, b8 as InputSize, b9 as Justify, ba as Kanban, bb as KanbanColumn, bc as KanbanProps, bd as Label, be as LabelProps, bf as ListFooter, bg as ListLoadError, bh as ListLoadErrorProps, bi as LoadingSpinner, bj as LoadingSpinnerProps, bk as MAX_FRACTION_DIGITS, bl as MOD, bm as Markdown, bn as MarkdownProps, bo as MediaUploadField, bp as MediaUploadFieldProps, bq as MediaUploadGrid, br as MediaUploadGridItem, bs as MediaUploadGridProps, bt as MetricBar, bu as MetricBarProps, bv as Milestone, bw as MilestoneKind, bx as MilestoneTimeline, by as MilestoneTimelineProps, bz as NativeSelect, bA as NumericKeypad, bB as NumericKeypadProps, bC as PageHeader, bD as PageHeaderProps, P as PaginatedResponse, bE as Pagination, bF as PaginationProps, bG as Paragraph, bH as ParagraphProps, bI as PopupMenu, bJ as PopupMenuDivider, bK as PopupMenuItem, bL as PopupMenuLabel, bM as Radio, bN as RadioProps, bO as Result, bP as ResultProps, bQ as ResultStatus, bR as SHIFT, S as SearchConfig, bS as SearchProvider, bT as SearchResult, bU as SearchableOption, bV as SearchableSelect, bW as SearchableSelectProps, bX as Segmented, bY as SegmentedOption, bZ as SegmentedProps, b_ as SegmentedSize, b$ as Select, c0 as SelectOption, c1 as SelectProps, c2 as SemanticGroup, c3 as SeverityTone, c4 as ShellPrefsAdapter, c5 as ShellPrefsProvider, c6 as SidebarActionButton, c7 as SidebarActionButtonProps, c8 as SidebarGroupLabel, c9 as SidebarLayout, ca as SidebarLayoutProps, cb as SidebarNavItem, cc as Skeleton, cd as SkeletonProps, ce as SkeletonVariant, a as SortState, cf as Sparkline, cg as SparklineProps, ch as Stack, ci as StackProps, cj as StatCard, ck as StatCardProps, cl as Statistic, cm as StatisticProps, cn as StatisticSize, co as StatisticTone, cp as StatusBadge, cq as StatusBadgeProvider, cr as Switch, cs as SwitchProps, ct as SwitchSize, cu as TabItem, cv as Tabs, cw as TabsProps, cx as Text, cy as TextProps, cz as TextSize, cA as TextTone, cB as TextWeight, cC as Textarea, cD as TextareaProps, cE as Theme, cF as TileButton, cG as TileButtonProps, cH as TileSize, cI as Title, cJ as TitleLevel, cK as TitleProps, cL as ToastOptions, cM as ToastPlacement, cN as Tooltip, cO as TooltipProps, cP as TopNav, cQ as TopNavItem, cR as TopNavProps, cS as VERSION, cT as appendKey, cU as applyThemePrefs, cV as backspace, cW as confirm, cX as confirmDestructive, cY as formatDate, cZ as glassStyle, c_ as inputClasses, c$ as isMac, d0 as isSeverityTone, d1 as mediaFileName, d2 as prompt, d3 as resolveTheme, d4 as severityOf, d5 as tabButtonId, d6 as tabPanelId, d7 as toISODate, d8 as toast, d9 as useClickOutside, da as useConfirm, db as useFocusTrap, dc as useIsMobile, dd as useLocalStoragePrefs, de as useScrollLock, df as useShellPrefs, dg as useTheme } from '../index-BE0z2D6y.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
package/dist/ui/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, CountBadge, DashboardTemplate, DataTable, DataTablePage, DatePicker_default as DatePicker, DateRangePicker, DescriptionList, Divider, DonutChart, Drawer, ENTER, EmailTemplate, EmptyState, ErrorPage, FilePicker, FormField, FormLayoutPage, GROUP_COLORS, GalleryTemplate, GlobalSearch, Grid, HelpCenter, INPUT_BASE, INPUT_SIZES, IconButton_default as IconButton, Inline, Input_default as Input, InputNumber_default as InputNumber, Kanban, Label, ListFooter, ListLoadError, LoadingSpinner, MAX_FRACTION_DIGITS, MOD, Markdown, MediaUploadField, MediaUploadGrid, MetricBar, MilestoneTimeline, NativeSelect, NumericKeypad, PageHeader, Pagination, Paragraph, Radio_default as Radio, Result, SHIFT, SearchableSelect, Segmented, Select_default as Select, SidebarActionButton, SidebarGroupLabel, SidebarNavItem, Skeleton, Sparkline, Stack, StatCard, Statistic, StatusBadge, StatusBadgeProvider, Switch_default as Switch, Tabs, Text, Textarea_default as Textarea, TileButton_default as TileButton, Title, Tooltip, TopNav, appendKey, applyThemePrefs, backspace, formatDate, inputClasses, isMac, isSeverityTone, mediaFileName, resolveTheme, severityOf, tabButtonId, tabPanelId, toISODate, useClickOutside, useTheme } from '../chunk-
|
|
1
|
+
export { ALT, ALT_SHIFT_D, ALT_SHIFT_E, ALT_SHIFT_N, Accordion, AuthScreen, Avatar, AvatarGroup, Banner, BarChart, Button_default as Button, CMD_A, CMD_DOT, CMD_ENTER, CMD_K, CMD_S, Card, ChatTemplate, Checkbox_default as Checkbox, CheckoutTemplate, ColoredBadge, ContainerFillChart, CountBadge, DashboardTemplate, DataTable, DataTablePage, DatePicker_default as DatePicker, DateRangePicker, DescriptionList, Divider, DonutChart, Drawer, DropdownMenu, ENTER, EmailTemplate, EmptyState, ErrorBoundary, ErrorPage, FilePicker, FormField, FormLayoutPage, GROUP_COLORS, GalleryTemplate, GlobalSearch, Grid, HelpCenter, INPUT_BASE, INPUT_SIZES, IconButton_default as IconButton, Inline, Input_default as Input, InputNumber_default as InputNumber, Kanban, Label, ListFooter, ListLoadError, LoadingSpinner, MAX_FRACTION_DIGITS, MOD, Markdown, MediaUploadField, MediaUploadGrid, MetricBar, MilestoneTimeline, NativeSelect, NumericKeypad, PageHeader, Pagination, Paragraph, Radio_default as Radio, Result, SHIFT, SearchableSelect, Segmented, Select_default as Select, SidebarActionButton, SidebarGroupLabel, SidebarNavItem, Skeleton, Sparkline, Stack, StatCard, Statistic, StatusBadge, StatusBadgeProvider, Switch_default as Switch, Tabs, Text, Textarea_default as Textarea, TileButton_default as TileButton, Title, Tooltip, TopNav, appendKey, applyThemePrefs, backspace, formatDate, inputClasses, isMac, isSeverityTone, mediaFileName, resolveTheme, severityOf, tabButtonId, tabPanelId, toISODate, useClickOutside, useTheme } from '../chunk-CTTHBTOX.js';
|
|
2
2
|
export { Breadcrumbs } from '../chunk-HNH7FOYB.js';
|
|
3
3
|
export { EditableGrid } from '../chunk-DC6BYGZ6.js';
|
|
4
4
|
export { SidebarLayout } from '../chunk-YG45DAUT.js';
|
|
5
|
-
export { toast_default as toast } from '../chunk-
|
|
6
|
-
export { VERSION } from '../chunk-
|
|
7
|
-
export { PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, useIsMobile, useLocalStoragePrefs, useShellPrefs } from '../chunk-
|
|
5
|
+
export { toast_default as toast } from '../chunk-TK6HI2U4.js';
|
|
6
|
+
export { VERSION } from '../chunk-LCLB7YBY.js';
|
|
7
|
+
export { PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, useIsMobile, useLocalStoragePrefs, useShellPrefs } from '../chunk-ZCDFNZQS.js';
|
|
8
8
|
export { ConfirmProvider, Dialog, confirm, confirmDestructive, prompt, useConfirm, useFocusTrap, useScrollLock } from '../chunk-OXLLRKBC.js';
|
|
9
9
|
export { GLASS_DIVIDER, glassStyle } from '../chunk-3CUSBZWG.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|