+
Hook return value
+
+
+ {JSON.stringify(
+ {
+ isOpen: foundation.isOpen,
+ 'getDialogProps()': {...displayDialogProps, ref: '[RefCallback]', onClick: '[Function]'},
+ 'getTitleProps()': titleProps,
+ 'getDescriptionProps()': descriptionProps,
+ 'getCloseProps()': {...closeProps, onClick: '[Function]'},
+ 'getBodyProps()': bodyProps,
+ },
+ null,
+ 2,
+ )}
+
+
+
+ )
+}
+
+// --- Minimal dialog rendering ---
+
+const overlayStyle: React.CSSProperties = {
+ border: 'none',
+ borderRadius: 12,
+ padding: 0,
+ boxShadow: '0 8px 24px rgba(0,0,0,0.2)',
+ maxWidth: 480,
+ width: '100%',
+}
+
+const headerStyle: React.CSSProperties = {
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ padding: '12px 16px',
+ borderBottom: '1px solid #d1d9e0',
+}
+
+// --- Story: Default (inspect all prop-getters) ---
+
+export const Default: StoryObj = {
+ render: () => {
+ const [open, setOpen] = useState(false)
+ const [lastGesture, setLastGesture] = useState