@forgeax/app-shell 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/detached.css +8 -0
- package/dist/react.d.ts +8 -1
- package/dist/react.js +7 -0
- package/package.json +1 -1
package/dist/detached.css
CHANGED
package/dist/react.d.ts
CHANGED
|
@@ -56,8 +56,15 @@ interface DetachedSurfaceFrameProps {
|
|
|
56
56
|
/** Center caller-owned status content inside the full-window frame. */
|
|
57
57
|
centered?: boolean;
|
|
58
58
|
}
|
|
59
|
+
type DetachedSurfaceStatusTone = 'neutral' | 'error';
|
|
60
|
+
interface DetachedSurfaceStatusProps {
|
|
61
|
+
children: ReactNode;
|
|
62
|
+
tone?: DetachedSurfaceStatusTone;
|
|
63
|
+
}
|
|
59
64
|
/** Product-neutral presentation frame for content mounted in a detached window. */
|
|
60
65
|
declare function DetachedSurfaceFrame({ children, panel, centered, }: DetachedSurfaceFrameProps): ReactElement;
|
|
66
|
+
/** Product-neutral status text for a detached frame; callers retain the copy. */
|
|
67
|
+
declare function DetachedSurfaceStatus({ children, tone, }: DetachedSurfaceStatusProps): ReactElement;
|
|
61
68
|
|
|
62
69
|
type ShellSlotElement = 'aside' | 'div' | 'main' | 'section';
|
|
63
70
|
interface ShellSlotProps extends HTMLAttributes<HTMLElement> {
|
|
@@ -67,4 +74,4 @@ interface ShellSlotProps extends HTMLAttributes<HTMLElement> {
|
|
|
67
74
|
/** Structural shell marker that preserves the caller's semantic element. */
|
|
68
75
|
declare function ShellSlot({ as, name, ...props }: ShellSlotProps): ReactElement;
|
|
69
76
|
|
|
70
|
-
export { DetachedPanelBoundary, type DetachedPanelBoundaryProps, DetachedSurfaceFrame, type DetachedSurfaceFrameProps, type PanelContentPadding, type PanelContentPolicy, type PanelContentScroll, type PanelContentTone, PanelSurface, type PanelSurfaceProps, ResizeHandle, type ResizeHandleProps, ShellSlot, type ShellSlotElement, type ShellSlotProps, SlotDebugOverlay, hashSlotHue, isSlotDebugEnabled, useLocalSize };
|
|
77
|
+
export { DetachedPanelBoundary, type DetachedPanelBoundaryProps, DetachedSurfaceFrame, type DetachedSurfaceFrameProps, DetachedSurfaceStatus, type DetachedSurfaceStatusProps, type DetachedSurfaceStatusTone, type PanelContentPadding, type PanelContentPolicy, type PanelContentScroll, type PanelContentTone, PanelSurface, type PanelSurfaceProps, ResizeHandle, type ResizeHandleProps, ShellSlot, type ShellSlotElement, type ShellSlotProps, SlotDebugOverlay, hashSlotHue, isSlotDebugEnabled, useLocalSize };
|
package/dist/react.js
CHANGED
|
@@ -337,6 +337,12 @@ function DetachedSurfaceFrame({
|
|
|
337
337
|
}
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
|
+
function DetachedSurfaceStatus({
|
|
341
|
+
children,
|
|
342
|
+
tone = "neutral"
|
|
343
|
+
}) {
|
|
344
|
+
return /* @__PURE__ */ jsx4("span", { className: "fx-detached-surface-status-text", "data-tone": tone, children });
|
|
345
|
+
}
|
|
340
346
|
|
|
341
347
|
// src/react.tsx
|
|
342
348
|
function ShellSlot({
|
|
@@ -349,6 +355,7 @@ function ShellSlot({
|
|
|
349
355
|
export {
|
|
350
356
|
DetachedPanelBoundary,
|
|
351
357
|
DetachedSurfaceFrame,
|
|
358
|
+
DetachedSurfaceStatus,
|
|
352
359
|
PanelSurface,
|
|
353
360
|
ResizeHandle,
|
|
354
361
|
ShellSlot,
|