@crediblemark/build 0.25.7 → 0.25.8

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.
Files changed (50) hide show
  1. package/dist/ArrayField-HYHS4HCO.mjs +17 -0
  2. package/dist/{Editor-GDIQRAYD.mjs → Editor-P3UUWNSZ.mjs} +8 -10
  3. package/dist/ObjectField-4N5XWAFL.mjs +17 -0
  4. package/dist/{actions-LaZpJ1KE.d.ts → actions-CKSDxt4l.d.mts} +1 -1
  5. package/dist/{actions-LaZpJ1KE.d.mts → actions-CKSDxt4l.d.ts} +1 -1
  6. package/dist/{chunk-J2UWT4L6.mjs → chunk-44PQTFGV.mjs} +5 -7
  7. package/dist/{chunk-23V3TMNT.mjs → chunk-AZFZRLP7.mjs} +7 -7
  8. package/dist/{chunk-ETN6FGIH.mjs → chunk-E4F5M5JH.mjs} +1 -1
  9. package/dist/chunk-HHKM5MBJ.mjs +3163 -0
  10. package/dist/{chunk-M4S65TWW.mjs → chunk-KN26YZZJ.mjs} +285 -130
  11. package/dist/{chunk-ERLZ5CJF.mjs → chunk-MWCFPGI6.mjs} +1153 -3236
  12. package/dist/{chunk-64A37UUC.mjs → chunk-O44M27KT.mjs} +442 -7
  13. package/dist/{chunk-EDTYTRV5.mjs → chunk-P2AZFZ7Q.mjs} +2 -2
  14. package/dist/{chunk-GUUI5HW3.mjs → chunk-PFHKXXSV.mjs} +1 -1
  15. package/dist/{chunk-JERQUUM4.mjs → chunk-S32JZ2HU.mjs} +1 -1
  16. package/dist/{chunk-35OY5UFR.mjs → chunk-T2LBDQLG.mjs} +7 -7
  17. package/dist/{chunk-EWOJLVHT.mjs → chunk-XLRMLBFR.mjs} +1 -1
  18. package/dist/{chunk-BXF2PDCW.mjs → chunk-Z7DDX2XU.mjs} +2 -2
  19. package/dist/{full-Y52CQK4X.mjs → full-3VRJOFG5.mjs} +6 -8
  20. package/dist/{index-CD3PszvP.d.mts → index-Ds4Dkkyr.d.mts} +1 -1
  21. package/dist/{index-Bj2x5pZ7.d.ts → index-DwajIHZf.d.ts} +1 -1
  22. package/dist/index.css +188 -2
  23. package/dist/index.d.mts +8 -40
  24. package/dist/index.d.ts +8 -40
  25. package/dist/index.js +1224 -567
  26. package/dist/index.mjs +25 -25
  27. package/dist/internal.d.mts +2 -2
  28. package/dist/internal.d.ts +2 -2
  29. package/dist/internal.mjs +1 -2
  30. package/dist/{loaded-K43N3OFP.mjs → loaded-C2JGMUXV.mjs} +3 -5
  31. package/dist/{loaded-MWBOE5CB.mjs → loaded-FJHWTGH6.mjs} +3 -5
  32. package/dist/{loaded-IWWCJE75.mjs → loaded-NTEK7RT3.mjs} +3 -5
  33. package/dist/no-external.css +188 -2
  34. package/dist/no-external.d.mts +4 -4
  35. package/dist/no-external.d.ts +4 -4
  36. package/dist/no-external.js +1224 -567
  37. package/dist/no-external.mjs +25 -25
  38. package/dist/rsc.css +1420 -0
  39. package/dist/rsc.d.mts +2 -2
  40. package/dist/rsc.d.ts +2 -2
  41. package/dist/rsc.js +10324 -1007
  42. package/dist/rsc.mjs +20 -3
  43. package/dist/{walk-tree-BEw6kTXm.d.ts → walk-tree-B_jHFa3L.d.mts} +39 -2
  44. package/dist/{walk-tree-BO8uRNcW.d.mts → walk-tree-DHMRjk5Z.d.ts} +39 -2
  45. package/package.json +1 -1
  46. package/dist/ArrayField-OIQQLS2B.mjs +0 -19
  47. package/dist/ObjectField-WOW3T2WS.mjs +0 -19
  48. package/dist/chunk-2RLA42JA.mjs +0 -455
  49. package/dist/chunk-7LXZOPYT.mjs +0 -445
  50. package/dist/chunk-SMAWAXVX.mjs +0 -139
package/dist/index.css CHANGED
@@ -2848,8 +2848,8 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2848
2848
  }
2849
2849
 
2850
2850
  /* css-module:/home/runner/work/credbuild/credbuild/plugins/blocks/styles.module.css/#css-module-data */
2851
- ._BlocksPlugin_1ey1i_1 {
2852
- padding: 16px;
2851
+ ._BlocksPlugin_1q0b2_1 {
2852
+ padding: 0 16px 16px 16px;
2853
2853
  height: 100%;
2854
2854
  overflow-y: auto;
2855
2855
  box-sizing: border-box;
@@ -2882,3 +2882,189 @@ body:has(._DropZone--isAnimating_1vmgt_68:empty) [data-credbuild-overlay] {
2882
2882
  padding: 16px;
2883
2883
  }
2884
2884
  }
2885
+
2886
+ /* css-module:/home/runner/work/credbuild/credbuild/plugins/code/styles.module.css/#css-module-data */
2887
+ ._CodePlugin_77s8n_1 {
2888
+ display: flex;
2889
+ flex-direction: column;
2890
+ height: 100%;
2891
+ box-sizing: border-box;
2892
+ overflow: hidden;
2893
+ }
2894
+ ._CodePanel_77s8n_9 {
2895
+ display: flex;
2896
+ flex-direction: column;
2897
+ height: 100%;
2898
+ padding: 12px;
2899
+ box-sizing: border-box;
2900
+ overflow-y: auto;
2901
+ }
2902
+ ._CodePanel-title_77s8n_18 {
2903
+ font-size: 11px !important;
2904
+ font-weight: 600 !important;
2905
+ text-transform: uppercase !important;
2906
+ letter-spacing: 0.05em !important;
2907
+ color: var(--cb-silver-muted) !important;
2908
+ margin-bottom: 12px !important;
2909
+ }
2910
+ ._CodePanel_77s8n_9 textarea._CodePanel-textarea_77s8n_27 {
2911
+ height: 180px !important;
2912
+ min-height: 180px !important;
2913
+ width: 100% !important;
2914
+ font-family:
2915
+ ui-monospace,
2916
+ SFMono-Regular,
2917
+ Menlo,
2918
+ Monaco,
2919
+ Consolas,
2920
+ "Liberation Mono",
2921
+ "Courier New",
2922
+ monospace !important;
2923
+ font-size: 12px !important;
2924
+ line-height: 1.5 !important;
2925
+ background-color: var(--cb-bg-base) !important;
2926
+ color: var(--cb-silver) !important;
2927
+ border: 1px solid var(--cb-border) !important;
2928
+ border-radius: var(--cb-radius-m) !important;
2929
+ padding: 10px !important;
2930
+ resize: none !important;
2931
+ box-sizing: border-box !important;
2932
+ margin-bottom: 12px !important;
2933
+ }
2934
+ ._CodePanel_77s8n_9 textarea._CodePanel-textarea_77s8n_27:focus {
2935
+ border-color: var(--cb-gold) !important;
2936
+ outline: none !important;
2937
+ }
2938
+ ._CodePanel-optionsSection_77s8n_49 {
2939
+ margin-bottom: 12px !important;
2940
+ }
2941
+ ._CodePanel-optionTitle_77s8n_53 {
2942
+ font-size: 11px !important;
2943
+ font-weight: 600 !important;
2944
+ text-transform: uppercase !important;
2945
+ letter-spacing: 0.05em !important;
2946
+ color: var(--cb-silver-muted) !important;
2947
+ margin-bottom: 6px !important;
2948
+ }
2949
+ ._CodePanel-radioGroup_77s8n_62 {
2950
+ display: flex !important;
2951
+ flex-direction: column !important;
2952
+ gap: 6px !important;
2953
+ }
2954
+ ._CodePanel-radioLabel_77s8n_68 {
2955
+ display: flex !important;
2956
+ align-items: center !important;
2957
+ gap: 8px !important;
2958
+ font-size: 12px !important;
2959
+ color: var(--cb-silver) !important;
2960
+ cursor: pointer !important;
2961
+ }
2962
+ ._CodePanel-radioInput_77s8n_77 {
2963
+ accent-color: var(--cb-gold) !important;
2964
+ cursor: pointer !important;
2965
+ margin: 0 !important;
2966
+ width: auto !important;
2967
+ height: auto !important;
2968
+ min-height: 0 !important;
2969
+ display: inline-block !important;
2970
+ }
2971
+ ._CodePanel-button_77s8n_87 {
2972
+ background: var(--cb-gold) !important;
2973
+ color: var(--cb-bg-base) !important;
2974
+ border: none !important;
2975
+ padding: 8px 16px !important;
2976
+ border-radius: var(--cb-radius-m) !important;
2977
+ font-weight: 700 !important;
2978
+ font-size: 11px !important;
2979
+ text-transform: uppercase !important;
2980
+ letter-spacing: 0.05em !important;
2981
+ cursor: pointer !important;
2982
+ transition: opacity 0.2s ease, transform 0.1s ease !important;
2983
+ display: flex !important;
2984
+ align-items: center !important;
2985
+ justify-content: center !important;
2986
+ gap: 8px !important;
2987
+ height: 36px !important;
2988
+ width: auto !important;
2989
+ }
2990
+ ._CodePanel-button_77s8n_87:hover {
2991
+ opacity: 0.9 !important;
2992
+ }
2993
+ ._CodePanel-button_77s8n_87:active {
2994
+ transform: scale(0.98) !important;
2995
+ }
2996
+ ._CodePanel-button_77s8n_87:disabled {
2997
+ opacity: 0.5 !important;
2998
+ cursor: not-allowed !important;
2999
+ }
3000
+ ._CodePanel-error_77s8n_120 {
3001
+ color: #f87171 !important;
3002
+ font-size: 11px !important;
3003
+ margin-bottom: 12px !important;
3004
+ line-height: 1.4 !important;
3005
+ padding: 8px !important;
3006
+ background-color: rgba(239, 68, 68, 0.1) !important;
3007
+ border: 1px solid rgba(239, 68, 68, 0.2) !important;
3008
+ border-radius: var(--cb-radius-m) !important;
3009
+ }
3010
+ ._CodePanel-success_77s8n_131 {
3011
+ color: #34d399 !important;
3012
+ font-size: 11px !important;
3013
+ margin-bottom: 12px !important;
3014
+ line-height: 1.4 !important;
3015
+ padding: 8px !important;
3016
+ background-color: rgba(16, 185, 129, 0.1) !important;
3017
+ border: 1px solid rgba(16, 185, 129, 0.2) !important;
3018
+ border-radius: var(--cb-radius-m) !important;
3019
+ }
3020
+ ._CodePanel-promptSection_77s8n_142 {
3021
+ margin-top: 16px !important;
3022
+ border-top: 1px solid var(--cb-border) !important;
3023
+ padding-top: 12px !important;
3024
+ }
3025
+ ._CodePanel-promptHeader_77s8n_148 {
3026
+ display: flex !important;
3027
+ align-items: center !important;
3028
+ justify-content: space-between !important;
3029
+ margin-bottom: 8px !important;
3030
+ }
3031
+ ._CodePanel-promptText_77s8n_155 {
3032
+ font-size: 11px !important;
3033
+ line-height: 1.5 !important;
3034
+ background-color: var(--cb-bg-base) !important;
3035
+ color: var(--cb-silver-muted) !important;
3036
+ border: 1px solid var(--cb-border) !important;
3037
+ border-radius: var(--cb-radius-m) !important;
3038
+ padding: 10px !important;
3039
+ white-space: pre-wrap !important;
3040
+ font-family: inherit !important;
3041
+ max-height: 80px !important;
3042
+ overflow-y: auto !important;
3043
+ }
3044
+ ._CodePanel-copyBtn_77s8n_169 {
3045
+ background: transparent !important;
3046
+ border: 1px solid var(--cb-border) !important;
3047
+ color: var(--cb-silver-muted) !important;
3048
+ padding: 4px 8px !important;
3049
+ border-radius: var(--cb-radius-m) !important;
3050
+ font-size: 10px !important;
3051
+ font-weight: 600 !important;
3052
+ cursor: pointer !important;
3053
+ display: flex !important;
3054
+ align-items: center !important;
3055
+ gap: 4px !important;
3056
+ transition: all 0.2s ease !important;
3057
+ height: auto !important;
3058
+ width: auto !important;
3059
+ line-height: 1 !important;
3060
+ }
3061
+ ._CodePanel-copyBtn_77s8n_169:hover {
3062
+ border-color: var(--cb-gold) !important;
3063
+ color: var(--cb-gold) !important;
3064
+ background-color: var(--cb-gold-faint) !important;
3065
+ }
3066
+ ._CodePanel-copyBtn--copied_77s8n_193 {
3067
+ color: #34d399 !important;
3068
+ border-color: rgba(16, 185, 129, 0.4) !important;
3069
+ background-color: rgba(16, 185, 129, 0.05) !important;
3070
+ }
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { p as Field, q as FieldProps, r as ResponsiveValue, s as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, i as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-LaZpJ1KE.mjs';
2
- export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, b as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BO8uRNcW.mjs';
1
+ import { r as Field, s as FieldProps, a as Config, U as UserGenerics, D as Data, g as UiState, O as OnAction, b as Permissions, e as Plugin, f as Overrides, i as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, d as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-CKSDxt4l.mjs';
2
+ export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, h as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, m as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, o as DefaultComponentProps, n as DefaultComponents, p as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, k as ResponsiveValue, ah as RichText, j as RichtextField, ai as RootConfig, q as RootData, R as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-CKSDxt4l.mjs';
3
+ export { C as ColorPickerField, D as DropZone, R as ResponsiveSliderField, S as SliderField, m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-B_jHFa3L.mjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as react from 'react';
6
- import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
- import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-CD3PszvP.mjs';
6
+ import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
+ import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-Ds4Dkkyr.mjs';
8
8
  import '@tiptap/react';
9
9
  import '@tiptap/extension-blockquote';
10
10
  import '@tiptap/extension-bold';
@@ -71,38 +71,6 @@ declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<Value
71
71
  value: any;
72
72
  }): react_jsx_runtime.JSX.Element | null;
73
73
 
74
- type SliderFieldProps = {
75
- value: string | number;
76
- onChange: (value: string | number) => void;
77
- label?: string;
78
- min?: number;
79
- max?: number;
80
- step?: number;
81
- unit?: string;
82
- defaultValue?: string | number;
83
- useUnits?: boolean;
84
- style?: react__default.CSSProperties;
85
- };
86
- declare const SliderField: ({ value, onChange, min, max, step, unit, defaultValue, useUnits, style }: SliderFieldProps) => react_jsx_runtime.JSX.Element;
87
-
88
- type ResponsiveSliderFieldProps = {
89
- value: ResponsiveValue;
90
- onChange: (value: ResponsiveValue) => void;
91
- label?: string;
92
- unit?: string;
93
- max?: number;
94
- min?: number;
95
- step?: number;
96
- defaultValue?: number | ResponsiveValue;
97
- };
98
- declare const ResponsiveSliderField: ({ value, onChange, label, unit, max, min, step, defaultValue }: ResponsiveSliderFieldProps) => react_jsx_runtime.JSX.Element;
99
-
100
- type ColorPickerFieldProps = {
101
- value: string;
102
- onChange: (value: string) => void;
103
- };
104
- declare const ColorPickerField: ({ value, onChange }: ColorPickerFieldProps) => react_jsx_runtime.JSX.Element;
105
-
106
74
  declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, ...props }: {
107
75
  children: ReactNode;
108
76
  href?: string;
@@ -137,8 +105,6 @@ declare const Drawer: {
137
105
  }) => react_jsx_runtime.JSX.Element;
138
106
  };
139
107
 
140
- declare const DropZone: react.ForwardRefExoticComponent<Omit<DropZoneProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
141
-
142
108
  declare const IconButton: ({ active, children, href, onClick, type, disabled, tabIndex, newTab, fullWidth, title, suppressHydrationWarning, }: {
143
109
  active?: boolean;
144
110
  children: ReactNode;
@@ -336,4 +302,6 @@ declare const outlinePlugin: () => Plugin;
336
302
 
337
303
  declare const legacySideBarPlugin: () => Plugin;
338
304
 
339
- export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, ResponsiveValue, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
305
+ declare const codePlugin: () => Plugin;
306
+
307
+ export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, codePlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { p as Field, q as FieldProps, r as ResponsiveValue, s as DropZoneProps, a as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, i as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-LaZpJ1KE.js';
2
- export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, m as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, b as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, ah as RichText, o as RichtextField, ai as RootConfig, R as RootData, h as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-LaZpJ1KE.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BEw6kTXm.js';
1
+ import { r as Field, s as FieldProps, a as Config, U as UserGenerics, D as Data, g as UiState, O as OnAction, b as Permissions, e as Plugin, f as Overrides, i as FieldTransforms, C as CredBuildAction, V as Viewports, I as IframeConfig, t as InitialHistory, M as Metadata, d as ResolveDataTrigger, u as ItemSelector, c as ComponentData, v as PluginInternal } from './actions-CKSDxt4l.js';
2
+ export { w as Adaptor, A as AppState, x as ArrayField, y as ArrayState, z as AsFieldProps, B as BaseData, E as BaseField, G as CacheOpts, h as ComponentConfig, J as ComponentConfigExtensions, K as ComponentConfigParams, L as ComponentDataMap, N as ComponentDataOptionalId, Q as ComponentMetadata, S as ConfigParams, m as Content, T as CredBuildComponent, X as CredBuildContext, Y as CredBuildMetadata, Z as CustomField, _ as CustomFieldRender, o as DefaultComponentProps, n as DefaultComponents, p as DefaultRootFieldProps, $ as DefaultRootProps, a0 as DefaultRootRenderProps, a1 as Direction, a2 as DragAxis, a3 as ExternalField, a4 as ExternalFieldWithAdaptor, a5 as ExtractConfigParams, a6 as ExtractField, a7 as FieldMetadata, a8 as FieldRenderFunctions, a9 as FieldTransformFn, aa as FieldTransformFnParams, F as Fields, H as History, ab as ItemWithId, ac as MappedItem, ad as NumberField, ae as ObjectField, af as OverrideKey, ag as RadioField, k as ResponsiveValue, ah as RichText, j as RichtextField, ai as RootConfig, q as RootData, R as RootDataWithProps, aj as RootDataWithoutProps, ak as SelectField, al as Slot, am as SlotComponent, an as SlotField, ao as TextField, ap as TextareaField, aq as Viewport, ar as WithChildren, as as WithCredBuildProps, W as WithId, at as WithSlotProps, au as overrideKeys } from './actions-CKSDxt4l.js';
3
+ export { C as ColorPickerField, D as DropZone, R as ResponsiveSliderField, S as SliderField, m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DHMRjk5Z.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as react from 'react';
6
- import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
- import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-Bj2x5pZ7.js';
6
+ import { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
+ import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-DwajIHZf.js';
8
8
  import '@tiptap/react';
9
9
  import '@tiptap/extension-blockquote';
10
10
  import '@tiptap/extension-bold';
@@ -71,38 +71,6 @@ declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<Value
71
71
  value: any;
72
72
  }): react_jsx_runtime.JSX.Element | null;
73
73
 
74
- type SliderFieldProps = {
75
- value: string | number;
76
- onChange: (value: string | number) => void;
77
- label?: string;
78
- min?: number;
79
- max?: number;
80
- step?: number;
81
- unit?: string;
82
- defaultValue?: string | number;
83
- useUnits?: boolean;
84
- style?: react__default.CSSProperties;
85
- };
86
- declare const SliderField: ({ value, onChange, min, max, step, unit, defaultValue, useUnits, style }: SliderFieldProps) => react_jsx_runtime.JSX.Element;
87
-
88
- type ResponsiveSliderFieldProps = {
89
- value: ResponsiveValue;
90
- onChange: (value: ResponsiveValue) => void;
91
- label?: string;
92
- unit?: string;
93
- max?: number;
94
- min?: number;
95
- step?: number;
96
- defaultValue?: number | ResponsiveValue;
97
- };
98
- declare const ResponsiveSliderField: ({ value, onChange, label, unit, max, min, step, defaultValue }: ResponsiveSliderFieldProps) => react_jsx_runtime.JSX.Element;
99
-
100
- type ColorPickerFieldProps = {
101
- value: string;
102
- onChange: (value: string) => void;
103
- };
104
- declare const ColorPickerField: ({ value, onChange }: ColorPickerFieldProps) => react_jsx_runtime.JSX.Element;
105
-
106
74
  declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, ...props }: {
107
75
  children: ReactNode;
108
76
  href?: string;
@@ -137,8 +105,6 @@ declare const Drawer: {
137
105
  }) => react_jsx_runtime.JSX.Element;
138
106
  };
139
107
 
140
- declare const DropZone: react.ForwardRefExoticComponent<Omit<DropZoneProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
141
-
142
108
  declare const IconButton: ({ active, children, href, onClick, type, disabled, tabIndex, newTab, fullWidth, title, suppressHydrationWarning, }: {
143
109
  active?: boolean;
144
110
  children: ReactNode;
@@ -336,4 +302,6 @@ declare const outlinePlugin: () => Plugin;
336
302
 
337
303
  declare const legacySideBarPlugin: () => Plugin;
338
304
 
339
- export { Action, ActionBar, AutoField, Button, ColorPickerField, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, ResponsiveSliderField, ResponsiveValue, RichTextMenu, Separator, SliderField, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };
305
+ declare const codePlugin: () => Plugin;
306
+
307
+ export { Action, ActionBar, AutoField, Button, ComponentData, Config, CredBuild, CredBuildAction, type CredBuildApi, Data, Drawer, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UseCredBuildData, UserGenerics, Viewports, blocksPlugin, codePlugin, createUseCredBuild, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, setDeep, useCredBuild, useGetCredBuild };