@patternmode/stacksheet 1.3.4 → 1.3.6
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 +1 -5
- package/dist/Drag/{DragConstants.d.ts → drag-constants.d.ts} +1 -1
- package/dist/Drag/drag-constants.d.ts.map +1 -0
- package/dist/Drag/drag-geometry.d.ts +22 -0
- package/dist/Drag/drag-geometry.d.ts.map +1 -0
- package/dist/Drag/{DragTypes.d.ts → drag-types.d.ts} +1 -1
- package/dist/Drag/drag-types.d.ts.map +1 -0
- package/dist/Drag/{useDrag.d.ts → use-drag.d.ts} +4 -4
- package/dist/Drag/use-drag.d.ts.map +1 -0
- package/dist/SheetPanel/default-header.d.ts +5 -0
- package/dist/SheetPanel/default-header.d.ts.map +1 -0
- package/dist/SheetPanel/sheet-panel-content.d.ts +15 -0
- package/dist/SheetPanel/sheet-panel-content.d.ts.map +1 -0
- package/dist/SheetPanel/sheet-panel-focus.d.ts +8 -0
- package/dist/SheetPanel/sheet-panel-focus.d.ts.map +1 -0
- package/dist/SheetPanel/sheet-panel-handles.d.ts +10 -0
- package/dist/SheetPanel/sheet-panel-handles.d.ts.map +1 -0
- package/dist/SheetPanel/sheet-panel-layout.d.ts +4 -0
- package/dist/SheetPanel/sheet-panel-layout.d.ts.map +1 -0
- package/dist/SheetPanel/{SheetPanelTypes.d.ts → sheet-panel-types.d.ts} +2 -2
- package/dist/SheetPanel/sheet-panel-types.d.ts.map +1 -0
- package/dist/SheetPanel/sheet-panel.d.ts +3 -0
- package/dist/SheetPanel/sheet-panel.d.ts.map +1 -0
- package/dist/SheetParts/sheet-back.d.ts +3 -0
- package/dist/SheetParts/sheet-back.d.ts.map +1 -0
- package/dist/SheetParts/sheet-body.d.ts +3 -0
- package/dist/SheetParts/sheet-body.d.ts.map +1 -0
- package/dist/SheetParts/sheet-close.d.ts +3 -0
- package/dist/SheetParts/sheet-close.d.ts.map +1 -0
- package/dist/SheetParts/sheet-description.d.ts +3 -0
- package/dist/SheetParts/sheet-description.d.ts.map +1 -0
- package/dist/SheetParts/sheet-footer.d.ts +3 -0
- package/dist/SheetParts/sheet-footer.d.ts.map +1 -0
- package/dist/SheetParts/sheet-handle.d.ts +3 -0
- package/dist/SheetParts/sheet-handle.d.ts.map +1 -0
- package/dist/SheetParts/sheet-header.d.ts +3 -0
- package/dist/SheetParts/sheet-header.d.ts.map +1 -0
- package/dist/SheetParts/{SheetPartTypes.d.ts → sheet-part-types.d.ts} +1 -1
- package/dist/SheetParts/sheet-part-types.d.ts.map +1 -0
- package/dist/SheetParts/sheet-parts.d.ts +20 -0
- package/dist/SheetParts/sheet-parts.d.ts.map +1 -0
- package/dist/SheetParts/sheet-title.d.ts +3 -0
- package/dist/SheetParts/sheet-title.d.ts.map +1 -0
- package/dist/Store/{createSheetStore.d.ts → create-sheet-store.d.ts} +3 -3
- package/dist/Store/create-sheet-store.d.ts.map +1 -0
- package/dist/Store/store-args.d.ts +15 -0
- package/dist/Store/store-args.d.ts.map +1 -0
- package/dist/Store/{StoreTypes.d.ts → store-types.d.ts} +3 -4
- package/dist/Store/store-types.d.ts.map +1 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/create.d.ts +1 -1
- package/dist/create.d.ts.map +1 -1
- package/dist/icons.d.ts +2 -2
- package/dist/icons.d.ts.map +1 -1
- package/dist/index.mjs +640 -650
- package/dist/index.mjs.map +1 -1
- package/dist/media.d.ts +2 -2
- package/dist/media.d.ts.map +1 -1
- package/dist/panel-context.d.ts +1 -1
- package/dist/panel-context.d.ts.map +1 -1
- package/dist/parts.d.ts +10 -10
- package/dist/parts.d.ts.map +1 -1
- package/dist/renderer-effects.d.ts +4 -4
- package/dist/renderer-effects.d.ts.map +1 -1
- package/dist/renderer-helpers.d.ts +19 -19
- package/dist/renderer-helpers.d.ts.map +1 -1
- package/dist/renderer.d.ts +7 -6
- package/dist/renderer.d.ts.map +1 -1
- package/dist/sheet-panel.d.ts +2 -2
- package/dist/sheet-panel.d.ts.map +1 -1
- package/dist/snap-points.d.ts +3 -3
- package/dist/snap-points.d.ts.map +1 -1
- package/dist/springs.d.ts +7 -7
- package/dist/stacking.d.ts +6 -6
- package/dist/stacking.d.ts.map +1 -1
- package/dist/store.d.ts +2 -2
- package/dist/store.d.ts.map +1 -1
- package/dist/types.d.ts +5 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +29 -30
- package/dist/Drag/DragConstants.d.ts.map +0 -1
- package/dist/Drag/DragGeometry.d.ts +0 -22
- package/dist/Drag/DragGeometry.d.ts.map +0 -1
- package/dist/Drag/DragTypes.d.ts.map +0 -1
- package/dist/Drag/useDrag.d.ts.map +0 -1
- package/dist/SheetPanel/DefaultHeader.d.ts +0 -5
- package/dist/SheetPanel/DefaultHeader.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanel.d.ts +0 -3
- package/dist/SheetPanel/SheetPanel.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanelContent.d.ts +0 -12
- package/dist/SheetPanel/SheetPanelContent.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanelFocus.d.ts +0 -8
- package/dist/SheetPanel/SheetPanelFocus.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanelHandles.d.ts +0 -10
- package/dist/SheetPanel/SheetPanelHandles.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanelLayout.d.ts +0 -4
- package/dist/SheetPanel/SheetPanelLayout.d.ts.map +0 -1
- package/dist/SheetPanel/SheetPanelTypes.d.ts.map +0 -1
- package/dist/SheetParts/SheetBack.d.ts +0 -3
- package/dist/SheetParts/SheetBack.d.ts.map +0 -1
- package/dist/SheetParts/SheetBody.d.ts +0 -3
- package/dist/SheetParts/SheetBody.d.ts.map +0 -1
- package/dist/SheetParts/SheetClose.d.ts +0 -3
- package/dist/SheetParts/SheetClose.d.ts.map +0 -1
- package/dist/SheetParts/SheetDescription.d.ts +0 -3
- package/dist/SheetParts/SheetDescription.d.ts.map +0 -1
- package/dist/SheetParts/SheetFooter.d.ts +0 -3
- package/dist/SheetParts/SheetFooter.d.ts.map +0 -1
- package/dist/SheetParts/SheetHandle.d.ts +0 -3
- package/dist/SheetParts/SheetHandle.d.ts.map +0 -1
- package/dist/SheetParts/SheetHeader.d.ts +0 -3
- package/dist/SheetParts/SheetHeader.d.ts.map +0 -1
- package/dist/SheetParts/SheetPartTypes.d.ts.map +0 -1
- package/dist/SheetParts/SheetParts.d.ts +0 -28
- package/dist/SheetParts/SheetParts.d.ts.map +0 -1
- package/dist/SheetParts/SheetTitle.d.ts +0 -3
- package/dist/SheetParts/SheetTitle.d.ts.map +0 -1
- package/dist/Store/StoreArgs.d.ts +0 -15
- package/dist/Store/StoreArgs.d.ts.map +0 -1
- package/dist/Store/StoreTypes.d.ts.map +0 -1
- package/dist/Store/createSheetStore.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -64,11 +64,7 @@ function UserProfile({ userId }: { userId: string }) {
|
|
|
64
64
|
function ViewProfileButton() {
|
|
65
65
|
const { open } = useSheet();
|
|
66
66
|
|
|
67
|
-
return (
|
|
68
|
-
<button onClick={() => open(UserProfile, { userId: "u_abc" })}>
|
|
69
|
-
View profile
|
|
70
|
-
</button>
|
|
71
|
-
);
|
|
67
|
+
return <button onClick={() => open(UserProfile, { userId: "u_abc" })}>View profile</button>;
|
|
72
68
|
}
|
|
73
69
|
```
|
|
74
70
|
|
|
@@ -6,4 +6,4 @@ export declare const DEAD_ZONE = 10;
|
|
|
6
6
|
export declare const MAX_ANGLE_DEG = 35;
|
|
7
7
|
/** Rubber-band resistance factor for dragging past resting position */
|
|
8
8
|
export declare const RUBBER_BAND_FACTOR = 0.6;
|
|
9
|
-
//# sourceMappingURL=
|
|
9
|
+
//# sourceMappingURL=drag-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-constants.d.ts","sourceRoot":"","sources":["../../src/Drag/drag-constants.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,eAAO,MAAM,gBAAgB,aAA0D,CAAC;AAExF,kEAAkE;AAClE,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,sEAAsE;AACtE,eAAO,MAAM,aAAa,KAAK,CAAC;AAEhC,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,MAAM,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Side } from "../types";
|
|
2
|
+
import type { DragAxis, DragSign } from "./drag-types";
|
|
3
|
+
export declare const isInteractiveElement: (el: Element) => boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Walk up from `el` to find the nearest scrollable ancestor.
|
|
6
|
+
* Returns null if nothing is scrollable in the dismiss axis.
|
|
7
|
+
*/
|
|
8
|
+
export declare const findScrollableAncestor: (el: Element, axis: DragAxis) => Element | null;
|
|
9
|
+
/**
|
|
10
|
+
* Get the dismiss direction axis and sign for a given side.
|
|
11
|
+
* - right panel → dismiss by dragging right (+x)
|
|
12
|
+
* - left panel → dismiss by dragging left (-x)
|
|
13
|
+
* - bottom panel → dismiss by dragging down (+y)
|
|
14
|
+
*/
|
|
15
|
+
export declare const getDismissAxis: (side: Side) => {
|
|
16
|
+
axis: DragAxis;
|
|
17
|
+
sign: DragSign;
|
|
18
|
+
};
|
|
19
|
+
/** Decide whether a pointer gesture commits as a drag or should be ignored. */
|
|
20
|
+
export declare const commitGesture: (dx: number, dy: number, axis: DragAxis, sign: DragSign, scrollEl: Element | null) => "drag" | "none";
|
|
21
|
+
export declare const getPanelDimension: (panel: HTMLDivElement | null, axis: DragAxis) => number;
|
|
22
|
+
//# sourceMappingURL=drag-geometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-geometry.d.ts","sourceRoot":"","sources":["../../src/Drag/drag-geometry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACvD,eAAO,MAAM,oBAAoB,GAAI,IAAI,OAAO,KAAG,OAelD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,IAAI,OAAO,EAAE,MAAM,QAAQ,KAAG,OAAO,GAAG,IAmB9E,CAAC;AAcF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GACzB,MAAM,IAAI,KACT;IACD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;CAgBhB,CAAC;AA+BF,+EAA+E;AAC/E,eAAO,MAAM,aAAa,GACxB,IAAI,MAAM,EACV,IAAI,MAAM,EACV,MAAM,QAAQ,EACd,MAAM,QAAQ,EACd,UAAU,OAAO,GAAG,IAAI,KACvB,MAAM,GAAG,MASX,CAAC;AACF,eAAO,MAAM,iBAAiB,GAAI,OAAO,cAAc,GAAG,IAAI,EAAE,MAAM,QAAQ,KAAG,MAKhF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-types.d.ts","sourceRoot":"","sources":["../../src/Drag/drag-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,cAAc,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,qEAAqE;IACrE,QAAQ,EAAE,OAAO,CAAC;IAClB,oDAAoD;IACpD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kDAAkD;IAClD,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,iDAAiD;IACjD,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,qDAAqD;IACrD,UAAU,EAAE,OAAO,CAAC;IACpB,uDAAuD;IACvD,IAAI,EAAE,IAAI,CAAC;IACX,oFAAoF;IACpF,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,gEAAgE;IAChE,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,yCAAyC;IACzC,UAAU,EAAE,OAAO,CAAC;IACpB,wDAAwD;IACxD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,CAAC;AACjC,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { DragConfig, DragState } from "./
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
import type { DragConfig, DragState } from "./drag-types";
|
|
3
3
|
/**
|
|
4
4
|
* Hook that manages drag gestures that can dismiss a sheet panel.
|
|
5
5
|
*
|
|
@@ -16,5 +16,5 @@ import type { DragConfig, DragState } from "./DragTypes";
|
|
|
16
16
|
* When `snapHeights` is provided, release targeting uses
|
|
17
17
|
* `findSnapTarget()` instead of the simple threshold check.
|
|
18
18
|
*/
|
|
19
|
-
export declare
|
|
20
|
-
//# sourceMappingURL=
|
|
19
|
+
export declare const useDrag: (panelRef: RefObject<HTMLDivElement | null>, config: DragConfig, onDragUpdate: (state: DragState) => void) => void;
|
|
20
|
+
//# sourceMappingURL=use-drag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-drag.d.ts","sourceRoot":"","sources":["../../src/Drag/use-drag.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO,GAClB,UAAU,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAC1C,QAAQ,UAAU,EAClB,cAAc,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,SAiKzC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { HeaderRenderProps } from "../types";
|
|
2
|
+
export declare const DefaultHeader: ({ isNested, onBack, onClose, className, }: HeaderRenderProps & {
|
|
3
|
+
className?: string;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=default-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-header.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/default-header.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,eAAO,MAAM,aAAa,GAAI,2CAK3B,iBAAiB,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,4CAuBA,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from "react";
|
|
2
|
+
import type { HeaderRenderProps } from "../types";
|
|
3
|
+
export declare const PanelInnerContent: {
|
|
4
|
+
({ isComposable, shouldRender, Content, data, renderHeader, headerProps, headerClassName, }: {
|
|
5
|
+
isComposable: boolean;
|
|
6
|
+
shouldRender: boolean;
|
|
7
|
+
Content: ComponentType<Record<string, unknown>> | undefined;
|
|
8
|
+
data: Record<string, unknown>;
|
|
9
|
+
renderHeader?: false | ((props: HeaderRenderProps) => ReactNode);
|
|
10
|
+
headerProps: HeaderRenderProps;
|
|
11
|
+
headerClassName: string | undefined;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=sheet-panel-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel-content.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,eAAO,MAAM,iBAAiB;iGAQ3B;QACD,YAAY,EAAE,OAAO,CAAC;QACtB,YAAY,EAAE,OAAO,CAAC;QACtB,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;QAC5D,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC9B,YAAY,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,CAAC;QACjE,WAAW,EAAE,iBAAiB,CAAC;QAC/B,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;KACrC;;CAsBA,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from "react";
|
|
2
|
+
export declare const ModalFocusTrap: ({ enabled, active, fallbackRef, children, }: {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
active: boolean;
|
|
5
|
+
fallbackRef: RefObject<HTMLElement | null>;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
8
|
+
//# sourceMappingURL=sheet-panel-focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel-focus.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel-focus.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmClD,eAAO,MAAM,cAAc,GAAI,6CAK5B;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC3C,QAAQ,EAAE,SAAS,CAAC;CACrB,4UAyBA,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Side } from "../types";
|
|
2
|
+
export declare const BottomHandle: ({ onDismiss }: {
|
|
3
|
+
onDismiss?: () => void;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const SideHandle: ({ side, isHovered, onDismiss, }: {
|
|
6
|
+
side: Side;
|
|
7
|
+
isHovered: boolean;
|
|
8
|
+
onDismiss?: () => void;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=sheet-panel-handles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel-handles.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel-handles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY,GAAI,eAAe;IAAE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,4CAUrE,CAAC;AACF,eAAO,MAAM,UAAU,GAAI,iCAIxB;IACD,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,4CAgBA,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { HeaderRenderProps, StacksheetLayout } from "../types";
|
|
3
|
+
export declare const resolvePanelLayout: (layout: StacksheetLayout | undefined, renderHeader?: false | ((props: HeaderRenderProps) => ReactNode)) => StacksheetLayout;
|
|
4
|
+
//# sourceMappingURL=sheet-panel-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel-layout.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpE,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,gBAAgB,GAAG,SAAS,EACpC,eAAe,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,KAC/D,gBAKF,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { SlideValues } from "../stacking";
|
|
|
4
4
|
import type { HeaderRenderProps, ResolvedConfig, SheetItem, Side, StacksheetLayout } from "../types";
|
|
5
5
|
export interface SheetPanelProps {
|
|
6
6
|
activeSnapIndex: number;
|
|
7
|
-
Content: ComponentType<
|
|
7
|
+
Content: ComponentType<Record<string, unknown>> | undefined;
|
|
8
8
|
classNames: ResolvedClassNames;
|
|
9
9
|
close: () => void;
|
|
10
10
|
config: ResolvedConfig;
|
|
@@ -28,4 +28,4 @@ export interface SheetPanelProps {
|
|
|
28
28
|
swipeClose: () => void;
|
|
29
29
|
swipePop: () => void;
|
|
30
30
|
}
|
|
31
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=sheet-panel-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel-types.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,IAAI,EACJ,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,eAAe;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAC5D,UAAU,EAAE,kBAAkB,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,GAAG,EAAE,MAAM,IAAI,CAAC;IAChB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,CAAC;IACjE,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,WAAW,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { SheetPanelProps } from "./sheet-panel-types";
|
|
2
|
+
export declare const SheetPanel: ({ item, index, depth, isTop, isNested, side, config, classNames, Content, shouldRender, pop, close, swipeClose, swipePop, snapHeights, activeSnapIndex, onSnap, layout, renderHeader, slideFrom, slideTarget, spring, stackSpring, prefersReducedMotion, }: SheetPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=sheet-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-panel.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/sheet-panel.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAmF3D,eAAO,MAAM,UAAU,GAAI,4PAyBxB,eAAe,4CAqKjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-back.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-back.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACxE,eAAO,MAAM,SAAS,GAAI,0CAKvB,6BAA6B,mDAoB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-body.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-body.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,eAAO,MAAM,SAAS,GAAI,yCAAyC,cAAc,4CA2BhF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-close.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-close.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACxE,eAAO,MAAM,UAAU,GAAI,0CAKxB,6BAA6B,4CAiB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-description.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-description.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,eAAO,MAAM,gBAAgB,GAAI,yCAAyC,cAAc,4CASvF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-footer.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-footer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,eAAO,MAAM,WAAW,GAAI,yCAAyC,cAAc,4CAQlF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-handle.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-handle.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACxE,eAAO,MAAM,WAAW,GAAI,0CAKzB,6BAA6B,4CAmB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-header.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,eAAO,MAAM,WAAW,GAAI,yCAAyC,cAAc,4CAYlF,CAAC"}
|
|
@@ -19,4 +19,4 @@ export type SheetFooterProps = SheetPartProps;
|
|
|
19
19
|
export type SheetHandleProps = SheetOptionalContentPartProps;
|
|
20
20
|
export type SheetHeaderProps = SheetPartProps;
|
|
21
21
|
export type SheetTitleProps = SheetPartProps;
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=sheet-part-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-part-types.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-part-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,MAAM,cAAc,GAAG,6BAA6B,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAC5C,MAAM,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAC5D,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AACnD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC9C,MAAM,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composable Sheet Parts for building custom Sheet layouts.
|
|
3
|
+
*
|
|
4
|
+
* Use with `layout="composable"` on the provider to opt into composable mode:
|
|
5
|
+
* no auto header or scroll wrapper, full control over the Sheet structure.
|
|
6
|
+
*
|
|
7
|
+
* `Sheet.Title` and `Sheet.Description` are linked to the Panel's
|
|
8
|
+
* `aria-labelledby` and `aria-describedby` via matching IDs.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Sheet: {
|
|
11
|
+
readonly Back: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
readonly Body: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
readonly Close: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
readonly Description: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
readonly Footer: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
readonly Handle: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
readonly Header: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
readonly Title: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=sheet-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-parts.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-parts.ts"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;;;;;;;;;CASR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet-title.d.ts","sourceRoot":"","sources":["../../src/SheetParts/sheet-title.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,eAAO,MAAM,UAAU,GAAI,yCAAyC,cAAc,4CASjF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ResolvedConfig } from "../types";
|
|
2
|
-
import type { SheetStoreBundle } from "./
|
|
2
|
+
import type { SheetStoreBundle } from "./store-types";
|
|
3
3
|
/**
|
|
4
4
|
* Create an isolated Zustand store for a sheet stack instance.
|
|
5
5
|
*
|
|
@@ -11,5 +11,5 @@ import type { SheetStoreBundle } from "./StoreTypes";
|
|
|
11
11
|
* The ad-hoc counter is scoped per instance to prevent identity leaks across
|
|
12
12
|
* multiple `createStacksheet()` calls or test runs.
|
|
13
13
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
//# sourceMappingURL=
|
|
14
|
+
export declare const createSheetStore: <TMap extends object>(config: ResolvedConfig) => SheetStoreBundle<TMap>;
|
|
15
|
+
//# sourceMappingURL=create-sheet-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sheet-store.d.ts","sourceRoot":"","sources":["../../src/Store/create-sheet-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,UAAU,CAAC;AAE1D,OAAO,KAAK,EAA8B,gBAAgB,EAAc,MAAM,eAAe,CAAC;AAC9F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,GAAI,IAAI,SAAS,MAAM,EAClD,QAAQ,cAAc,KACrB,gBAAgB,CAAC,IAAI,CAoLvB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SheetPresentationOptions } from "../types";
|
|
2
|
+
import type { AnyComponent, ResolvedItem } from "./store-types";
|
|
3
|
+
export declare const resolvePresentationOptions: (value: unknown) => SheetPresentationOptions | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Dev-mode warning: detect likely inline arrow functions passed as ad-hoc components.
|
|
6
|
+
* When a new component reference has the same displayName/name as an existing one,
|
|
7
|
+
* it's almost always an inline arrow being re-created every render.
|
|
8
|
+
*/
|
|
9
|
+
export declare const warnInlineComponent: (component: AnyComponent, componentRegistry: Map<AnyComponent, string>, warnedNames: Set<string>) => void;
|
|
10
|
+
/**
|
|
11
|
+
* If `first` is a function (component), register it and return { type, id, data }.
|
|
12
|
+
* Otherwise, pass through the string-based (type, id, data) args unchanged.
|
|
13
|
+
*/
|
|
14
|
+
export declare const resolveArgs: (componentRegistry: Map<AnyComponent, string>, componentMap: Map<string, AnyComponent>, getNextKey: () => string, warnedNames: Set<string>, first: unknown, second: unknown, third: unknown, fourth?: unknown) => ResolvedItem;
|
|
15
|
+
//# sourceMappingURL=store-args.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-args.d.ts","sourceRoot":"","sources":["../../src/Store/store-args.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAUhE,eAAO,MAAM,0BAA0B,GACrC,OAAO,OAAO,KACb,wBAAwB,GAAG,SAS7B,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAC9B,WAAW,YAAY,EACvB,mBAAmB,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,EAC5C,aAAa,GAAG,CAAC,MAAM,CAAC,KACvB,IAyBF,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,WAAW,GACtB,mBAAmB,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,EAC5C,cAAc,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACvC,YAAY,MAAM,MAAM,EACxB,aAAa,GAAG,CAAC,MAAM,CAAC,EACxB,OAAO,OAAO,EACd,QAAQ,OAAO,EACf,OAAO,OAAO,EACd,SAAS,OAAO,KACf,YA+BF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { ComponentType } from "react";
|
|
2
1
|
import type { StoreApi } from "zustand";
|
|
3
|
-
import type { SheetActions, StacksheetSnapshot } from "../types";
|
|
4
|
-
export type AnyComponent =
|
|
2
|
+
import type { SheetActions, SheetContentComponent, StacksheetSnapshot } from "../types";
|
|
3
|
+
export type AnyComponent = SheetContentComponent<Record<string, unknown>>;
|
|
5
4
|
export type StoreState<TMap extends object> = StacksheetSnapshot<TMap> & SheetActions<TMap>;
|
|
6
5
|
/** Return type of createSheetStore — store plus ad-hoc component maps */
|
|
7
6
|
export interface SheetStoreBundle<TMap extends object> {
|
|
@@ -18,4 +17,4 @@ export interface ResolvedItem {
|
|
|
18
17
|
id: string;
|
|
19
18
|
type: string;
|
|
20
19
|
}
|
|
21
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=store-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-types.d.ts","sourceRoot":"","sources":["../../src/Store/store-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAExF,MAAM,MAAM,YAAY,GAAG,qBAAqB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAE1E,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,MAAM,IAAI,kBAAkB,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AAE5F,yEAAyE;AACzE,MAAM,WAAW,gBAAgB,CAAC,IAAI,SAAS,MAAM;IACnD,2DAA2D;IAC3D,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACxC,6CAA6C;IAC7C,iBAAiB,EAAE,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAC7C,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;CACnC;AAED,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ResolvedConfig, StacksheetConfig } from "./types";
|
|
2
2
|
/** Merge user-provided config with defaults. Resolves union types (side, spring) to concrete values. */
|
|
3
|
-
export declare
|
|
3
|
+
export declare const resolveConfig: (config?: StacksheetConfig) => ResolvedConfig;
|
|
4
4
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAKd,gBAAgB,EACjB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EAKd,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAkDjB,wGAAwG;AACxG,eAAO,MAAM,aAAa,GAAI,SAAQ,gBAAqB,KAAG,cAa7D,CAAC"}
|
package/dist/create.d.ts
CHANGED
|
@@ -29,5 +29,5 @@ import type { StacksheetConfig, StacksheetInstance } from "./types";
|
|
|
29
29
|
*
|
|
30
30
|
* Use `useSheetPanel()` inside content components to access `close()` and `back()`.
|
|
31
31
|
*/
|
|
32
|
-
export declare
|
|
32
|
+
export declare const createStacksheet: <TMap extends object>(config?: StacksheetConfig) => StacksheetInstance<TMap>;
|
|
33
33
|
//# sourceMappingURL=create.d.ts.map
|
package/dist/create.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAIV,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAIV,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,gBAAgB,GAAI,IAAI,SAAS,MAAM,EAClD,SAAS,gBAAgB,KACxB,kBAAkB,CAAC,IAAI,CAoEzB,CAAC"}
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Inline SVG icons — no external dependency */
|
|
2
|
-
export declare
|
|
3
|
-
export declare
|
|
2
|
+
export declare const ArrowLeftIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const XIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=icons.d.ts.map
|
package/dist/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAAA,gDAAgD;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,eAAO,MAAM,aAAa,+CAczB,CAAC;AACF,eAAO,MAAM,KAAK,+CAcjB,CAAC"}
|