@builder.io/sdk-svelte 5.2.7 → 5.2.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.
- package/lib/browser/blocks/image/image.svelte +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/constants/sdk-version.js +1 -1
- package/lib/browser/types/components.d.ts +14 -0
- package/lib/edge/blocks/image/image.svelte +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/constants/sdk-version.js +1 -1
- package/lib/edge/types/components.d.ts +14 -0
- package/lib/node/blocks/image/image.svelte +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/constants/sdk-version.js +1 -1
- package/lib/node/types/components.d.ts +14 -0
- package/package.json +1 -1
- package/src/blocks/image/image.svelte +1 -1
- package/src/constants/sdk-version.ts +1 -1
- package/src/types/components.ts +15 -0
|
@@ -84,7 +84,7 @@ onMount(() => { });
|
|
|
84
84
|
})}
|
|
85
85
|
loading={highPriority ? "eager" : "lazy"}
|
|
86
86
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
87
|
-
alt={altText}
|
|
87
|
+
alt={altText || ""}
|
|
88
88
|
{title}
|
|
89
89
|
role={altText ? undefined : "presentation"}
|
|
90
90
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.2.
|
|
1
|
+
export declare const SDK_VERSION = "5.2.8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "5.2.
|
|
1
|
+
export const SDK_VERSION = "5.2.8";
|
|
@@ -98,6 +98,20 @@ export interface ComponentInfo {
|
|
|
98
98
|
query?: any;
|
|
99
99
|
};
|
|
100
100
|
friendlyName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Group custom components into their own accordion sections in the editor's insert menu.
|
|
103
|
+
* Components with the same `group` value are grouped together; components without a `group`
|
|
104
|
+
* (or with a blank value) fall back to the default "Custom Components" accordion.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```js
|
|
108
|
+
* Builder.registerComponent(MyStepComponent, {
|
|
109
|
+
* name: 'Step',
|
|
110
|
+
* group: 'Steps',
|
|
111
|
+
* })
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
group?: string;
|
|
101
115
|
/**
|
|
102
116
|
* Use to restrict access to your component based on a the current user permissions
|
|
103
117
|
* By default components will show to all users
|
|
@@ -84,7 +84,7 @@ onMount(() => { });
|
|
|
84
84
|
})}
|
|
85
85
|
loading={highPriority ? "eager" : "lazy"}
|
|
86
86
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
87
|
-
alt={altText}
|
|
87
|
+
alt={altText || ""}
|
|
88
88
|
{title}
|
|
89
89
|
role={altText ? undefined : "presentation"}
|
|
90
90
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.2.
|
|
1
|
+
export declare const SDK_VERSION = "5.2.8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "5.2.
|
|
1
|
+
export const SDK_VERSION = "5.2.8";
|
|
@@ -98,6 +98,20 @@ export interface ComponentInfo {
|
|
|
98
98
|
query?: any;
|
|
99
99
|
};
|
|
100
100
|
friendlyName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Group custom components into their own accordion sections in the editor's insert menu.
|
|
103
|
+
* Components with the same `group` value are grouped together; components without a `group`
|
|
104
|
+
* (or with a blank value) fall back to the default "Custom Components" accordion.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```js
|
|
108
|
+
* Builder.registerComponent(MyStepComponent, {
|
|
109
|
+
* name: 'Step',
|
|
110
|
+
* group: 'Steps',
|
|
111
|
+
* })
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
group?: string;
|
|
101
115
|
/**
|
|
102
116
|
* Use to restrict access to your component based on a the current user permissions
|
|
103
117
|
* By default components will show to all users
|
|
@@ -84,7 +84,7 @@ onMount(() => { });
|
|
|
84
84
|
})}
|
|
85
85
|
loading={highPriority ? "eager" : "lazy"}
|
|
86
86
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
87
|
-
alt={altText}
|
|
87
|
+
alt={altText || ""}
|
|
88
88
|
{title}
|
|
89
89
|
role={altText ? undefined : "presentation"}
|
|
90
90
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.2.
|
|
1
|
+
export declare const SDK_VERSION = "5.2.8";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "5.2.
|
|
1
|
+
export const SDK_VERSION = "5.2.8";
|
|
@@ -98,6 +98,20 @@ export interface ComponentInfo {
|
|
|
98
98
|
query?: any;
|
|
99
99
|
};
|
|
100
100
|
friendlyName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Group custom components into their own accordion sections in the editor's insert menu.
|
|
103
|
+
* Components with the same `group` value are grouped together; components without a `group`
|
|
104
|
+
* (or with a blank value) fall back to the default "Custom Components" accordion.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```js
|
|
108
|
+
* Builder.registerComponent(MyStepComponent, {
|
|
109
|
+
* name: 'Step',
|
|
110
|
+
* group: 'Steps',
|
|
111
|
+
* })
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
group?: string;
|
|
101
115
|
/**
|
|
102
116
|
* Use to restrict access to your component based on a the current user permissions
|
|
103
117
|
* By default components will show to all users
|
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
})}
|
|
94
94
|
loading={highPriority ? "eager" : "lazy"}
|
|
95
95
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
96
|
-
alt={altText}
|
|
96
|
+
alt={altText || ""}
|
|
97
97
|
{title}
|
|
98
98
|
role={altText ? undefined : "presentation"}
|
|
99
99
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "5.2.
|
|
1
|
+
export const SDK_VERSION = "5.2.8"
|
package/src/types/components.ts
CHANGED
|
@@ -106,6 +106,21 @@ export interface ComponentInfo {
|
|
|
106
106
|
};
|
|
107
107
|
friendlyName?: string;
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Group custom components into their own accordion sections in the editor's insert menu.
|
|
111
|
+
* Components with the same `group` value are grouped together; components without a `group`
|
|
112
|
+
* (or with a blank value) fall back to the default "Custom Components" accordion.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* ```js
|
|
116
|
+
* Builder.registerComponent(MyStepComponent, {
|
|
117
|
+
* name: 'Step',
|
|
118
|
+
* group: 'Steps',
|
|
119
|
+
* })
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
group?: string;
|
|
123
|
+
|
|
109
124
|
/**
|
|
110
125
|
* Use to restrict access to your component based on a the current user permissions
|
|
111
126
|
* By default components will show to all users
|