@frontlit/page-builder 0.1.0-alpha.1 → 0.1.0-alpha.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/README.md +6 -2
- package/dist/blocks/index.d.ts +7 -5
- package/dist/blocks/index.js +4 -3
- package/dist/builder/index.d.ts +5 -7
- package/dist/builder/index.js +6 -5
- package/dist/{button-C3VrMJkr.d.ts → button-Bzt1GDO-.d.ts} +2 -2
- package/dist/{chunk-GTY75HW2.js → chunk-ATNM5JHI.js} +2 -2
- package/dist/chunk-ATNM5JHI.js.map +1 -0
- package/dist/{chunk-7W6Q4WA7.js → chunk-H4P5MFJI.js} +89 -73
- package/dist/chunk-H4P5MFJI.js.map +1 -0
- package/dist/{chunk-SSQWYMQR.js → chunk-HDINUNI2.js} +11 -39
- package/dist/chunk-HDINUNI2.js.map +1 -0
- package/dist/{chunk-MO76KZY2.js → chunk-KQKSLI3L.js} +339 -314
- package/dist/chunk-KQKSLI3L.js.map +1 -0
- package/dist/{chunk-RBJBODQP.js → chunk-SGNRWWG3.js} +1931 -919
- package/dist/chunk-SGNRWWG3.js.map +1 -0
- package/dist/{chunk-7KIX4WAO.js → chunk-UO7XGBGM.js} +439 -535
- package/dist/chunk-UO7XGBGM.js.map +1 -0
- package/dist/chunk-XU7ALPGQ.js +22 -0
- package/dist/chunk-XU7ALPGQ.js.map +1 -0
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +3 -2
- package/dist/data-slots.d.ts +3 -3
- package/dist/data-slots.js +1 -1
- package/dist/{image-D7GlnOio.d.ts → image-DAWVx1zQ.d.ts} +3 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -6
- package/dist/media-CnLImjVC.d.ts +21 -0
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js +1 -0
- package/dist/{page-DfVl_aHX.d.ts → page-W3hQga4w.d.ts} +2 -3
- package/dist/primitives/index.d.ts +251 -60
- package/dist/primitives/index.js +2 -1
- package/dist/renderer/index.d.ts +3 -3
- package/dist/renderer/index.js +5 -4
- package/dist/{section-background-BgOCp5l3.d.ts → section-background-MsdE40Rk.d.ts} +1 -1
- package/dist/styles.css +3896 -8303
- package/dist/{theme-style-39nxXQy0.d.ts → theme-style-Cbl7NM-T.d.ts} +23 -1
- package/dist/theme.css +174 -191
- package/dist/{widget--uEOpdq3.d.ts → widget-B_RoG6se.d.ts} +10 -6
- package/package.json +21 -10
- package/dist/chunk-7KIX4WAO.js.map +0 -1
- package/dist/chunk-7W6Q4WA7.js.map +0 -1
- package/dist/chunk-GTY75HW2.js.map +0 -1
- package/dist/chunk-MO76KZY2.js.map +0 -1
- package/dist/chunk-RBJBODQP.js.map +0 -1
- package/dist/chunk-SSQWYMQR.js.map +0 -1
- package/dist/fonts/montserrat/montserrat-latin-100-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-200-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-300-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-400-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-500-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-600-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-700-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-800-normal.woff2 +0 -0
- package/dist/fonts/montserrat/montserrat-latin-900-normal.woff2 +0 -0
- package/dist/fonts/source-sans-3/source-sans-3-latin-400-normal.woff2 +0 -0
- package/dist/media-Njv378j7.d.ts +0 -13
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
// src/models/media.ts
|
|
3
|
+
function getMediaUrl(media) {
|
|
4
|
+
if (!media) return null;
|
|
5
|
+
if (typeof media === "string") return media.trim() || null;
|
|
6
|
+
if (typeof media === "object") {
|
|
7
|
+
const obj = media;
|
|
8
|
+
const url = obj.url ?? obj.file ?? obj.src;
|
|
9
|
+
return typeof url === "string" && url.trim() ? url.trim() : null;
|
|
10
|
+
}
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
function getMediaAlt(media) {
|
|
14
|
+
if (!media || typeof media !== "object") return "";
|
|
15
|
+
const obj = media;
|
|
16
|
+
const alt = obj.alt ?? obj.caption ?? obj.title;
|
|
17
|
+
return typeof alt === "string" ? alt : "";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { getMediaAlt, getMediaUrl };
|
|
21
|
+
//# sourceMappingURL=chunk-XU7ALPGQ.js.map
|
|
22
|
+
//# sourceMappingURL=chunk-XU7ALPGQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/media.ts"],"names":[],"mappings":";AAkBO,SAAS,YAAY,KAAA,EAA+B;AACzD,EAAA,IAAI,CAAC,OAAO,OAAO,IAAA;AACnB,EAAA,IAAI,OAAO,KAAA,KAAU,QAAA,EAAU,OAAO,KAAA,CAAM,MAAK,IAAK,IAAA;AACtD,EAAA,IAAI,OAAO,UAAU,QAAA,EAAU;AAC7B,IAAA,MAAM,GAAA,GAAM,KAAA;AACZ,IAAA,MAAM,GAAA,GAAM,GAAA,CAAI,GAAA,IAAO,GAAA,CAAI,QAAQ,GAAA,CAAI,GAAA;AACvC,IAAA,OAAO,OAAO,QAAQ,QAAA,IAAY,GAAA,CAAI,MAAK,GAAI,GAAA,CAAI,MAAK,GAAI,IAAA;AAAA,EAC9D;AACA,EAAA,OAAO,IAAA;AACT;AAEO,SAAS,YAAY,KAAA,EAAwB;AAClD,EAAA,IAAI,CAAC,KAAA,IAAS,OAAO,KAAA,KAAU,UAAU,OAAO,EAAA;AAChD,EAAA,MAAM,GAAA,GAAM,KAAA;AACZ,EAAA,MAAM,GAAA,GAAM,GAAA,CAAI,GAAA,IAAO,GAAA,CAAI,WAAW,GAAA,CAAI,KAAA;AAC1C,EAAA,OAAO,OAAO,GAAA,KAAQ,QAAA,GAAW,GAAA,GAAM,EAAA;AACzC","file":"chunk-XU7ALPGQ.js","sourcesContent":["export interface Media {\n [key: string]: unknown;\n mediaId?: string;\n originalFileName?: string;\n fileName?: string;\n mimeType?: string;\n size?: number;\n caption?: string;\n alt?: string;\n /** Public URL of the asset (MediaLit format or generic URL format). */\n file?: string;\n url?: string;\n src?: string;\n /** Thumbnail URL, falls back to `file` or `url` when absent. */\n thumbnail?: string;\n thumbnailUrl?: string;\n}\n\nexport function getMediaUrl(media: unknown): string | null {\n if (!media) return null;\n if (typeof media === \"string\") return media.trim() || null;\n if (typeof media === \"object\") {\n const obj = media as Record<string, unknown>;\n const url = obj.url ?? obj.file ?? obj.src;\n return typeof url === \"string\" && url.trim() ? url.trim() : null;\n }\n return null;\n}\n\nexport function getMediaAlt(media: unknown): string {\n if (!media || typeof media !== \"object\") return \"\";\n const obj = media as Record<string, unknown>;\n const alt = obj.alt ?? obj.caption ?? obj.title;\n return typeof alt === \"string\" ? alt : \"\";\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
export { A as AspectRatio, I as Image, a as ImageObjectFit, V as VideoThumbnailProps, b as VideoWithPreview } from '../image-
|
|
2
|
+
export { A as AspectRatio, I as Image, a as ImageObjectFit, V as VideoThumbnailProps, b as VideoWithPreview, r as roundedMap } from '../image-DAWVx1zQ.js';
|
|
3
3
|
export { N as NavLink, P as PageBuilderLinkComponent, a as PageBuilderLinkProps, b as PageBuilderLinkProvider, u as usePageBuilderLinkComponent } from '../nav-link-BfxvQ1s6.js';
|
|
4
|
-
import { T as ThemeStyle } from '../theme-style-
|
|
5
|
-
import { B as ButtonProps } from '../button-
|
|
4
|
+
import { T as ThemeStyle } from '../theme-style-Cbl7NM-T.js';
|
|
5
|
+
import { B as ButtonProps } from '../button-Bzt1GDO-.js';
|
|
6
6
|
import { R as ResolvedColorMode } from '../color-mode-DIEEt9WP.js';
|
|
7
7
|
export { TextRenderer, truncateTextEditorContent } from '@frontlit/text-editor';
|
|
8
8
|
import 'class-variance-authority/types';
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Image, NavLink, PageBuilderLinkProvider, SandboxedEmbed, TextRenderer, ThemeModeSwitcher, VideoWithPreview, truncateTextEditorContent, usePageBuilderLinkComponent } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { Image, NavLink, PageBuilderLinkProvider, SandboxedEmbed, TextRenderer, ThemeModeSwitcher, VideoWithPreview, roundedMap, truncateTextEditorContent, usePageBuilderLinkComponent } from '../chunk-H4P5MFJI.js';
|
|
3
|
+
import '../chunk-SGNRWWG3.js';
|
|
4
|
+
import '../chunk-XU7ALPGQ.js';
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
package/dist/data-slots.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import './section-background-
|
|
4
|
-
import './theme-style-
|
|
2
|
+
import { c as WidgetInstance, P as PageData } from './widget-B_RoG6se.js';
|
|
3
|
+
import './section-background-MsdE40Rk.js';
|
|
4
|
+
import './theme-style-Cbl7NM-T.js';
|
|
5
5
|
|
|
6
6
|
/** Context supplied to a host application's data-slot loader. */
|
|
7
7
|
interface DataSlotLoadRequest {
|
package/dist/data-slots.js
CHANGED
|
@@ -11,6 +11,7 @@ interface VideoThumbnailProps {
|
|
|
11
11
|
declare function VideoWithPreview({ title, thumbnailUrl, videoUrl, aspectRatio, modal, }: VideoThumbnailProps): React.JSX.Element;
|
|
12
12
|
|
|
13
13
|
type ImageObjectFit = "cover" | "contain" | "fill" | "none" | "scale-down";
|
|
14
|
+
declare const roundedMap: Record<number, string>;
|
|
14
15
|
interface ImgProps {
|
|
15
16
|
src: string;
|
|
16
17
|
classes?: string;
|
|
@@ -20,11 +21,11 @@ interface ImgProps {
|
|
|
20
21
|
height?: string;
|
|
21
22
|
sizes?: `${string}vw`;
|
|
22
23
|
width?: string;
|
|
23
|
-
borderRadius?: number;
|
|
24
|
+
borderRadius?: number | string;
|
|
24
25
|
noDefaultImage?: boolean;
|
|
25
26
|
className?: string;
|
|
26
27
|
objectFit?: ImageObjectFit;
|
|
27
28
|
}
|
|
28
29
|
declare const Image: (props: ImgProps) => React.JSX.Element;
|
|
29
30
|
|
|
30
|
-
export { type AspectRatio as A, Image as I, type VideoThumbnailProps as V, type ImageObjectFit as a, VideoWithPreview as b };
|
|
31
|
+
export { type AspectRatio as A, Image as I, type VideoThumbnailProps as V, type ImageObjectFit as a, VideoWithPreview as b, roundedMap as r };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { T as Theme } from './section-background-
|
|
2
|
-
export { B as BackgroundAttachment, a as BackgroundRepeat, b as BlendMode, S as SectionBackground, c as SectionBackgroundOverlay } from './section-background-
|
|
3
|
-
export { B as Border, C as Colors, a as CustomStyle, D as DisabledStyle, P as Padding, S as Shadow, T as ThemeStyle,
|
|
4
|
-
import { W as Widget,
|
|
5
|
-
export { B as BlockLayout, P as PageData, a as
|
|
6
|
-
export { M as Media } from './media-
|
|
7
|
-
export { P as Page, a as PageSeo } from './page-
|
|
1
|
+
import { T as Theme } from './section-background-MsdE40Rk.js';
|
|
2
|
+
export { B as BackgroundAttachment, a as BackgroundRepeat, b as BlendMode, S as SectionBackground, c as SectionBackgroundOverlay } from './section-background-MsdE40Rk.js';
|
|
3
|
+
export { B as Border, C as Colors, a as CustomStyle, D as DisabledStyle, M as MenuItemStyle, b as MenuStyle, P as Padding, S as Shadow, c as SurfaceStyle, T as ThemeStyle, d as Typography } from './theme-style-Cbl7NM-T.js';
|
|
4
|
+
import { W as Widget, c as WidgetInstance } from './widget-B_RoG6se.js';
|
|
5
|
+
export { B as BlockLayout, P as PageData, a as WidgetDefaultSettings, b as WidgetEditorProps, d as WidgetMetadata, e as WidgetProps } from './widget-B_RoG6se.js';
|
|
6
|
+
export { M as Media, g as getMediaAlt, a as getMediaUrl } from './media-CnLImjVC.js';
|
|
7
|
+
export { P as Page, a as PageSeo } from './page-W3hQga4w.js';
|
|
8
8
|
export { A as Alignment, H as HorizontalAlignment, V as VerticalAlignment } from './alignment-dZDzN96G.js';
|
|
9
9
|
export { TextEditorContent } from '@frontlit/text-editor';
|
|
10
10
|
export { EditableBlock, EditableBlockProps, PageRenderer, PageRendererProps, generateThemeStyles } from './renderer/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './chunk-RUYOL7JZ.js';
|
|
3
|
-
export { BlockPicker, BuilderTopBar, ColorSelector, ContentPaddingSelector, MaxWidthSelector, PATTERN_PRESETS, PageBuilder, PageBuilderPropertyHeader, PageBuilderSlider, SectionBackgroundPanel, SeoEditor, SettingsPanel, ThemeEditor, VerticalPaddingSelector, createDefaultLayout, createWidgetInstance, ensureRequiredSharedWidgets, getDefaultTheme, getMaxWidthTWClass, getVerticalPaddingTWClass } from './chunk-
|
|
4
|
-
export { EditableBlock, LAYOUT_BLOCK_NAMES, NON_ADDABLE_BLOCK_NAMES, PageRenderer, blockRegistry, generateThemeStyles, getAddableBlocks, getWidget, registerBlock } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
export { PageBuilderLinkProvider } from './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
export {
|
|
3
|
+
export { BlockPicker, BuilderTopBar, ColorSelector, ContentPaddingSelector, MaxWidthSelector, PATTERN_PRESETS, PageBuilder, PageBuilderPropertyHeader, PageBuilderSlider, SectionBackgroundPanel, SeoEditor, SettingsPanel, ThemeEditor, VerticalPaddingSelector, createDefaultLayout, createWidgetInstance, ensureRequiredSharedWidgets, getDefaultTheme, getMaxWidthTWClass, getVerticalPaddingTWClass } from './chunk-KQKSLI3L.js';
|
|
4
|
+
export { EditableBlock, LAYOUT_BLOCK_NAMES, NON_ADDABLE_BLOCK_NAMES, PageRenderer, blockRegistry, generateThemeStyles, getAddableBlocks, getWidget, registerBlock } from './chunk-HDINUNI2.js';
|
|
5
|
+
import './chunk-UO7XGBGM.js';
|
|
6
|
+
export { PageBuilderLinkProvider } from './chunk-H4P5MFJI.js';
|
|
7
|
+
import './chunk-SGNRWWG3.js';
|
|
8
|
+
export { getMediaAlt, getMediaUrl } from './chunk-XU7ALPGQ.js';
|
|
9
|
+
export { loadDataSlots } from './chunk-ATNM5JHI.js';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Media {
|
|
2
|
+
[key: string]: unknown;
|
|
3
|
+
mediaId?: string;
|
|
4
|
+
originalFileName?: string;
|
|
5
|
+
fileName?: string;
|
|
6
|
+
mimeType?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
caption?: string;
|
|
9
|
+
alt?: string;
|
|
10
|
+
/** Public URL of the asset (MediaLit format or generic URL format). */
|
|
11
|
+
file?: string;
|
|
12
|
+
url?: string;
|
|
13
|
+
src?: string;
|
|
14
|
+
/** Thumbnail URL, falls back to `file` or `url` when absent. */
|
|
15
|
+
thumbnail?: string;
|
|
16
|
+
thumbnailUrl?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function getMediaUrl(media: unknown): string | null;
|
|
19
|
+
declare function getMediaAlt(media: unknown): string;
|
|
20
|
+
|
|
21
|
+
export { type Media as M, getMediaUrl as a, getMediaAlt as g };
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { B as BackgroundAttachment, a as BackgroundRepeat, b as BlendMode, S as SectionBackground, c as SectionBackgroundOverlay, T as Theme } from '../section-background-
|
|
2
|
-
export { B as Border, C as Colors, a as CustomStyle, D as DisabledStyle, P as Padding, S as Shadow, T as ThemeStyle,
|
|
3
|
-
export { B as BlockLayout, P as PageData,
|
|
4
|
-
export { M as Media } from '../media-
|
|
5
|
-
export { P as Page, a as PageSeo } from '../page-
|
|
1
|
+
export { B as BackgroundAttachment, a as BackgroundRepeat, b as BlendMode, S as SectionBackground, c as SectionBackgroundOverlay, T as Theme } from '../section-background-MsdE40Rk.js';
|
|
2
|
+
export { B as Border, C as Colors, a as CustomStyle, D as DisabledStyle, M as MenuItemStyle, b as MenuStyle, P as Padding, S as Shadow, c as SurfaceStyle, T as ThemeStyle, d as Typography } from '../theme-style-Cbl7NM-T.js';
|
|
3
|
+
export { B as BlockLayout, P as PageData, W as Widget, a as WidgetDefaultSettings, b as WidgetEditorProps, c as WidgetInstance, d as WidgetMetadata, e as WidgetProps } from '../widget-B_RoG6se.js';
|
|
4
|
+
export { M as Media, g as getMediaAlt, a as getMediaUrl } from '../media-CnLImjVC.js';
|
|
5
|
+
export { P as Page, a as PageSeo } from '../page-W3hQga4w.js';
|
|
6
6
|
export { A as Alignment, H as HorizontalAlignment, V as VerticalAlignment } from '../alignment-dZDzN96G.js';
|
|
7
7
|
export { TextEditorContent } from '@frontlit/text-editor';
|
|
8
8
|
import 'react';
|
package/dist/models/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { M as Media } from './media-
|
|
1
|
+
import { c as WidgetInstance } from './widget-B_RoG6se.js';
|
|
2
|
+
import { M as Media } from './media-CnLImjVC.js';
|
|
3
3
|
|
|
4
4
|
/** Page-level SEO settings, editable from the builder's SEO panel. */
|
|
5
5
|
interface PageSeo {
|
|
@@ -15,7 +15,6 @@ interface PageSeo {
|
|
|
15
15
|
interface Page {
|
|
16
16
|
pageId: string;
|
|
17
17
|
name: string;
|
|
18
|
-
type: PageType;
|
|
19
18
|
layout: WidgetInstance[];
|
|
20
19
|
title?: string;
|
|
21
20
|
description?: string;
|
|
@@ -1,62 +1,74 @@
|
|
|
1
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
1
2
|
import * as React$1 from 'react';
|
|
2
3
|
import React__default, { ReactNode } from 'react';
|
|
3
|
-
import { T as ThemeStyle } from '../theme-style-
|
|
4
|
-
|
|
5
|
-
import { S as SectionBackground, T as Theme } from '../section-background-BgOCp5l3.js';
|
|
4
|
+
import { T as ThemeStyle } from '../theme-style-Cbl7NM-T.js';
|
|
5
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
export { a as Button, B as ButtonProps } from '../button-Bzt1GDO-.js';
|
|
9
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
11
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
12
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
14
|
+
import { S as SectionBackground, T as Theme } from '../section-background-MsdE40Rk.js';
|
|
15
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
16
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
17
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
18
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
9
19
|
|
|
10
|
-
interface
|
|
11
|
-
children: React__default.ReactNode;
|
|
12
|
-
className?: string;
|
|
20
|
+
interface AlertDialogProps extends React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Root> {
|
|
13
21
|
theme?: ThemeStyle;
|
|
14
22
|
}
|
|
23
|
+
declare function AlertDialog({ theme, children, ...props }: AlertDialogProps): React$1.JSX.Element;
|
|
24
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
25
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
28
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
interface AlertDialogContentProps extends React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
|
|
30
|
+
closeClassName?: string;
|
|
31
|
+
overlayClassName?: string;
|
|
32
|
+
showCloseButton?: boolean;
|
|
33
|
+
theme?: ThemeStyle;
|
|
34
|
+
}
|
|
35
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
37
|
+
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
38
|
+
interface AlertDialogTitleProps extends React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title> {
|
|
39
|
+
theme?: ThemeStyle;
|
|
40
|
+
}
|
|
41
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
42
|
+
interface AlertDialogDescriptionProps extends React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description> {
|
|
43
|
+
theme?: ThemeStyle;
|
|
44
|
+
}
|
|
45
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
15
46
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
declare const Header1: React__default.FC<TypographyProps>;
|
|
19
|
-
|
|
20
|
-
declare const Header2: React__default.FC<TypographyProps>;
|
|
21
|
-
|
|
22
|
-
declare const Header3: React__default.FC<TypographyProps>;
|
|
23
|
-
|
|
24
|
-
declare const Header4: React__default.FC<TypographyProps>;
|
|
25
|
-
|
|
26
|
-
declare const Subheader1: React__default.FC<TypographyProps & {
|
|
27
|
-
component?: "h5" | "span";
|
|
28
|
-
}>;
|
|
29
|
-
|
|
30
|
-
declare const Subheader2: React__default.FC<TypographyProps>;
|
|
31
|
-
|
|
32
|
-
declare const Text1: React__default.FC<TypographyProps & {
|
|
33
|
-
component?: "p" | "span";
|
|
34
|
-
}>;
|
|
35
|
-
|
|
36
|
-
declare const Text2: React__default.FC<TypographyProps & {
|
|
37
|
-
component?: "p" | "span";
|
|
38
|
-
}>;
|
|
39
|
-
|
|
40
|
-
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
41
|
-
children: React__default.ReactNode;
|
|
42
|
-
className?: string;
|
|
47
|
+
interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
|
|
43
48
|
theme?: ThemeStyle;
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
style?: React__default.CSSProperties;
|
|
46
49
|
}
|
|
47
|
-
declare
|
|
50
|
+
declare function Avatar({ className, theme, ...props }: AvatarProps): React$1.JSX.Element;
|
|
51
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
52
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+
declare const badgeVariants: (props?: {
|
|
55
|
+
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
56
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
57
|
+
interface BadgeProps$1 extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface BadgeProps extends Omit<BadgeProps$1, "variant"> {
|
|
50
61
|
theme?: ThemeStyle;
|
|
51
|
-
|
|
62
|
+
style?: Record<string, string>;
|
|
63
|
+
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
52
64
|
}
|
|
53
|
-
declare const
|
|
65
|
+
declare const Badge: React__default.FC<BadgeProps>;
|
|
54
66
|
|
|
55
|
-
interface
|
|
67
|
+
interface TypographyProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
68
|
+
children: React__default.ReactNode;
|
|
69
|
+
className?: string;
|
|
56
70
|
theme?: ThemeStyle;
|
|
57
|
-
error?: boolean;
|
|
58
71
|
}
|
|
59
|
-
declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
60
72
|
|
|
61
73
|
declare const Caption: React__default.FC<TypographyProps>;
|
|
62
74
|
|
|
@@ -87,12 +99,153 @@ declare const PageCardImage: React__default.FC<PageCardImageProps>;
|
|
|
87
99
|
declare const PageCardContent: React__default.FC<PageCardContentProps>;
|
|
88
100
|
declare const PageCardHeader: React__default.FC<PageCardHeaderProps>;
|
|
89
101
|
|
|
102
|
+
interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
103
|
+
theme?: ThemeStyle;
|
|
104
|
+
}
|
|
105
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
106
|
+
|
|
107
|
+
interface DialogProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
108
|
+
theme?: ThemeStyle;
|
|
109
|
+
}
|
|
110
|
+
declare function Dialog({ theme, children, ...props }: DialogProps): React$1.JSX.Element;
|
|
111
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
112
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
113
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
114
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
115
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
116
|
+
closeClassName?: string;
|
|
117
|
+
overlayClassName?: string;
|
|
118
|
+
showCloseButton?: boolean;
|
|
119
|
+
theme?: ThemeStyle;
|
|
120
|
+
}
|
|
121
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
122
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
123
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
124
|
+
interface DialogTitleProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> {
|
|
125
|
+
theme?: ThemeStyle;
|
|
126
|
+
}
|
|
127
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
128
|
+
interface DialogDescriptionProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> {
|
|
129
|
+
theme?: ThemeStyle;
|
|
130
|
+
}
|
|
131
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
132
|
+
|
|
133
|
+
interface DrawerProps {
|
|
134
|
+
trigger: ReactNode;
|
|
135
|
+
children: ReactNode;
|
|
136
|
+
side?: "left" | "right" | "top" | "bottom";
|
|
137
|
+
open: boolean;
|
|
138
|
+
setOpen: (open: boolean) => void;
|
|
139
|
+
style?: React.CSSProperties;
|
|
140
|
+
className?: string;
|
|
141
|
+
theme?: ThemeStyle;
|
|
142
|
+
}
|
|
143
|
+
declare function Drawer({ trigger, children, side, open, setOpen, style, className, theme: _theme, }: DrawerProps): React$1.JSX.Element;
|
|
144
|
+
|
|
145
|
+
interface DropdownMenuProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root> {
|
|
146
|
+
theme?: ThemeStyle;
|
|
147
|
+
}
|
|
148
|
+
declare function DropdownMenu({ theme, children, ...props }: DropdownMenuProps): React$1.JSX.Element;
|
|
149
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
150
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
151
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
152
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
153
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
154
|
+
interface DropdownMenuContentProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> {
|
|
155
|
+
theme?: ThemeStyle;
|
|
156
|
+
}
|
|
157
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
158
|
+
interface DropdownMenuItemProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> {
|
|
159
|
+
inset?: boolean;
|
|
160
|
+
theme?: ThemeStyle;
|
|
161
|
+
}
|
|
162
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
163
|
+
interface DropdownMenuCheckboxItemProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem> {
|
|
164
|
+
theme?: ThemeStyle;
|
|
165
|
+
}
|
|
166
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
167
|
+
interface DropdownMenuRadioItemProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem> {
|
|
168
|
+
theme?: ThemeStyle;
|
|
169
|
+
}
|
|
170
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
interface DropdownMenuLabelProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> {
|
|
172
|
+
inset?: boolean;
|
|
173
|
+
theme?: ThemeStyle;
|
|
174
|
+
}
|
|
175
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
176
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
declare const DropdownMenuShortcut: ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>) => React$1.JSX.Element;
|
|
178
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
179
|
+
inset?: boolean;
|
|
180
|
+
theme?: ThemeStyle;
|
|
181
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
182
|
+
interface DropdownMenuSubContentProps extends React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent> {
|
|
183
|
+
theme?: ThemeStyle;
|
|
184
|
+
}
|
|
185
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
186
|
+
declare const DropdownMenuArrow: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
187
|
+
|
|
188
|
+
declare const Header1: React__default.FC<TypographyProps>;
|
|
189
|
+
|
|
190
|
+
declare const Header2: React__default.FC<TypographyProps>;
|
|
191
|
+
|
|
192
|
+
declare const Header3: React__default.FC<TypographyProps>;
|
|
193
|
+
|
|
194
|
+
declare const Header4: React__default.FC<TypographyProps>;
|
|
195
|
+
|
|
196
|
+
interface ImageProps extends React__default.ImgHTMLAttributes<HTMLImageElement> {
|
|
197
|
+
src: string;
|
|
198
|
+
alt?: string;
|
|
199
|
+
className?: string;
|
|
200
|
+
theme?: ThemeStyle;
|
|
201
|
+
}
|
|
202
|
+
declare const Image: React__default.FC<ImageProps>;
|
|
203
|
+
|
|
204
|
+
interface InputProps extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
205
|
+
theme?: ThemeStyle;
|
|
206
|
+
error?: boolean;
|
|
207
|
+
}
|
|
208
|
+
declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
209
|
+
|
|
90
210
|
interface LabelProps extends React__default.LabelHTMLAttributes<HTMLLabelElement> {
|
|
91
211
|
theme?: ThemeStyle;
|
|
92
212
|
error?: boolean;
|
|
93
213
|
}
|
|
94
214
|
declare const Label: React__default.ForwardRefExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>;
|
|
95
215
|
|
|
216
|
+
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
217
|
+
children: React__default.ReactNode;
|
|
218
|
+
className?: string;
|
|
219
|
+
theme?: ThemeStyle;
|
|
220
|
+
disabled?: boolean;
|
|
221
|
+
style?: React__default.CSSProperties;
|
|
222
|
+
}
|
|
223
|
+
declare const Link: React__default.FC<LinkProps>;
|
|
224
|
+
|
|
225
|
+
interface PopoverProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> {
|
|
226
|
+
theme?: ThemeStyle;
|
|
227
|
+
}
|
|
228
|
+
declare function Popover({ theme, children, ...props }: PopoverProps): React$1.JSX.Element;
|
|
229
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
230
|
+
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
231
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
232
|
+
declare const PopoverPortal: React$1.FC<PopoverPrimitive.PopoverPortalProps>;
|
|
233
|
+
interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
234
|
+
theme?: ThemeStyle;
|
|
235
|
+
}
|
|
236
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
237
|
+
|
|
238
|
+
declare const Preheader: React__default.FC<TypographyProps>;
|
|
239
|
+
|
|
240
|
+
interface RadioGroupProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
241
|
+
theme?: ThemeStyle;
|
|
242
|
+
}
|
|
243
|
+
declare function RadioGroup({ theme, className, ...props }: RadioGroupProps): React$1.JSX.Element;
|
|
244
|
+
interface RadioGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
245
|
+
theme?: ThemeStyle;
|
|
246
|
+
}
|
|
247
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
248
|
+
|
|
96
249
|
interface SectionProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
97
250
|
children: React__default.ReactNode;
|
|
98
251
|
className?: string;
|
|
@@ -103,18 +256,39 @@ interface SectionProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
|
103
256
|
}
|
|
104
257
|
declare const Section: React__default.FC<SectionProps>;
|
|
105
258
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
259
|
+
interface SelectProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Root> {
|
|
260
|
+
theme?: ThemeStyle;
|
|
261
|
+
}
|
|
262
|
+
declare function Select({ theme, children, ...props }: SelectProps): React$1.JSX.Element;
|
|
263
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
264
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
265
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
266
|
+
interface SelectTriggerProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> {
|
|
267
|
+
theme?: ThemeStyle;
|
|
268
|
+
}
|
|
269
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
270
|
+
interface SelectContentProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> {
|
|
271
|
+
theme?: ThemeStyle;
|
|
272
|
+
}
|
|
273
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
274
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
275
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
276
|
+
interface SelectItemProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
|
|
277
|
+
theme?: ThemeStyle;
|
|
110
278
|
}
|
|
279
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
280
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
111
281
|
|
|
112
|
-
interface
|
|
282
|
+
interface SeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
|
|
113
283
|
theme?: ThemeStyle;
|
|
114
|
-
style?: Record<string, string>;
|
|
115
|
-
variant?: "default" | "secondary" | "destructive" | "outline";
|
|
116
284
|
}
|
|
117
|
-
declare const
|
|
285
|
+
declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
286
|
+
|
|
287
|
+
declare const Subheader1: React__default.FC<TypographyProps & {
|
|
288
|
+
component?: "h5" | "span";
|
|
289
|
+
}>;
|
|
290
|
+
|
|
291
|
+
declare const Subheader2: React__default.FC<TypographyProps>;
|
|
118
292
|
|
|
119
293
|
declare const Switch$1: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
120
294
|
|
|
@@ -123,18 +297,35 @@ interface SwitchProps extends React__default.ComponentPropsWithoutRef<typeof Swi
|
|
|
123
297
|
}
|
|
124
298
|
declare const Switch: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
125
299
|
|
|
300
|
+
declare const Text1: React__default.FC<TypographyProps & {
|
|
301
|
+
component?: "p" | "span";
|
|
302
|
+
}>;
|
|
303
|
+
|
|
304
|
+
declare const Text2: React__default.FC<TypographyProps & {
|
|
305
|
+
component?: "p" | "span";
|
|
306
|
+
}>;
|
|
307
|
+
|
|
308
|
+
interface TextareaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
309
|
+
theme?: ThemeStyle;
|
|
310
|
+
error?: boolean;
|
|
311
|
+
}
|
|
312
|
+
declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
313
|
+
|
|
126
314
|
declare const themes: Theme[];
|
|
127
315
|
|
|
128
|
-
interface
|
|
129
|
-
trigger: ReactNode;
|
|
130
|
-
children: ReactNode;
|
|
131
|
-
side?: "left" | "right" | "top" | "bottom";
|
|
132
|
-
open: boolean;
|
|
133
|
-
setOpen: (open: boolean) => void;
|
|
134
|
-
style?: React.CSSProperties;
|
|
135
|
-
className?: string;
|
|
316
|
+
interface TooltipProviderProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider> {
|
|
136
317
|
theme?: ThemeStyle;
|
|
137
318
|
}
|
|
138
|
-
declare function
|
|
319
|
+
declare function TooltipProvider({ theme, children, ...props }: TooltipProviderProps): React$1.JSX.Element;
|
|
320
|
+
interface TooltipProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
|
|
321
|
+
theme?: ThemeStyle;
|
|
322
|
+
}
|
|
323
|
+
declare function Tooltip({ theme, children, ...props }: TooltipProps): React$1.JSX.Element;
|
|
324
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
325
|
+
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
326
|
+
interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
|
|
327
|
+
theme?: ThemeStyle;
|
|
328
|
+
}
|
|
329
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<TooltipContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
139
330
|
|
|
140
|
-
export { Badge, type BadgeProps, Caption, Drawer, Header1, Header2, Header3, Header4, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, PageCard, PageCardContent, type PageCardContentProps, PageCardHeader, type PageCardHeaderProps, PageCardImage, type PageCardImageProps, type PageCardProps, Preheader, Section, Subheader1, Subheader2, Switch, type SwitchProps, Text1, Text2, Textarea, type TextareaProps, themes };
|
|
331
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, Caption, Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, Drawer, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, DropdownMenuSubTrigger, DropdownMenuTrigger, Header1, Header2, Header3, Header4, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, PageCard, PageCardContent, type PageCardContentProps, PageCardHeader, type PageCardHeaderProps, PageCardImage, type PageCardImageProps, type PageCardProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, PopoverPortal, type PopoverProps, PopoverTrigger, Preheader, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Section, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, Subheader1, Subheader2, Switch, type SwitchProps, Text1, Text2, Textarea, type TextareaProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipPortal, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, themes };
|
package/dist/primitives/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Badge, Button2 as Button, Caption, Drawer, Header1, Header2, Header3, Header4, Input, Label, Link, PageCard, PageCardContent, PageCardHeader, PageCardImage, Preheader, Section, Subheader1, Subheader2, Switch2 as Switch, Text1, Text2, Textarea, themes } from '../chunk-
|
|
2
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Button2 as Button, Caption, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Header1, Header2, Header3, Header4, Image, Input, Label, Link, PageCard, PageCardContent, PageCardHeader, PageCardImage, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Preheader, RadioGroup, RadioGroupItem, Section, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Subheader1, Subheader2, Switch2 as Switch, Text1, Text2, Textarea, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, themes } from '../chunk-SGNRWWG3.js';
|
|
3
|
+
import '../chunk-XU7ALPGQ.js';
|
|
3
4
|
//# sourceMappingURL=index.js.map
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
package/dist/renderer/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { T as Theme } from '../section-background-
|
|
3
|
-
import {
|
|
2
|
+
import { T as Theme } from '../section-background-MsdE40Rk.js';
|
|
3
|
+
import { c as WidgetInstance, P as PageData } from '../widget-B_RoG6se.js';
|
|
4
4
|
import { P as PageBuilderLinkComponent } from '../nav-link-BfxvQ1s6.js';
|
|
5
5
|
export { a as PageBuilderLinkProps, b as PageBuilderLinkProvider } from '../nav-link-BfxvQ1s6.js';
|
|
6
|
-
import '../theme-style-
|
|
6
|
+
import '../theme-style-Cbl7NM-T.js';
|
|
7
7
|
|
|
8
8
|
interface PageRendererProps {
|
|
9
9
|
layout: WidgetInstance[];
|
package/dist/renderer/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { EditableBlock, PageRenderer, generateThemeStyles } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
export { PageBuilderLinkProvider } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
2
|
+
export { EditableBlock, PageRenderer, generateThemeStyles } from '../chunk-HDINUNI2.js';
|
|
3
|
+
import '../chunk-UO7XGBGM.js';
|
|
4
|
+
export { PageBuilderLinkProvider } from '../chunk-H4P5MFJI.js';
|
|
5
|
+
import '../chunk-SGNRWWG3.js';
|
|
6
|
+
import '../chunk-XU7ALPGQ.js';
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
7
8
|
//# sourceMappingURL=index.js.map
|