@patternmode/stacksheet 1.3.5 → 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.
Files changed (123) hide show
  1. package/README.md +2 -8
  2. package/dist/Drag/{DragConstants.d.ts → drag-constants.d.ts} +1 -1
  3. package/dist/Drag/drag-constants.d.ts.map +1 -0
  4. package/dist/Drag/drag-geometry.d.ts +22 -0
  5. package/dist/Drag/drag-geometry.d.ts.map +1 -0
  6. package/dist/Drag/{DragTypes.d.ts → drag-types.d.ts} +1 -1
  7. package/dist/Drag/drag-types.d.ts.map +1 -0
  8. package/dist/Drag/{useDrag.d.ts → use-drag.d.ts} +4 -4
  9. package/dist/Drag/use-drag.d.ts.map +1 -0
  10. package/dist/SheetPanel/default-header.d.ts +5 -0
  11. package/dist/SheetPanel/default-header.d.ts.map +1 -0
  12. package/dist/SheetPanel/sheet-panel-content.d.ts +15 -0
  13. package/dist/SheetPanel/sheet-panel-content.d.ts.map +1 -0
  14. package/dist/SheetPanel/sheet-panel-focus.d.ts +8 -0
  15. package/dist/SheetPanel/sheet-panel-focus.d.ts.map +1 -0
  16. package/dist/SheetPanel/sheet-panel-handles.d.ts +10 -0
  17. package/dist/SheetPanel/sheet-panel-handles.d.ts.map +1 -0
  18. package/dist/SheetPanel/sheet-panel-layout.d.ts +4 -0
  19. package/dist/SheetPanel/sheet-panel-layout.d.ts.map +1 -0
  20. package/dist/SheetPanel/{SheetPanelTypes.d.ts → sheet-panel-types.d.ts} +2 -2
  21. package/dist/SheetPanel/sheet-panel-types.d.ts.map +1 -0
  22. package/dist/SheetPanel/sheet-panel.d.ts +3 -0
  23. package/dist/SheetPanel/sheet-panel.d.ts.map +1 -0
  24. package/dist/SheetParts/sheet-back.d.ts +3 -0
  25. package/dist/SheetParts/sheet-back.d.ts.map +1 -0
  26. package/dist/SheetParts/sheet-body.d.ts +3 -0
  27. package/dist/SheetParts/sheet-body.d.ts.map +1 -0
  28. package/dist/SheetParts/sheet-close.d.ts +3 -0
  29. package/dist/SheetParts/sheet-close.d.ts.map +1 -0
  30. package/dist/SheetParts/sheet-description.d.ts +3 -0
  31. package/dist/SheetParts/sheet-description.d.ts.map +1 -0
  32. package/dist/SheetParts/sheet-footer.d.ts +3 -0
  33. package/dist/SheetParts/sheet-footer.d.ts.map +1 -0
  34. package/dist/SheetParts/sheet-handle.d.ts +3 -0
  35. package/dist/SheetParts/sheet-handle.d.ts.map +1 -0
  36. package/dist/SheetParts/sheet-header.d.ts +3 -0
  37. package/dist/SheetParts/sheet-header.d.ts.map +1 -0
  38. package/dist/SheetParts/{SheetPartTypes.d.ts → sheet-part-types.d.ts} +1 -1
  39. package/dist/SheetParts/sheet-part-types.d.ts.map +1 -0
  40. package/dist/SheetParts/sheet-parts.d.ts +20 -0
  41. package/dist/SheetParts/sheet-parts.d.ts.map +1 -0
  42. package/dist/SheetParts/sheet-title.d.ts +3 -0
  43. package/dist/SheetParts/sheet-title.d.ts.map +1 -0
  44. package/dist/Store/{createSheetStore.d.ts → create-sheet-store.d.ts} +3 -3
  45. package/dist/Store/create-sheet-store.d.ts.map +1 -0
  46. package/dist/Store/store-args.d.ts +26 -0
  47. package/dist/Store/store-args.d.ts.map +1 -0
  48. package/dist/Store/{StoreTypes.d.ts → store-types.d.ts} +3 -4
  49. package/dist/Store/store-types.d.ts.map +1 -0
  50. package/dist/config.d.ts +1 -1
  51. package/dist/config.d.ts.map +1 -1
  52. package/dist/create.d.ts +1 -1
  53. package/dist/create.d.ts.map +1 -1
  54. package/dist/icons.d.ts +2 -2
  55. package/dist/icons.d.ts.map +1 -1
  56. package/dist/index.mjs +1066 -893
  57. package/dist/index.mjs.map +1 -1
  58. package/dist/media.d.ts +2 -2
  59. package/dist/media.d.ts.map +1 -1
  60. package/dist/panel-context.d.ts +1 -1
  61. package/dist/panel-context.d.ts.map +1 -1
  62. package/dist/parts.d.ts +10 -10
  63. package/dist/parts.d.ts.map +1 -1
  64. package/dist/renderer-effects.d.ts +4 -4
  65. package/dist/renderer-effects.d.ts.map +1 -1
  66. package/dist/renderer-helpers.d.ts +19 -19
  67. package/dist/renderer-helpers.d.ts.map +1 -1
  68. package/dist/renderer.d.ts +8 -7
  69. package/dist/renderer.d.ts.map +1 -1
  70. package/dist/sheet-panel.d.ts +2 -2
  71. package/dist/sheet-panel.d.ts.map +1 -1
  72. package/dist/snap-points.d.ts +3 -3
  73. package/dist/snap-points.d.ts.map +1 -1
  74. package/dist/springs.d.ts +11 -17
  75. package/dist/springs.d.ts.map +1 -1
  76. package/dist/stacking.d.ts +6 -6
  77. package/dist/stacking.d.ts.map +1 -1
  78. package/dist/store.d.ts +2 -2
  79. package/dist/store.d.ts.map +1 -1
  80. package/dist/types.d.ts +31 -35
  81. package/dist/types.d.ts.map +1 -1
  82. package/package.json +13 -12
  83. package/dist/Drag/DragConstants.d.ts.map +0 -1
  84. package/dist/Drag/DragGeometry.d.ts +0 -22
  85. package/dist/Drag/DragGeometry.d.ts.map +0 -1
  86. package/dist/Drag/DragTypes.d.ts.map +0 -1
  87. package/dist/Drag/useDrag.d.ts.map +0 -1
  88. package/dist/SheetPanel/DefaultHeader.d.ts +0 -5
  89. package/dist/SheetPanel/DefaultHeader.d.ts.map +0 -1
  90. package/dist/SheetPanel/SheetPanel.d.ts +0 -3
  91. package/dist/SheetPanel/SheetPanel.d.ts.map +0 -1
  92. package/dist/SheetPanel/SheetPanelContent.d.ts +0 -12
  93. package/dist/SheetPanel/SheetPanelContent.d.ts.map +0 -1
  94. package/dist/SheetPanel/SheetPanelFocus.d.ts +0 -8
  95. package/dist/SheetPanel/SheetPanelFocus.d.ts.map +0 -1
  96. package/dist/SheetPanel/SheetPanelHandles.d.ts +0 -10
  97. package/dist/SheetPanel/SheetPanelHandles.d.ts.map +0 -1
  98. package/dist/SheetPanel/SheetPanelLayout.d.ts +0 -4
  99. package/dist/SheetPanel/SheetPanelLayout.d.ts.map +0 -1
  100. package/dist/SheetPanel/SheetPanelTypes.d.ts.map +0 -1
  101. package/dist/SheetParts/SheetBack.d.ts +0 -3
  102. package/dist/SheetParts/SheetBack.d.ts.map +0 -1
  103. package/dist/SheetParts/SheetBody.d.ts +0 -3
  104. package/dist/SheetParts/SheetBody.d.ts.map +0 -1
  105. package/dist/SheetParts/SheetClose.d.ts +0 -3
  106. package/dist/SheetParts/SheetClose.d.ts.map +0 -1
  107. package/dist/SheetParts/SheetDescription.d.ts +0 -3
  108. package/dist/SheetParts/SheetDescription.d.ts.map +0 -1
  109. package/dist/SheetParts/SheetFooter.d.ts +0 -3
  110. package/dist/SheetParts/SheetFooter.d.ts.map +0 -1
  111. package/dist/SheetParts/SheetHandle.d.ts +0 -3
  112. package/dist/SheetParts/SheetHandle.d.ts.map +0 -1
  113. package/dist/SheetParts/SheetHeader.d.ts +0 -3
  114. package/dist/SheetParts/SheetHeader.d.ts.map +0 -1
  115. package/dist/SheetParts/SheetPartTypes.d.ts.map +0 -1
  116. package/dist/SheetParts/SheetParts.d.ts +0 -28
  117. package/dist/SheetParts/SheetParts.d.ts.map +0 -1
  118. package/dist/SheetParts/SheetTitle.d.ts +0 -3
  119. package/dist/SheetParts/SheetTitle.d.ts.map +0 -1
  120. package/dist/Store/StoreArgs.d.ts +0 -15
  121. package/dist/Store/StoreArgs.d.ts.map +0 -1
  122. package/dist/Store/StoreTypes.d.ts.map +0 -1
  123. package/dist/Store/createSheetStore.d.ts.map +0 -1
@@ -1,22 +0,0 @@
1
- import type { Side } from "../types";
2
- import type { DragAxis, DragSign } from "./DragTypes";
3
- export declare function 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 function 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 function 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 function commitGesture(dx: number, dy: number, axis: DragAxis, sign: DragSign, scrollEl: Element | null): "drag" | "none";
21
- export declare function getPanelDimension(panel: HTMLDivElement | null, axis: DragAxis): number;
22
- //# sourceMappingURL=DragGeometry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DragGeometry.d.ts","sourceRoot":"","sources":["../../src/Drag/DragGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEtD,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,OAAO,GAAG,OAAO,CAezD;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,EAAE,EAAE,OAAO,EACX,IAAI,EAAE,QAAQ,GACb,OAAO,GAAG,IAAI,CAmBhB;AAoBD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG;IAC1C,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;CAChB,CAWA;AAqCD,+EAA+E;AAC/E,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,OAAO,GAAG,IAAI,GACvB,MAAM,GAAG,MAAM,CASjB;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,cAAc,GAAG,IAAI,EAC5B,IAAI,EAAE,QAAQ,GACb,MAAM,CAKR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DragTypes.d.ts","sourceRoot":"","sources":["../../src/Drag/DragTypes.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 +0,0 @@
1
- {"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../src/Drag/useDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAkC,MAAM,OAAO,CAAC;AAWvE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEzD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,OAAO,CACrB,QAAQ,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAC1C,MAAM,EAAE,UAAU,EAClB,YAAY,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,QA8MzC"}
@@ -1,5 +0,0 @@
1
- import type { HeaderRenderProps } from "../types";
2
- export declare function DefaultHeader({ isNested, onBack, onClose, className, }: HeaderRenderProps & {
3
- className?: string;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=DefaultHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultHeader.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/DefaultHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,iBAAiB,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CA2B5C"}
@@ -1,3 +0,0 @@
1
- import type { SheetPanelProps } from "./SheetPanelTypes";
2
- export declare const SheetPanel: import("react").MemoExoticComponent<({ 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=SheetPanel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanel.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanel.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,eAAO,MAAM,UAAU,mSAyBpB,eAAe,6CAoNhB,CAAC"}
@@ -1,12 +0,0 @@
1
- import { type ComponentType, type ReactNode } from "react";
2
- import type { HeaderRenderProps } from "../types";
3
- export declare const PanelInnerContent: import("react").MemoExoticComponent<({ isComposable, shouldRender, Content, data, renderHeader, headerProps, headerClassName, }: {
4
- isComposable: boolean;
5
- shouldRender: boolean;
6
- Content: ComponentType<any> | undefined;
7
- data: Record<string, unknown>;
8
- renderHeader?: false | ((props: HeaderRenderProps) => ReactNode);
9
- headerProps: HeaderRenderProps;
10
- headerClassName: string | undefined;
11
- }) => import("react/jsx-runtime").JSX.Element | null>;
12
- //# sourceMappingURL=SheetPanelContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanelContent.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanelContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,eAAO,MAAM,iBAAiB,mIAQ3B;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IAEtB,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,CAAC;IACjE,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,oDAsBC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ReactNode, RefObject } from "react";
2
- export declare function 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=SheetPanelFocus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanelFocus.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanelFocus.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUlD,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,WAAW,EACX,QAAQ,GACT,EAAE;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,2UA8BA"}
@@ -1,10 +0,0 @@
1
- import type { Side } from "../types";
2
- export declare function BottomHandle({ onDismiss }: {
3
- onDismiss?: () => void;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- export declare function SideHandle({ side, isHovered, onDismiss, }: {
6
- side: Side;
7
- isHovered: boolean;
8
- onDismiss?: () => void;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=SheetPanelHandles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanelHandles.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanelHandles.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2CAerE;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,SAAS,EACT,SAAS,GACV,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,2CAyBA"}
@@ -1,4 +0,0 @@
1
- import type { ReactNode } from "react";
2
- import type { HeaderRenderProps, StacksheetLayout } from "../types";
3
- export declare function resolvePanelLayout(layout: StacksheetLayout | undefined, renderHeader?: false | ((props: HeaderRenderProps) => ReactNode)): StacksheetLayout;
4
- //# sourceMappingURL=SheetPanelLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanelLayout.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanelLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEpE,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,gBAAgB,GAAG,SAAS,EACpC,YAAY,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,SAAS,CAAC,GAC/D,gBAAgB,CAKlB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPanelTypes.d.ts","sourceRoot":"","sources":["../../src/SheetPanel/SheetPanelTypes.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;IAExB,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACxC,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"}
@@ -1,3 +0,0 @@
1
- import type { SheetOptionalContentPartProps } from "./SheetPartTypes";
2
- export declare function SheetBack({ asChild, className, style, children, }: SheetOptionalContentPartProps): import("react/jsx-runtime").JSX.Element | null;
3
- //# sourceMappingURL=SheetBack.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetBack.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetBack.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAEtE,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,kDAsB/B"}
@@ -1,3 +0,0 @@
1
- import type { SheetPartProps } from "./SheetPartTypes";
2
- export declare function SheetBody({ asChild, className, style, children, }: SheetPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetBody.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetBody.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetBody.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,cAAc,2CAkChB"}
@@ -1,3 +0,0 @@
1
- import type { SheetOptionalContentPartProps } from "./SheetPartTypes";
2
- export declare function SheetClose({ asChild, className, style, children, }: SheetOptionalContentPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetClose.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetClose.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetClose.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAEtE,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,2CAiB/B"}
@@ -1,3 +0,0 @@
1
- import type { SheetPartProps } from "./SheetPartTypes";
2
- export declare function SheetDescription({ asChild, className, style, children, }: SheetPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetDescription.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetDescription.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetDescription.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,cAAc,2CAUhB"}
@@ -1,3 +0,0 @@
1
- import type { SheetPartProps } from "./SheetPartTypes";
2
- export declare function SheetFooter({ asChild, className, style, children, }: SheetPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetFooter.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetFooter.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,cAAc,2CAUhB"}
@@ -1,3 +0,0 @@
1
- import type { SheetOptionalContentPartProps } from "./SheetPartTypes";
2
- export declare function SheetHandle({ asChild, className, style, children, }: SheetOptionalContentPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetHandle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetHandle.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetHandle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAEtE,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,2CA4B/B"}
@@ -1,3 +0,0 @@
1
- import type { SheetPartProps } from "./SheetPartTypes";
2
- export declare function SheetHeader({ asChild, className, style, children, }: SheetPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetHeader.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,cAAc,2CAYhB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetPartTypes.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetPartTypes.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"}
@@ -1,28 +0,0 @@
1
- import { SheetBack } from "./SheetBack";
2
- import { SheetBody } from "./SheetBody";
3
- import { SheetClose } from "./SheetClose";
4
- import { SheetDescription } from "./SheetDescription";
5
- import { SheetFooter } from "./SheetFooter";
6
- import { SheetHandle } from "./SheetHandle";
7
- import { SheetHeader } from "./SheetHeader";
8
- import { SheetTitle } from "./SheetTitle";
9
- /**
10
- * Composable Sheet Parts for building custom Sheet layouts.
11
- *
12
- * Use with `layout="composable"` on the provider to opt into composable mode:
13
- * no auto header or scroll wrapper, full control over the Sheet structure.
14
- *
15
- * `Sheet.Title` and `Sheet.Description` are linked to the Panel's
16
- * `aria-labelledby` and `aria-describedby` via matching IDs.
17
- */
18
- export declare const Sheet: {
19
- readonly Back: typeof SheetBack;
20
- readonly Body: typeof SheetBody;
21
- readonly Close: typeof SheetClose;
22
- readonly Description: typeof SheetDescription;
23
- readonly Footer: typeof SheetFooter;
24
- readonly Handle: typeof SheetHandle;
25
- readonly Header: typeof SheetHeader;
26
- readonly Title: typeof SheetTitle;
27
- };
28
- //# sourceMappingURL=SheetParts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetParts.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetParts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;;;;;;;;;CASR,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { SheetPartProps } from "./SheetPartTypes";
2
- export declare function SheetTitle({ asChild, className, style, children, }: SheetPartProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=SheetTitle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SheetTitle.d.ts","sourceRoot":"","sources":["../../src/SheetParts/SheetTitle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,SAAS,EACT,KAAK,EACL,QAAQ,GACT,EAAE,cAAc,2CAahB"}
@@ -1,15 +0,0 @@
1
- import type { SheetPresentationOptions } from "../types";
2
- import type { AnyComponent, ResolvedItem } from "./StoreTypes";
3
- export declare function 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 function 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 function 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=StoreArgs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoreArgs.d.ts","sourceRoot":"","sources":["../../src/Store/StoreArgs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE/D,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,OAAO,GACb,wBAAwB,GAAG,SAAS,CAYtC;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,YAAY,EACvB,iBAAiB,EAAE,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,EAC5C,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,IAAI,CA8BN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CACzB,iBAAiB,EAAE,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,EAC5C,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,EACvC,UAAU,EAAE,MAAM,MAAM,EACxB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,OAAO,EACd,MAAM,CAAC,EAAE,OAAO,GACf,YAAY,CAkCd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoreTypes.d.ts","sourceRoot":"","sources":["../../src/Store/StoreTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGjE,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AAE9C,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,MAAM,IAAI,kBAAkB,CAAC,IAAI,CAAC,GACpE,YAAY,CAAC,IAAI,CAAC,CAAC;AAErB,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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"createSheetStore.d.ts","sourceRoot":"","sources":["../../src/Store/createSheetStore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,UAAU,CAAC;AAM1D,OAAO,KAAK,EAGV,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAEtB;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,SAAS,MAAM,EAClD,MAAM,EAAE,cAAc,GACrB,gBAAgB,CAAC,IAAI,CAAC,CAyOxB"}