@sevenfold/setto-client 0.12.1 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sevenfold/setto-client",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.7",
@@ -1,5 +0,0 @@
1
- /** Publish progress for `/setto?deployment=…`, and the last ten deployments. */
2
- export declare function DeploymentsView({ siteId, onError, }: {
3
- siteId: string;
4
- onError?: (msg: string | null) => void;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function EditOnboardingDialog(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,10 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- interface EditOverlayProps {
3
- children: ReactNode;
4
- onClose?: () => void;
5
- }
6
- /**
7
- * Full-screen overlay with blurred backdrop. Renders above the edit toolbar.
8
- */
9
- export declare function EditOverlay({ children, onClose }: EditOverlayProps): import("react").ReactPortal;
10
- export {};
@@ -1,16 +0,0 @@
1
- import type { DeploymentRow } from '../types';
2
- interface PublishDialogProps {
3
- deploymentId: string;
4
- row: DeploymentRow | null;
5
- status: DeploymentRow['status'];
6
- publishing: boolean;
7
- /** Closes the dialog; deployment continues in the toolbar. */
8
- onClose: () => void;
9
- /** Clears the deployment session entirely. */
10
- onComplete: () => void;
11
- }
12
- /**
13
- * Centered modal showing publish progress (Committed → Building → Deployed).
14
- */
15
- export declare function PublishDialog({ row, status, onClose, onComplete, }: PublishDialogProps): import("react/jsx-runtime").JSX.Element;
16
- export {};
@@ -1,4 +0,0 @@
1
- export declare function guessLangFromPath(path: string, languages: string[]): string | null;
2
- export declare function pathForLang(_siteId: string, lng: string, _languages: string[]): string;
3
- export declare function pathForTheme(_siteId: string, themePath?: string): string;
4
- export declare function isThemePath(path: string, themePath?: string): boolean;
@@ -1 +0,0 @@
1
- export declare function EditToolbar(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- /** Loads locale and theme files from GitHub once per session to seed the draft baseline. */
2
- export declare function useEditBaseline(): void;
@@ -1,4 +0,0 @@
1
- /** Read a cookie value by name, or null if missing. */
2
- export declare function getCookie(name: string): string | null;
3
- /** Set a cookie with optional max-age in seconds (default: 1 year). */
4
- export declare function setCookie(name: string, value: string, maxAgeSeconds?: number): void;
@@ -1,3 +0,0 @@
1
- export declare function DomainView({ siteId }: {
2
- siteId: string;
3
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import type { FormSubmissionRow } from './api';
2
- /**
3
- * The forms panel of the dashboard: who gets the mail, and everything that
4
- * has come in. Submissions arrive live through the same Supabase channel
5
- * pattern the deployment list uses; the owner can open one, and delete it.
6
- */
7
- export declare function FormsView({ siteId }: {
8
- siteId: string;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- interface SubmissionField {
11
- name: string;
12
- label: string;
13
- value: string;
14
- }
15
- /** `data` as ordered, labelled rows — the dashboard's version of the email's table. */
16
- export declare function submissionFields(row: FormSubmissionRow): SubmissionField[];
17
- export {};