@patternmode/stacksheet 1.3.6 → 1.3.7
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/Drag/drag-geometry.d.ts.map +1 -1
- package/dist/Drag/use-drag.d.ts.map +1 -1
- package/dist/SheetPanel/default-header.d.ts +1 -1
- package/dist/SheetPanel/default-header.d.ts.map +1 -1
- package/dist/SheetPanel/sheet-panel-content.d.ts +1 -1
- package/dist/SheetPanel/sheet-panel-content.d.ts.map +1 -1
- package/dist/SheetPanel/sheet-panel-focus.d.ts +1 -1
- package/dist/SheetPanel/sheet-panel-focus.d.ts.map +1 -1
- package/dist/SheetPanel/sheet-panel-handles.d.ts +2 -2
- package/dist/SheetPanel/sheet-panel-handles.d.ts.map +1 -1
- package/dist/SheetPanel/sheet-panel-layout.d.ts.map +1 -1
- package/dist/SheetPanel/sheet-panel.d.ts +1 -1
- package/dist/SheetPanel/sheet-panel.d.ts.map +1 -1
- package/dist/SheetParts/sheet-back.d.ts +1 -1
- package/dist/SheetParts/sheet-back.d.ts.map +1 -1
- package/dist/SheetParts/sheet-body.d.ts +1 -1
- package/dist/SheetParts/sheet-body.d.ts.map +1 -1
- package/dist/SheetParts/sheet-close.d.ts +1 -1
- package/dist/SheetParts/sheet-close.d.ts.map +1 -1
- package/dist/SheetParts/sheet-description.d.ts +1 -1
- package/dist/SheetParts/sheet-description.d.ts.map +1 -1
- package/dist/SheetParts/sheet-footer.d.ts +1 -1
- package/dist/SheetParts/sheet-footer.d.ts.map +1 -1
- package/dist/SheetParts/sheet-handle.d.ts +1 -1
- package/dist/SheetParts/sheet-handle.d.ts.map +1 -1
- package/dist/SheetParts/sheet-header.d.ts +1 -1
- package/dist/SheetParts/sheet-header.d.ts.map +1 -1
- package/dist/SheetParts/sheet-parts.d.ts +8 -8
- package/dist/SheetParts/sheet-title.d.ts +1 -1
- package/dist/SheetParts/sheet-title.d.ts.map +1 -1
- package/dist/Store/create-sheet-store.d.ts.map +1 -1
- package/dist/Store/store-args.d.ts +11 -0
- package/dist/Store/store-args.d.ts.map +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 +598 -415
- package/dist/index.mjs.map +1 -1
- package/dist/media.d.ts.map +1 -1
- package/dist/panel-context.d.ts.map +1 -1
- package/dist/renderer-effects.d.ts.map +1 -1
- package/dist/renderer-helpers.d.ts.map +1 -1
- package/dist/renderer.d.ts +2 -2
- package/dist/renderer.d.ts.map +1 -1
- package/dist/snap-points.d.ts.map +1 -1
- package/dist/springs.d.ts +11 -17
- package/dist/springs.d.ts.map +1 -1
- package/dist/stacking.d.ts +2 -2
- package/dist/stacking.d.ts.map +1 -1
- package/dist/types.d.ts +26 -32
- package/dist/types.d.ts.map +1 -1
- package/package.json +13 -12
|
@@ -1 +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;
|
|
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;AAEvD,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"}
|
|
@@ -1 +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;
|
|
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;AAmI1D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO,GAClB,UAAU,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAC1C,QAAQ,UAAU,EAClB,cAAc,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,SAyDzC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HeaderRenderProps } from "../types";
|
|
2
2
|
export declare const DefaultHeader: ({ isNested, onBack, onClose, className, }: HeaderRenderProps & {
|
|
3
3
|
className?: string;
|
|
4
|
-
}) => import("react
|
|
4
|
+
}) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=default-header.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAElD,eAAO,MAAM,aAAa,GAAI,2CAK3B,iBAAiB,GAAG;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,gCAuBA,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const PanelInnerContent: {
|
|
|
9
9
|
renderHeader?: false | ((props: HeaderRenderProps) => ReactNode);
|
|
10
10
|
headerProps: HeaderRenderProps;
|
|
11
11
|
headerClassName: string | undefined;
|
|
12
|
-
}): import("react
|
|
12
|
+
}): import("react").JSX.Element | null;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=sheet-panel-content.d.ts.map
|
|
@@ -1 +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;;
|
|
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;;CAwBA,CAAC"}
|
|
@@ -4,5 +4,5 @@ export declare const ModalFocusTrap: ({ enabled, active, fallbackRef, children,
|
|
|
4
4
|
active: boolean;
|
|
5
5
|
fallbackRef: RefObject<HTMLElement | null>;
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
}) =>
|
|
7
|
+
}) => ReactNode;
|
|
8
8
|
//# sourceMappingURL=sheet-panel-focus.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAsClD,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,KAAG,SAyBH,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Side } from "../types";
|
|
2
2
|
export declare const BottomHandle: ({ onDismiss }: {
|
|
3
3
|
onDismiss?: () => void;
|
|
4
|
-
}) => import("react
|
|
4
|
+
}) => import("react").JSX.Element;
|
|
5
5
|
export declare const SideHandle: ({ side, isHovered, onDismiss, }: {
|
|
6
6
|
side: Side;
|
|
7
7
|
isHovered: boolean;
|
|
8
8
|
onDismiss?: () => void;
|
|
9
|
-
}) => import("react
|
|
9
|
+
}) => import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=sheet-panel-handles.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAErC,eAAO,MAAM,YAAY,GAAI,eAAe;IAAE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,gCAUrE,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,gCAgBA,CAAC"}
|
|
@@ -1 +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;
|
|
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;AAEpE,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,gBAAgB,GAAG,SAAS,EACpC,eAAe,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,KAC/D,gBAKF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPanelProps } from "./sheet-panel-types";
|
|
2
|
-
export declare const SheetPanel: (
|
|
2
|
+
export declare const SheetPanel: (props: SheetPanelProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-panel.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAqR3D,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,gCAiFhD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetOptionalContentPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetBack: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react
|
|
2
|
+
export declare const SheetBack: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=sheet-back.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAExE,eAAO,MAAM,SAAS,GAAI,0CAKvB,6BAA6B,uCAqB/B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetBody: ({ asChild, className, style, children }: SheetPartProps) => import("react
|
|
2
|
+
export declare const SheetBody: ({ asChild, className, style, children }: SheetPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-body.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAEzD,eAAO,MAAM,SAAS,GAAI,yCAAyC,cAAc,gCA2BhF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetOptionalContentPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetClose: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react
|
|
2
|
+
export declare const SheetClose: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-close.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAExE,eAAO,MAAM,UAAU,GAAI,0CAKxB,6BAA6B,gCAkB/B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetDescription: ({ asChild, className, style, children }: SheetPartProps) => import("react
|
|
2
|
+
export declare const SheetDescription: ({ asChild, className, style, children }: SheetPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-description.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAEzD,eAAO,MAAM,gBAAgB,GAAI,yCAAyC,cAAc,gCAUvF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetFooter: ({ asChild, className, style, children }: SheetPartProps) => import("react
|
|
2
|
+
export declare const SheetFooter: ({ asChild, className, style, children }: SheetPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-footer.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAEzD,eAAO,MAAM,WAAW,GAAI,yCAAyC,cAAc,gCASlF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetOptionalContentPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetHandle: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react
|
|
2
|
+
export declare const SheetHandle: ({ asChild, className, style, children, }: SheetOptionalContentPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-handle.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAExE,eAAO,MAAM,WAAW,GAAI,0CAKzB,6BAA6B,gCAoB/B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetHeader: ({ asChild, className, style, children }: SheetPartProps) => import("react
|
|
2
|
+
export declare const SheetHeader: ({ asChild, className, style, children }: SheetPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-header.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAEzD,eAAO,MAAM,WAAW,GAAI,yCAAyC,cAAc,gCAalF,CAAC"}
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
* `aria-labelledby` and `aria-describedby` via matching IDs.
|
|
9
9
|
*/
|
|
10
10
|
export declare const Sheet: {
|
|
11
|
-
readonly Back: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react
|
|
12
|
-
readonly Body: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react
|
|
13
|
-
readonly Close: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react
|
|
14
|
-
readonly Description: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react
|
|
15
|
-
readonly Footer: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react
|
|
16
|
-
readonly Handle: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react
|
|
17
|
-
readonly Header: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react
|
|
18
|
-
readonly Title: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react
|
|
11
|
+
readonly Back: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react").JSX.Element | null;
|
|
12
|
+
readonly Body: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react").JSX.Element;
|
|
13
|
+
readonly Close: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react").JSX.Element;
|
|
14
|
+
readonly Description: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react").JSX.Element;
|
|
15
|
+
readonly Footer: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react").JSX.Element;
|
|
16
|
+
readonly Handle: ({ asChild, className, style, children, }: import("./sheet-part-types").SheetOptionalContentPartProps) => import("react").JSX.Element;
|
|
17
|
+
readonly Header: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react").JSX.Element;
|
|
18
|
+
readonly Title: ({ asChild, className, style, children }: import("./sheet-part-types").SheetPartProps) => import("react").JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=sheet-parts.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SheetPartProps } from "./sheet-part-types";
|
|
2
|
-
export declare const SheetTitle: ({ asChild, className, style, children }: SheetPartProps) => import("react
|
|
2
|
+
export declare const SheetTitle: ({ asChild, className, style, children }: SheetPartProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=sheet-title.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAEzD,eAAO,MAAM,UAAU,GAAI,yCAAyC,cAAc,gCAUjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sheet-store.d.ts","sourceRoot":"","sources":["../../src/Store/create-sheet-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sheet-store.d.ts","sourceRoot":"","sources":["../../src/Store/create-sheet-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,UAAU,CAAC;AAS1D,OAAO,KAAK,EAA8B,gBAAgB,EAAc,MAAM,eAAe,CAAC;AA2N9F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,GAAI,IAAI,SAAS,MAAM,EAClD,QAAQ,cAAc,KACrB,gBAAgB,CAAC,IAAI,CA6CvB,CAAC"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { SheetPresentationOptions } from "../types";
|
|
2
2
|
import type { AnyComponent, ResolvedItem } from "./store-types";
|
|
3
|
+
declare global {
|
|
4
|
+
var process: undefined | {
|
|
5
|
+
env?: {
|
|
6
|
+
NODE_ENV?: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const toRecord: (value: unknown) => Record<string, unknown>;
|
|
11
|
+
export declare const isComponent: (value: unknown) => value is AnyComponent;
|
|
12
|
+
export declare const getStringArg: (value: unknown, name: string) => string;
|
|
3
13
|
export declare const resolvePresentationOptions: (value: unknown) => SheetPresentationOptions | undefined;
|
|
4
14
|
/**
|
|
5
15
|
* Dev-mode warning: detect likely inline arrow functions passed as ad-hoc components.
|
|
@@ -7,6 +17,7 @@ export declare const resolvePresentationOptions: (value: unknown) => SheetPresen
|
|
|
7
17
|
* it's almost always an inline arrow being re-created every render.
|
|
8
18
|
*/
|
|
9
19
|
export declare const warnInlineComponent: (component: AnyComponent, componentRegistry: Map<AnyComponent, string>, warnedNames: Set<string>) => void;
|
|
20
|
+
export declare const registerComponent: (component: AnyComponent, componentRegistry: Map<AnyComponent, string>, componentMap: Map<string, AnyComponent>, getNextKey: () => string, warnedNames: Set<string>) => string;
|
|
10
21
|
/**
|
|
11
22
|
* If `first` is a function (component), register it and return { type, id, data }.
|
|
12
23
|
* Otherwise, pass through the string-based (type, id, data) args unchanged.
|
|
@@ -1 +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;
|
|
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;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,OAAO,EACP,SAAS,GACT;QACE,GAAG,CAAC,EAAE;YACJ,QAAQ,CAAC,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;CACP;AAKD,eAAO,MAAM,QAAQ,GAAI,OAAO,OAAO,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAmC,CAAC;AAEpG,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,YAA2C,CAAC;AASlG,eAAO,MAAM,YAAY,GAAI,OAAO,OAAO,EAAE,MAAM,MAAM,KAAG,MAK3D,CAAC;AAEF,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;AAEF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,YAAY,EACvB,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,KACvB,MAWF,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,YA8BF,CAAC"}
|
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,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../src/create.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAGV,gBAAgB,EAChB,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AAGjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,gBAAgB,GAAI,IAAI,SAAS,MAAM,EAClD,SAAS,gBAAgB,KACxB,kBAAkB,CAAC,IAAI,CAmEzB,CAAC"}
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Inline SVG icons — no external dependency */
|
|
2
|
-
export declare const ArrowLeftIcon: () => import("react
|
|
3
|
-
export declare const XIcon: () => import("react
|
|
2
|
+
export declare const ArrowLeftIcon: () => import("react").JSX.Element;
|
|
3
|
+
export declare const XIcon: () => import("react").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;AAChD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,eAAO,MAAM,aAAa,mCAczB,CAAC;AACF,eAAO,MAAM,KAAK,mCAcjB,CAAC"}
|