@squaredr/fieldcraft-pro 1.6.3 → 1.6.4
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/{chunk-AXCQWATI.mjs → chunk-CFVT2R42.mjs} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/dist/index.mjs +1 -1
- package/dist/theme-editor/index.d.mts +1 -3
- package/dist/theme-editor/index.d.ts +1 -3
- package/dist/theme-editor/index.js +0 -1
- package/dist/theme-editor/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1367,4 +1367,4 @@ var themeEditorDarkPreset = {
|
|
|
1367
1367
|
accentForeground: "#0F1A1F"
|
|
1368
1368
|
};
|
|
1369
1369
|
|
|
1370
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor,
|
|
1370
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme };
|
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode, ComponentType } from 'react';
|
|
|
3
3
|
export { B as BuilderState, a as BuilderStateHook, D as DEFAULT_PALETTE, b as DEFAULT_SCHEMA, c as DragItem, d as DropTarget, F as FormBuilder, e as FormBuilderPreviewProps, f as FormBuilderProps, g as FormBuilderTemplate, h as FormBuilderTheme, i as FormBuilderThemeProvider, M as MutationAction, P as PaletteCategory, j as PropertyPanelTab, Q as QUESTION_TYPE_INFO, k as QuestionTypeCategory, l as QuestionTypeInfo, S as SelectedItem, U as UndoRedoState, m as addOption, n as addQuestion, o as addSection, p as cn, q as duplicateQuestion, r as duplicateSection, s as findQuestion, t as findSection, u as generateId, v as generateOptionId, w as generateQuestionId, x as generateSectionId, y as moveOption, z as moveQuestion, A as moveSection, C as removeOption, E as removeQuestion, G as removeSection, H as updateOption, I as updateQuestion, J as updateSection, K as useBuilderState, L as useBuilderTheme, N as useDragDrop, O as useUndoRedo } from './index-D19524df.mjs';
|
|
4
4
|
import { FieldComponent, FieldProps } from '@squaredr/fieldcraft-react';
|
|
5
5
|
export { ResponseField, ResponseViewer, ResponseViewerProps, ViewMode } from './response-viewer/index.mjs';
|
|
6
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, PresetFamily, ThemeEditor,
|
|
6
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, PresetFamily, ThemeEditor, ThemeEditorProps, ThemeEditorTheme, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from './theme-editor/index.mjs';
|
|
7
7
|
import '@squaredr/fieldcraft-core';
|
|
8
8
|
import 'clsx';
|
|
9
9
|
import '@dnd-kit/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode, ComponentType } from 'react';
|
|
|
3
3
|
export { B as BuilderState, a as BuilderStateHook, D as DEFAULT_PALETTE, b as DEFAULT_SCHEMA, c as DragItem, d as DropTarget, F as FormBuilder, e as FormBuilderPreviewProps, f as FormBuilderProps, g as FormBuilderTemplate, h as FormBuilderTheme, i as FormBuilderThemeProvider, M as MutationAction, P as PaletteCategory, j as PropertyPanelTab, Q as QUESTION_TYPE_INFO, k as QuestionTypeCategory, l as QuestionTypeInfo, S as SelectedItem, U as UndoRedoState, m as addOption, n as addQuestion, o as addSection, p as cn, q as duplicateQuestion, r as duplicateSection, s as findQuestion, t as findSection, u as generateId, v as generateOptionId, w as generateQuestionId, x as generateSectionId, y as moveOption, z as moveQuestion, A as moveSection, C as removeOption, E as removeQuestion, G as removeSection, H as updateOption, I as updateQuestion, J as updateSection, K as useBuilderState, L as useBuilderTheme, N as useDragDrop, O as useUndoRedo } from './index-D19524df.js';
|
|
4
4
|
import { FieldComponent, FieldProps } from '@squaredr/fieldcraft-react';
|
|
5
5
|
export { ResponseField, ResponseViewer, ResponseViewerProps, ViewMode } from './response-viewer/index.js';
|
|
6
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, PresetFamily, ThemeEditor,
|
|
6
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, PresetFamily, ThemeEditor, ThemeEditorProps, ThemeEditorTheme, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from './theme-editor/index.js';
|
|
7
7
|
import '@squaredr/fieldcraft-core';
|
|
8
8
|
import 'clsx';
|
|
9
9
|
import '@dnd-kit/core';
|
package/dist/index.js
CHANGED
|
@@ -8896,7 +8896,6 @@ exports.ProPaymentField = ProPaymentField;
|
|
|
8896
8896
|
exports.QUESTION_TYPE_INFO = QUESTION_TYPE_INFO;
|
|
8897
8897
|
exports.ResponseViewer = ResponseViewer;
|
|
8898
8898
|
exports.ThemeEditor = ThemeEditor;
|
|
8899
|
-
exports.ThemeEditorInner = ThemeEditorInner;
|
|
8900
8899
|
exports.ThemeEditorThemeProvider = ThemeEditorThemeProvider;
|
|
8901
8900
|
exports.UnlicensedOverlay = UnlicensedOverlay;
|
|
8902
8901
|
exports.addOption = addOption;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { DEFAULT_PALETTE, DEFAULT_SCHEMA, FormBuilder, FormBuilderThemeProvider, QUESTION_TYPE_INFO, addOption, addQuestion, addSection, duplicateQuestion, duplicateSection, findQuestion, findSection, generateId, generateOptionId, generateQuestionId, generateSectionId, moveOption, moveQuestion, moveSection, removeOption, removeQuestion, removeSection, updateOption, updateQuestion, updateSection, useBuilderState, useBuilderTheme, useDragDrop, useUndoRedo } from './chunk-ANBMT5AW.mjs';
|
|
2
2
|
export { ResponseViewer } from './chunk-5LKGCZAW.mjs';
|
|
3
3
|
export { cn } from './chunk-QQ4JZGTD.mjs';
|
|
4
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor,
|
|
4
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from './chunk-CFVT2R42.mjs';
|
|
5
5
|
export { FieldCraftProProvider, UnlicensedOverlay, isProductionEnvironment, requireLicense, useLicense, validateLicense } from './chunk-VECQKSWS.mjs';
|
|
6
6
|
import { useState, useEffect, Suspense } from 'react';
|
|
7
7
|
import { FieldWrapper } from '@squaredr/fieldcraft-react';
|
|
@@ -58,8 +58,6 @@ type ThemeEditorProps = {
|
|
|
58
58
|
|
|
59
59
|
declare const ThemeEditor: react.ComponentType<ThemeEditorProps>;
|
|
60
60
|
|
|
61
|
-
declare function ThemeEditorInner({ initialTheme, onChange, onSave, theme: chromeTheme, height, width, className, toolbarExtra, showPreview, }: ThemeEditorProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
61
|
declare function useEditorTheme(): ThemeEditorTheme;
|
|
64
62
|
type ThemeEditorThemeProviderProps = {
|
|
65
63
|
theme?: ThemeEditorTheme;
|
|
@@ -98,4 +96,4 @@ declare function resolveThemeFromDOM(): FormEngineTheme;
|
|
|
98
96
|
/** Compact schema used in the ThemeEditor live preview panel. */
|
|
99
97
|
declare const PREVIEW_SCHEMA: FormEngineSchema;
|
|
100
98
|
|
|
101
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, type PresetFamily, ThemeEditor,
|
|
99
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, type PresetFamily, ThemeEditor, type ThemeEditorProps, type ThemeEditorTheme, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme };
|
|
@@ -58,8 +58,6 @@ type ThemeEditorProps = {
|
|
|
58
58
|
|
|
59
59
|
declare const ThemeEditor: react.ComponentType<ThemeEditorProps>;
|
|
60
60
|
|
|
61
|
-
declare function ThemeEditorInner({ initialTheme, onChange, onSave, theme: chromeTheme, height, width, className, toolbarExtra, showPreview, }: ThemeEditorProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
61
|
declare function useEditorTheme(): ThemeEditorTheme;
|
|
64
62
|
type ThemeEditorThemeProviderProps = {
|
|
65
63
|
theme?: ThemeEditorTheme;
|
|
@@ -98,4 +96,4 @@ declare function resolveThemeFromDOM(): FormEngineTheme;
|
|
|
98
96
|
/** Compact schema used in the ThemeEditor live preview panel. */
|
|
99
97
|
declare const PREVIEW_SCHEMA: FormEngineSchema;
|
|
100
98
|
|
|
101
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, type PresetFamily, ThemeEditor,
|
|
99
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, type PresetFamily, ThemeEditor, type ThemeEditorProps, type ThemeEditorTheme, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme };
|
|
@@ -1694,7 +1694,6 @@ var themeEditorDarkPreset = {
|
|
|
1694
1694
|
exports.PRESET_FAMILIES = PRESET_FAMILIES;
|
|
1695
1695
|
exports.PREVIEW_SCHEMA = PREVIEW_SCHEMA;
|
|
1696
1696
|
exports.ThemeEditor = ThemeEditor;
|
|
1697
|
-
exports.ThemeEditorInner = ThemeEditorInner;
|
|
1698
1697
|
exports.ThemeEditorThemeProvider = ThemeEditorThemeProvider;
|
|
1699
1698
|
exports.resolveThemeFromDOM = resolveThemeFromDOM;
|
|
1700
1699
|
exports.themeEditorDarkPreset = themeEditorDarkPreset;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor,
|
|
1
|
+
export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from '../chunk-CFVT2R42.mjs';
|
|
2
2
|
import '../chunk-VECQKSWS.mjs';
|
package/package.json
CHANGED