@forgeax/app-shell 0.51.0 → 0.52.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/react.d.ts +7 -1
- package/dist/react.js +28 -0
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -168,10 +168,16 @@ interface DockTabFrameProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
168
168
|
action?: ReactNode;
|
|
169
169
|
}
|
|
170
170
|
type DockTabActionProps = HTMLAttributes<HTMLDivElement>;
|
|
171
|
+
type DockTabIconProps = HTMLAttributes<HTMLSpanElement>;
|
|
172
|
+
type DockTabTitleProps = HTMLAttributes<HTMLSpanElement>;
|
|
171
173
|
/** Product-neutral Dock tab frame with stable Dockview-compatible DOM hooks. */
|
|
172
174
|
declare const DockTabFrame: react.ForwardRefExoticComponent<DockTabFrameProps & react.RefAttributes<HTMLDivElement>>;
|
|
173
175
|
/** Product-neutral trailing-action wrapper for a Dock tab frame. */
|
|
174
176
|
declare const DockTabAction: react.ForwardRefExoticComponent<DockTabActionProps & react.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
/** Product-neutral leading-icon wrapper with a stable styling hook. */
|
|
178
|
+
declare const DockTabIcon: react.ForwardRefExoticComponent<DockTabIconProps & react.RefAttributes<HTMLSpanElement>>;
|
|
179
|
+
/** Product-neutral tab-title wrapper with a stable styling hook. */
|
|
180
|
+
declare const DockTabTitle: react.ForwardRefExoticComponent<DockTabTitleProps & react.RefAttributes<HTMLSpanElement>>;
|
|
175
181
|
|
|
176
182
|
type DockTabStatusTone = 'neutral' | 'error' | 'warning';
|
|
177
183
|
interface DockTabStatusSummaryItem {
|
|
@@ -332,4 +338,4 @@ interface ShellSlotProps extends HTMLAttributes<HTMLElement> {
|
|
|
332
338
|
/** Structural shell marker that preserves the caller's semantic element. */
|
|
333
339
|
declare function ShellSlot({ as, name, ...props }: ShellSlotProps): ReactElement;
|
|
334
340
|
|
|
335
|
-
export { type AnchoredResizeDirection, AnchoredResizeHandle, type AnchoredResizeHandleProps, type AnchoredResizeSession, DetachedPanelBoundary, type DetachedPanelBoundaryProps, DetachedSurfaceFrame, type DetachedSurfaceFrameProps, DetachedSurfaceStatus, type DetachedSurfaceStatusProps, type DetachedSurfaceStatusTone, type DockLayoutControlBinding, type DockLayoutControlBindingOptions, DockLayoutMenu, type DockLayoutMenuPanel, type DockLayoutMenuProps, DockTabAction, type DockTabActionProps, DockTabFrame, type DockTabFrameProps, DockTabStatusSummary, type DockTabStatusSummaryItem, type DockTabStatusSummaryProps, type DockTabStatusTone, FloatingMenu, type FloatingMenuAnchor, type FloatingMenuPoint, type FloatingMenuProps, type LiveTabPlacement, type LiveTabPlacementSource, type LiveTabTitleSource, type PanelContentPadding, type PanelContentPolicy, type PanelContentScroll, type PanelContentTone, PanelEmptyState, type PanelEmptyStateProps, PanelSurface, type PanelSurfaceProps, type PersistentSizeStorage, type PersistentSizeStore, type PersistentSizeStoreOptions, type PersistentSizeUpdate, type PointerDragFinishReason, type PointerDragSessionOptions, type PointerReorderFinishReason, type PointerReorderSession, type PointerReorderSessionOptions, ResizeHandle, type ResizeHandleProps, ShellSlot, type ShellSlotElement, type ShellSlotProps, SlotDebugOverlay, SurfacePlaceholder, type SurfacePlaceholderProps, SurfaceRegion, type SurfaceRegionProps, type TabCloseInteractions, type TabCloseInteractionsOptions, type TabPinnedStateSource, type ThresholdPointerDragFinishReason, type ThresholdPointerDragSession, type ThresholdPointerDragSessionOptions, applyAnchoredResizeDelta, beginAnchoredResize, createPersistentSizeStore, hashSlotHue, installPointerDragSession, installPointerReorderSession, installThresholdPointerDragSession, isSlotDebugEnabled, useDockLayoutControlBinding, useLiveTabPlacement, useLiveTabTitle, useLocalSize, usePersistentSizeStore, useTabCloseInteractions, useTabPinnedState };
|
|
341
|
+
export { type AnchoredResizeDirection, AnchoredResizeHandle, type AnchoredResizeHandleProps, type AnchoredResizeSession, DetachedPanelBoundary, type DetachedPanelBoundaryProps, DetachedSurfaceFrame, type DetachedSurfaceFrameProps, DetachedSurfaceStatus, type DetachedSurfaceStatusProps, type DetachedSurfaceStatusTone, type DockLayoutControlBinding, type DockLayoutControlBindingOptions, DockLayoutMenu, type DockLayoutMenuPanel, type DockLayoutMenuProps, DockTabAction, type DockTabActionProps, DockTabFrame, type DockTabFrameProps, DockTabIcon, type DockTabIconProps, DockTabStatusSummary, type DockTabStatusSummaryItem, type DockTabStatusSummaryProps, type DockTabStatusTone, DockTabTitle, type DockTabTitleProps, FloatingMenu, type FloatingMenuAnchor, type FloatingMenuPoint, type FloatingMenuProps, type LiveTabPlacement, type LiveTabPlacementSource, type LiveTabTitleSource, type PanelContentPadding, type PanelContentPolicy, type PanelContentScroll, type PanelContentTone, PanelEmptyState, type PanelEmptyStateProps, PanelSurface, type PanelSurfaceProps, type PersistentSizeStorage, type PersistentSizeStore, type PersistentSizeStoreOptions, type PersistentSizeUpdate, type PointerDragFinishReason, type PointerDragSessionOptions, type PointerReorderFinishReason, type PointerReorderSession, type PointerReorderSessionOptions, ResizeHandle, type ResizeHandleProps, ShellSlot, type ShellSlotElement, type ShellSlotProps, SlotDebugOverlay, SurfacePlaceholder, type SurfacePlaceholderProps, SurfaceRegion, type SurfaceRegionProps, type TabCloseInteractions, type TabCloseInteractionsOptions, type TabPinnedStateSource, type ThresholdPointerDragFinishReason, type ThresholdPointerDragSession, type ThresholdPointerDragSessionOptions, applyAnchoredResizeDelta, beginAnchoredResize, createPersistentSizeStore, hashSlotHue, installPointerDragSession, installPointerReorderSession, installThresholdPointerDragSession, isSlotDebugEnabled, useDockLayoutControlBinding, useLiveTabPlacement, useLiveTabTitle, useLocalSize, usePersistentSizeStore, useTabCloseInteractions, useTabPinnedState };
|
package/dist/react.js
CHANGED
|
@@ -1485,6 +1485,32 @@ var DockTabAction = forwardRef(
|
|
|
1485
1485
|
}
|
|
1486
1486
|
);
|
|
1487
1487
|
DockTabAction.displayName = "DockTabAction";
|
|
1488
|
+
var DockTabIcon = forwardRef(
|
|
1489
|
+
function DockTabIcon2({ className, ...props }, ref) {
|
|
1490
|
+
return /* @__PURE__ */ jsx3(
|
|
1491
|
+
"span",
|
|
1492
|
+
{
|
|
1493
|
+
...props,
|
|
1494
|
+
ref,
|
|
1495
|
+
className: joinClassName("fx-dock-tab-icon", className)
|
|
1496
|
+
}
|
|
1497
|
+
);
|
|
1498
|
+
}
|
|
1499
|
+
);
|
|
1500
|
+
DockTabIcon.displayName = "DockTabIcon";
|
|
1501
|
+
var DockTabTitle = forwardRef(
|
|
1502
|
+
function DockTabTitle2({ className, ...props }, ref) {
|
|
1503
|
+
return /* @__PURE__ */ jsx3(
|
|
1504
|
+
"span",
|
|
1505
|
+
{
|
|
1506
|
+
...props,
|
|
1507
|
+
ref,
|
|
1508
|
+
className: joinClassName("fx-dock-tab-title", className)
|
|
1509
|
+
}
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1512
|
+
);
|
|
1513
|
+
DockTabTitle.displayName = "DockTabTitle";
|
|
1488
1514
|
|
|
1489
1515
|
// src/dock-tab-status-summary.tsx
|
|
1490
1516
|
import {
|
|
@@ -1875,7 +1901,9 @@ export {
|
|
|
1875
1901
|
DockLayoutMenu,
|
|
1876
1902
|
DockTabAction,
|
|
1877
1903
|
DockTabFrame,
|
|
1904
|
+
DockTabIcon,
|
|
1878
1905
|
DockTabStatusSummary,
|
|
1906
|
+
DockTabTitle,
|
|
1879
1907
|
FloatingMenu,
|
|
1880
1908
|
PanelEmptyState,
|
|
1881
1909
|
PanelSurface,
|