rotion 1.6.2 → 1.8.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/exporter/blocks.js +3 -0
- package/dist/exporter/blocks.js.map +1 -1
- package/dist/exporter/files.d.ts +1 -1
- package/dist/exporter/files.js +2 -6
- package/dist/exporter/files.js.map +1 -1
- package/dist/exporter/types.d.ts +1 -0
- package/dist/exporter/variables.d.ts +2 -0
- package/dist/exporter/variables.js +3 -1
- package/dist/exporter/variables.js.map +1 -1
- package/dist/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/files.d.ts +1 -1
- package/dist/ui/cjs/types/exporter/types.d.ts +1 -0
- package/dist/ui/cjs/types/exporter/variables.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/CalloutBlock/CalloutBlock.d.ts +1 -1
- package/dist/ui/cjs/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/cjs/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/cjs/types/ui/components/types.d.ts +0 -1
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/files.d.ts +1 -1
- package/dist/ui/esm/types/exporter/types.d.ts +1 -0
- package/dist/ui/esm/types/exporter/variables.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/CalloutBlock/CalloutBlock.d.ts +1 -1
- package/dist/ui/esm/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/esm/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/esm/types/ui/components/types.d.ts +0 -1
- package/dist/ui/types.d.ts +5 -1
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/files.d.ts +1 -1
- package/dist/ui/umd/types/exporter/types.d.ts +1 -0
- package/dist/ui/umd/types/exporter/variables.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/Gallery/Gallery.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryCard/GalleryLinkedCard.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GalleryMultiSelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Gallery/GallerySelectField/LinkedTag.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/List.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/List/ListSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/BreadcrumbBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/Breadcrumbs.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BreadcrumbBlock/LinkedBreadcrumbIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/BulletedListBlock/BulletedListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/CalloutBlock/CalloutBlock.d.ts +1 -1
- package/dist/ui/umd/types/ui/components/Page/CalloutBlock/CalloutBlock.types.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Page/ChildDatabaseBlock/ChildDatabaseBlock.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/ChildPageBlock/ChildPageBlock.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/ColumnListBlock/ColumnListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/ListBlocks/ListBlocks.types.d.ts +0 -2
- package/dist/ui/umd/types/ui/components/Page/NumberedListBlock/NumberedListBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/Page.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/PageHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/PdfBlock/Pdf.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Page/TextBlock/TextBlock.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/Table.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableHandler.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableMultiSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/Table/TableSelectField/LinkedTagIfLinked.types.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/lib.d.ts +0 -1
- package/dist/ui/umd/types/ui/components/types.d.ts +0 -1
- package/package.json +20 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VideoBlockObjectResponseEx, EmbedBlockObjectResponseEx } from './types.js';
|
|
2
2
|
export declare const findLocationUrl: (rawHeaders: string[]) => string;
|
|
3
|
-
export declare function getHTTP(reqUrl: string
|
|
3
|
+
export declare function getHTTP(reqUrl: string): Promise<string>;
|
|
4
4
|
export declare function getJson<T>(reqUrl: string): Promise<T>;
|
|
5
5
|
export declare const atoh: (a: string) => string;
|
|
6
6
|
export declare const createDirWhenNotfound: (dir: string) => Promise<void>;
|
|
@@ -11,6 +11,8 @@ export declare const fileDir: string;
|
|
|
11
11
|
export declare const timeout: number;
|
|
12
12
|
export declare const webpQuality: number;
|
|
13
13
|
export declare const debug: boolean;
|
|
14
|
+
export declare const maxRedirects: number;
|
|
15
|
+
export declare const userAgent: string;
|
|
14
16
|
export declare const httpOptions: {
|
|
15
17
|
timeout: number;
|
|
16
18
|
headers: {
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import type { CalloutBlockProps } from './CalloutBlock.types';
|
|
3
3
|
import '../../tokens.css';
|
|
4
4
|
import './CalloutBlock.css';
|
|
5
|
-
declare const CalloutBlock: ({ block }: CalloutBlockProps) => React.JSX.Element;
|
|
5
|
+
declare const CalloutBlock: ({ block, href, link, query }: CalloutBlockProps) => React.JSX.Element;
|
|
6
6
|
export default CalloutBlock;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { CalloutBlockObjectResponseEx } from '../../../../exporter';
|
|
2
|
+
import type { ParsedUrlQueryInput } from 'node:querystring';
|
|
3
|
+
import type { Link } from '../../types';
|
|
2
4
|
export interface CalloutBlockProps {
|
|
3
5
|
block: CalloutBlockObjectResponseEx;
|
|
6
|
+
href?: string;
|
|
7
|
+
link?: Link;
|
|
8
|
+
query?: ParsedUrlQueryInput;
|
|
4
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ParagraphBlockObjectResponseEx, Heading1BlockObjectResponse, Heading2BlockObjectResponse, Heading3BlockObjectResponse, QuoteBlockObjectResponse, DividerBlockObjectResponse } from '../../../../exporter';
|
|
3
2
|
export interface TextBlockProps {
|
|
4
3
|
tag: keyof JSX.IntrinsicElements;
|