@sevenfold/setto-client 0.13.0 → 0.15.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.13.0",
3
+ "version": "0.15.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.7",
@@ -1,5 +0,0 @@
1
- /**
2
- * Tooltip when hovering editable text inside a link or button (except language
3
- * toggles). Flips to stay within the viewport.
4
- */
5
- export declare function EditLinkHint(): import("react/jsx-runtime").JSX.Element | null;
@@ -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 SectionToolbar(): import("react/jsx-runtime").JSX.Element | null;
@@ -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
- /** Returns true when two CSS colour strings represent the same sRGB value. */
2
- export declare function colorsMatch(a: string, b: string): boolean;
3
- /** Pick a visible border colour for a swatch on white UI chrome. */
4
- export declare function swatchBorder(color: string): string;
@@ -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;