@builder.io/sdk-svelte 4.0.3 → 4.0.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/lib/browser/blocks/image/component-info.js +4 -0
- package/lib/browser/blocks/image/image.svelte +2 -0
- package/lib/browser/blocks/image/image.svelte.d.ts +1 -0
- package/lib/browser/blocks/image/image.types.d.ts +1 -0
- package/lib/browser/components/blocks/blocks-wrapper.svelte +3 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/constants/sdk-version.js +1 -1
- package/lib/edge/blocks/image/component-info.js +4 -0
- package/lib/edge/blocks/image/image.svelte +2 -0
- package/lib/edge/blocks/image/image.svelte.d.ts +1 -0
- package/lib/edge/blocks/image/image.types.d.ts +1 -0
- package/lib/edge/components/blocks/blocks-wrapper.svelte +3 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/constants/sdk-version.js +1 -1
- package/lib/node/blocks/image/component-info.js +4 -0
- package/lib/node/blocks/image/image.svelte +2 -0
- package/lib/node/blocks/image/image.svelte.d.ts +1 -0
- package/lib/node/blocks/image/image.types.d.ts +1 -0
- package/lib/node/components/blocks/blocks-wrapper.svelte +3 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/constants/sdk-version.js +1 -1
- package/package.json +1 -1
- package/src/blocks/image/component-info.ts +4 -0
- package/src/blocks/image/image.svelte +2 -0
- package/src/blocks/image/image.types.ts +1 -0
- package/src/components/blocks/blocks-wrapper.svelte +6 -0
- package/src/constants/sdk-version.ts +1 -1
|
@@ -87,6 +87,10 @@ export const componentInfo = {
|
|
|
87
87
|
name: 'altText',
|
|
88
88
|
type: 'string',
|
|
89
89
|
helperText: 'Text to display when the user has images off'
|
|
90
|
+
}, {
|
|
91
|
+
name: 'title',
|
|
92
|
+
type: 'string',
|
|
93
|
+
helperText: 'Text to display when hovering over the asset'
|
|
90
94
|
}, {
|
|
91
95
|
name: 'height',
|
|
92
96
|
type: 'number',
|
|
@@ -6,6 +6,7 @@ export let noWebp = undefined;
|
|
|
6
6
|
export let aspectRatio = undefined;
|
|
7
7
|
export let highPriority = undefined;
|
|
8
8
|
export let altText = undefined;
|
|
9
|
+
export let title = undefined;
|
|
9
10
|
export let backgroundPosition = undefined;
|
|
10
11
|
export let backgroundSize = undefined;
|
|
11
12
|
export let className = undefined;
|
|
@@ -79,6 +80,7 @@ $: aspectRatioCss = () => {
|
|
|
79
80
|
loading={highPriority ? "eager" : "lazy"}
|
|
80
81
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
81
82
|
alt={altText}
|
|
83
|
+
{title}
|
|
82
84
|
role={altText ? undefined : "presentation"}
|
|
83
85
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
84
86
|
src={image}
|
|
@@ -9,6 +9,7 @@ declare const __propDef: {
|
|
|
9
9
|
aspectRatio?: ImageProps["aspectRatio"];
|
|
10
10
|
highPriority?: ImageProps["highPriority"];
|
|
11
11
|
altText?: ImageProps["altText"];
|
|
12
|
+
title?: ImageProps["title"];
|
|
12
13
|
backgroundPosition?: ImageProps["backgroundPosition"];
|
|
13
14
|
backgroundSize?: ImageProps["backgroundSize"];
|
|
14
15
|
className?: ImageProps["className"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.0.
|
|
1
|
+
export declare const SDK_VERSION = "4.0.4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.0.
|
|
1
|
+
export const SDK_VERSION = "4.0.4";
|
|
@@ -87,6 +87,10 @@ export const componentInfo = {
|
|
|
87
87
|
name: 'altText',
|
|
88
88
|
type: 'string',
|
|
89
89
|
helperText: 'Text to display when the user has images off'
|
|
90
|
+
}, {
|
|
91
|
+
name: 'title',
|
|
92
|
+
type: 'string',
|
|
93
|
+
helperText: 'Text to display when hovering over the asset'
|
|
90
94
|
}, {
|
|
91
95
|
name: 'height',
|
|
92
96
|
type: 'number',
|
|
@@ -6,6 +6,7 @@ export let noWebp = undefined;
|
|
|
6
6
|
export let aspectRatio = undefined;
|
|
7
7
|
export let highPriority = undefined;
|
|
8
8
|
export let altText = undefined;
|
|
9
|
+
export let title = undefined;
|
|
9
10
|
export let backgroundPosition = undefined;
|
|
10
11
|
export let backgroundSize = undefined;
|
|
11
12
|
export let className = undefined;
|
|
@@ -79,6 +80,7 @@ $: aspectRatioCss = () => {
|
|
|
79
80
|
loading={highPriority ? "eager" : "lazy"}
|
|
80
81
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
81
82
|
alt={altText}
|
|
83
|
+
{title}
|
|
82
84
|
role={altText ? undefined : "presentation"}
|
|
83
85
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
84
86
|
src={image}
|
|
@@ -9,6 +9,7 @@ declare const __propDef: {
|
|
|
9
9
|
aspectRatio?: ImageProps["aspectRatio"];
|
|
10
10
|
highPriority?: ImageProps["highPriority"];
|
|
11
11
|
altText?: ImageProps["altText"];
|
|
12
|
+
title?: ImageProps["title"];
|
|
12
13
|
backgroundPosition?: ImageProps["backgroundPosition"];
|
|
13
14
|
backgroundSize?: ImageProps["backgroundSize"];
|
|
14
15
|
className?: ImageProps["className"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.0.
|
|
1
|
+
export declare const SDK_VERSION = "4.0.4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.0.
|
|
1
|
+
export const SDK_VERSION = "4.0.4";
|
|
@@ -87,6 +87,10 @@ export const componentInfo = {
|
|
|
87
87
|
name: 'altText',
|
|
88
88
|
type: 'string',
|
|
89
89
|
helperText: 'Text to display when the user has images off'
|
|
90
|
+
}, {
|
|
91
|
+
name: 'title',
|
|
92
|
+
type: 'string',
|
|
93
|
+
helperText: 'Text to display when hovering over the asset'
|
|
90
94
|
}, {
|
|
91
95
|
name: 'height',
|
|
92
96
|
type: 'number',
|
|
@@ -6,6 +6,7 @@ export let noWebp = undefined;
|
|
|
6
6
|
export let aspectRatio = undefined;
|
|
7
7
|
export let highPriority = undefined;
|
|
8
8
|
export let altText = undefined;
|
|
9
|
+
export let title = undefined;
|
|
9
10
|
export let backgroundPosition = undefined;
|
|
10
11
|
export let backgroundSize = undefined;
|
|
11
12
|
export let className = undefined;
|
|
@@ -79,6 +80,7 @@ $: aspectRatioCss = () => {
|
|
|
79
80
|
loading={highPriority ? "eager" : "lazy"}
|
|
80
81
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
81
82
|
alt={altText}
|
|
83
|
+
{title}
|
|
82
84
|
role={altText ? undefined : "presentation"}
|
|
83
85
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
84
86
|
src={image}
|
|
@@ -9,6 +9,7 @@ declare const __propDef: {
|
|
|
9
9
|
aspectRatio?: ImageProps["aspectRatio"];
|
|
10
10
|
highPriority?: ImageProps["highPriority"];
|
|
11
11
|
altText?: ImageProps["altText"];
|
|
12
|
+
title?: ImageProps["title"];
|
|
12
13
|
backgroundPosition?: ImageProps["backgroundPosition"];
|
|
13
14
|
backgroundSize?: ImageProps["backgroundSize"];
|
|
14
15
|
className?: ImageProps["className"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.0.
|
|
1
|
+
export declare const SDK_VERSION = "4.0.4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.0.
|
|
1
|
+
export const SDK_VERSION = "4.0.4";
|
package/package.json
CHANGED
|
@@ -89,6 +89,10 @@ export const componentInfo: ComponentInfo = {
|
|
|
89
89
|
name: 'altText',
|
|
90
90
|
type: 'string',
|
|
91
91
|
helperText: 'Text to display when the user has images off'
|
|
92
|
+
}, {
|
|
93
|
+
name: 'title',
|
|
94
|
+
type: 'string',
|
|
95
|
+
helperText: 'Text to display when hovering over the asset'
|
|
92
96
|
}, {
|
|
93
97
|
name: 'height',
|
|
94
98
|
type: 'number',
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
export let aspectRatio: ImageProps["aspectRatio"] = undefined;
|
|
10
10
|
export let highPriority: ImageProps["highPriority"] = undefined;
|
|
11
11
|
export let altText: ImageProps["altText"] = undefined;
|
|
12
|
+
export let title: ImageProps["title"] = undefined;
|
|
12
13
|
export let backgroundPosition: ImageProps["backgroundPosition"] = undefined;
|
|
13
14
|
export let backgroundSize: ImageProps["backgroundSize"] = undefined;
|
|
14
15
|
export let className: ImageProps["className"] = undefined;
|
|
@@ -86,6 +87,7 @@
|
|
|
86
87
|
loading={highPriority ? "eager" : "lazy"}
|
|
87
88
|
fetchpriority={highPriority ? "high" : "auto"}
|
|
88
89
|
alt={altText}
|
|
90
|
+
{title}
|
|
89
91
|
role={altText ? undefined : "presentation"}
|
|
90
92
|
class={"builder-image" + (className ? " " + className : "") + " img"}
|
|
91
93
|
src={image}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.0.
|
|
1
|
+
export const SDK_VERSION = "4.0.4"
|