@tangle-network/sandbox-ui 0.131.0 → 0.131.2

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/assets.d.ts CHANGED
@@ -237,6 +237,8 @@ interface CopyPreviewProps {
237
237
  content: CopyContent;
238
238
  className?: string;
239
239
  }
240
+ export declare const COPY_PLATFORM_LABEL: Record<CopyPlatform, string>;
241
+ /** Copy as it will read: the channel and its length budget, the headline, the body and its hashtags. */
240
242
  export declare function CopyPreview({ content, className }: CopyPreviewProps): import("react").JSX.Element;
241
243
  //#endregion
242
244
  //#region src/assets/preview/email-preview.d.ts
@@ -246,7 +248,25 @@ interface EmailPreviewProps {
246
248
  previewUrl?: string;
247
249
  className?: string;
248
250
  }
249
- export declare function EmailPreview({ content, brand, previewUrl, className }: EmailPreviewProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
251
+ /**
252
+ * The colours an email body renders in. A brand whose text colour is light
253
+ * writes on a dark page; any brand colour that would not read on that page
254
+ * falls back to the page's own ink.
255
+ */
256
+ export declare function emailPalette(brand: BrandTokens): {
257
+ scheme: string;
258
+ paper: "#111218" | "#ffffff";
259
+ ink: string;
260
+ accent: string;
261
+ button: string;
262
+ buttonText: string;
263
+ quote: string;
264
+ };
265
+ /**
266
+ * An email as a reader meets it: who it is from, the subject and the inbox
267
+ * preview line, then the body on the brand's page and in its typeface.
268
+ */
269
+ export declare function EmailPreview({ content, brand, previewUrl, className }: EmailPreviewProps): import("react").JSX.Element;
250
270
  //#endregion
251
271
  //#region src/assets/preview/image-preview.d.ts
252
272
  type ImageFormat = "feed" | "story" | "carousel";