@builder.io/sdk-solid 3.0.3 → 3.0.6
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/index.d.ts +9 -3
- package/lib/browser/dev.js +543 -147
- package/lib/browser/dev.jsx +562 -158
- package/lib/browser/index.js +543 -147
- package/lib/browser/index.jsx +562 -158
- package/lib/edge/dev.js +543 -147
- package/lib/edge/dev.jsx +562 -158
- package/lib/edge/index.js +543 -147
- package/lib/edge/index.jsx +562 -158
- package/lib/node/dev.js +543 -147
- package/lib/node/dev.jsx +562 -158
- package/lib/node/index.js +543 -147
- package/lib/node/index.jsx +562 -158
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ interface Input {
|
|
|
229
229
|
* Use optionally with inputs of type `reference`. Restricts the content entry picker to a specific model by name.
|
|
230
230
|
*/
|
|
231
231
|
model?: string;
|
|
232
|
+
behavior?: string;
|
|
232
233
|
valueType?: {
|
|
233
234
|
type?: string;
|
|
234
235
|
};
|
|
@@ -465,7 +466,7 @@ interface ComponentInfo {
|
|
|
465
466
|
/**
|
|
466
467
|
* Whether or not the component should receive the `builderBlock` prop, containing the current Builder block being rendered.
|
|
467
468
|
*
|
|
468
|
-
* Defaults to `
|
|
469
|
+
* Defaults to `false`.
|
|
469
470
|
*/
|
|
470
471
|
builderBlock?: boolean;
|
|
471
472
|
/**
|
|
@@ -473,7 +474,7 @@ interface ComponentInfo {
|
|
|
473
474
|
* The Builder Context contains a lot of data relevant to the current `Content` render.
|
|
474
475
|
* You can see more information [here](https://github.com/BuilderIO/builder/blob/main/packages/sdks/src/context/types.ts).
|
|
475
476
|
*
|
|
476
|
-
* Defaults to `
|
|
477
|
+
* Defaults to `false`.
|
|
477
478
|
*/
|
|
478
479
|
builderContext?: boolean;
|
|
479
480
|
/**
|
|
@@ -779,6 +780,11 @@ declare const _default: solid_js.Context<{
|
|
|
779
780
|
model: string;
|
|
780
781
|
}>;
|
|
781
782
|
|
|
783
|
+
interface UserAttributes {
|
|
784
|
+
[key: string]: any;
|
|
785
|
+
}
|
|
786
|
+
declare const setClientUserAttributes: (attributes: UserAttributes) => void;
|
|
787
|
+
|
|
782
788
|
type QueryObject = Record<string, string | string[]>;
|
|
783
789
|
type Search = URLSearchParams | string | QueryObject;
|
|
784
790
|
|
|
@@ -1104,4 +1110,4 @@ declare const _processContentResult: (options: GetContentOptions, content: Conte
|
|
|
1104
1110
|
*/
|
|
1105
1111
|
declare function fetchEntries(options: GetContentOptions): Promise<BuilderContent[]>;
|
|
1106
1112
|
|
|
1107
|
-
export { Blocks, BlocksProps, BuilderBlock, BuilderContent, _default as BuilderContext, BuilderContextInterface, Button, ButtonProps, ColumnProps, Columns, ComponentInfo, ContentVariants as Content, ContentVariantsPrps as ContentProps, FragmentComponent as Fragment, FragmentProps, GetContentOptions, Image, ImageProps, InsertMenuConfig, InsertMenuItem, RegisteredComponent, RegisteredComponents, SectionComponent as Section, SectionProps, Settings, Symbol, SymbolProps, Text, TextProps, Video, VideoProps, _processContentResult, createRegisterComponentMessage, fetchBuilderProps, fetchEntries, fetchOneEntry, getBuilderSearchParams, isEditing, isPreviewing, register, setEditorSettings, subscribeToEditor, track };
|
|
1113
|
+
export { Blocks, BlocksProps, BuilderBlock, BuilderContent, _default as BuilderContext, BuilderContextInterface, Button, ButtonProps, ColumnProps, Columns, ComponentInfo, ContentVariants as Content, ContentVariantsPrps as ContentProps, FragmentComponent as Fragment, FragmentProps, GetContentOptions, Image, ImageProps, InsertMenuConfig, InsertMenuItem, RegisteredComponent, RegisteredComponents, SectionComponent as Section, SectionProps, Settings, Symbol, SymbolProps, Text, TextProps, Video, VideoProps, _processContentResult, createRegisterComponentMessage, fetchBuilderProps, fetchEntries, fetchOneEntry, getBuilderSearchParams, isEditing, isPreviewing, register, setClientUserAttributes, setEditorSettings, subscribeToEditor, track };
|