@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/dist/chrome.d.ts +24 -6
- package/dist/edit-mode/toolbar-fallback.d.ts +1 -0
- package/dist/guest-edit.d.ts +13 -7
- package/dist/index.d.ts +8 -2
- package/dist/lib/i18n-store.d.ts +24 -1
- package/dist/provider.d.ts +12 -0
- package/dist/section-context.d.ts +11 -6
- package/dist/setto-client.js +2479 -3613
- package/dist/setto-client.js.map +1 -1
- package/package.json +1 -1
- package/dist/edit-mode/link-hint.d.ts +0 -5
- package/dist/edit-mode/onboarding-dialog.d.ts +0 -1
- package/dist/edit-mode/overlay.d.ts +0 -10
- package/dist/edit-mode/publish-dialog.d.ts +0 -16
- package/dist/edit-mode/publish-utils.d.ts +0 -4
- package/dist/edit-mode/section-toolbar.d.ts +0 -1
- package/dist/edit-mode/toolbar.d.ts +0 -1
- package/dist/edit-mode/use-edit-baseline.d.ts +0 -2
- package/dist/lib/color-utils.d.ts +0 -4
- package/dist/lib/cookies.d.ts +0 -4
package/package.json
CHANGED
|
@@ -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,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;
|
package/dist/lib/cookies.d.ts
DELETED
|
@@ -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;
|