@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 +21 -1
- package/dist/assets.js +408 -249
- package/dist/{dashboard-BW-rPRwj.js → dashboard-B7mrHa2A.js} +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +35 -31
- package/dist/index-BVMgdFU9.d.ts +30 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/primitives-DVo5ldkk.js +25 -0
- package/dist/primitives.d.ts +2 -2
- package/dist/primitives.js +2 -2
- package/dist/styles.css +35 -31
- package/dist/{workbench-C2CzWiZU.js → workbench-syQB06Hc.js} +1 -1
- package/dist/workbench.js +1 -1
- package/dist/{workspace-DRz3SoJc.js → workspace-CgG0B5NC.js} +10 -8
- package/dist/workspace.js +1 -1
- package/package.json +5 -5
- package/dist/index-C6oItkj5.d.ts +0 -30
- package/dist/primitives-JjV1ruzp.js +0 -25
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
|
-
|
|
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";
|