@builder.io/sdk-svelte 0.1.5 → 0.1.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/package/--package.json +1 -1
- package/package/blocks/button/component-info.js +0 -1
- package/package/blocks/columns/component-info.js +0 -1
- package/package/blocks/custom-code/component-info.js +0 -1
- package/package/blocks/embed/component-info.js +0 -1
- package/package/blocks/form/component-info.js +0 -1
- package/package/blocks/fragment/component-info.js +0 -1
- package/package/blocks/image/component-info.js +0 -1
- package/package/blocks/img/component-info.js +0 -1
- package/package/blocks/input/component-info.js +0 -1
- package/package/blocks/raw-text/component-info.js +0 -1
- package/package/blocks/section/component-info.js +0 -1
- package/package/blocks/select/component-info.js +0 -1
- package/package/blocks/submit-button/component-info.js +0 -1
- package/package/blocks/symbol/component-info.js +0 -1
- package/package/blocks/text/component-info.js +0 -1
- package/package/blocks/textarea/component-info.js +0 -1
- package/package/blocks/video/component-info.js +0 -1
- package/package/types/components.d.ts +0 -1
- package/package.json +1 -1
- package/src/blocks/button/component-info.ts +1 -1
- package/src/blocks/columns/component-info.ts +1 -1
- package/src/blocks/custom-code/component-info.ts +1 -1
- package/src/blocks/embed/component-info.ts +1 -1
- package/src/blocks/form/component-info.ts +1 -1
- package/src/blocks/fragment/component-info.ts +1 -1
- package/src/blocks/image/component-info.ts +1 -1
- package/src/blocks/img/component-info.ts +1 -1
- package/src/blocks/input/component-info.ts +1 -1
- package/src/blocks/raw-text/component-info.ts +1 -1
- package/src/blocks/section/component-info.ts +1 -1
- package/src/blocks/select/component-info.ts +1 -1
- package/src/blocks/submit-button/component-info.ts +1 -1
- package/src/blocks/symbol/component-info.ts +1 -1
- package/src/blocks/text/component-info.ts +1 -1
- package/src/blocks/textarea/component-info.ts +1 -1
- package/src/blocks/video/component-info.ts +1 -1
- package/src/types/components.ts +0 -4
package/package/--package.json
CHANGED
|
@@ -2,7 +2,6 @@ import { serializeFn } from '../util.js';
|
|
|
2
2
|
export const componentInfo = {
|
|
3
3
|
name: 'Image',
|
|
4
4
|
static: true,
|
|
5
|
-
builtIn: true,
|
|
6
5
|
image: 'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4',
|
|
7
6
|
defaultStyles: {
|
|
8
7
|
position: 'relative',
|
|
@@ -2,7 +2,6 @@ export const componentInfo = {
|
|
|
2
2
|
// friendlyName?
|
|
3
3
|
name: 'Raw:Img',
|
|
4
4
|
hideFromInsertMenu: true,
|
|
5
|
-
builtIn: true,
|
|
6
5
|
image: 'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4',
|
|
7
6
|
inputs: [
|
|
8
7
|
{
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export const componentInfo = {
|
|
2
2
|
name: 'Text',
|
|
3
3
|
static: true,
|
|
4
|
-
builtIn: true,
|
|
5
4
|
image: 'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929',
|
|
6
5
|
inputs: [
|
|
7
6
|
{
|
|
@@ -122,7 +122,6 @@ export interface ComponentInfo {
|
|
|
122
122
|
* Passing a list of model names will restrict using the component to only the models listed here, otherwise it'll be available for all models
|
|
123
123
|
*/
|
|
124
124
|
models?: string[];
|
|
125
|
-
builtIn: true;
|
|
126
125
|
/**
|
|
127
126
|
* Specify restrictions direct children must match
|
|
128
127
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
2
2
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Core:Button',
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
image:
|
|
7
7
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13',
|
|
8
8
|
defaultStyles: {
|
|
@@ -4,7 +4,7 @@ import { serializeFn } from '../util.js';
|
|
|
4
4
|
export const componentInfo: ComponentInfo = {
|
|
5
5
|
name: 'Image',
|
|
6
6
|
static: true,
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
image:
|
|
9
9
|
'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4',
|
|
10
10
|
defaultStyles: {
|
|
@@ -4,7 +4,7 @@ export const componentInfo: ComponentInfo = {
|
|
|
4
4
|
// friendlyName?
|
|
5
5
|
name: 'Raw:Img',
|
|
6
6
|
hideFromInsertMenu: true,
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
image:
|
|
9
9
|
'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4',
|
|
10
10
|
inputs: [
|
|
@@ -2,7 +2,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
2
2
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Form:Input',
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
image:
|
|
7
7
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca',
|
|
8
8
|
inputs: [
|
|
@@ -3,7 +3,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Core:Section',
|
|
5
5
|
static: true,
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
image:
|
|
8
8
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a',
|
|
9
9
|
inputs: [
|
|
@@ -2,7 +2,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
2
2
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Form:Select',
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
image:
|
|
7
7
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045',
|
|
8
8
|
defaultStyles: {
|
|
@@ -2,7 +2,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
2
2
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Form:SubmitButton',
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
image:
|
|
7
7
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98',
|
|
8
8
|
defaultStyles: {
|
|
@@ -3,7 +3,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Text',
|
|
5
5
|
static: true,
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
image:
|
|
8
8
|
'https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929',
|
|
9
9
|
inputs: [
|
|
@@ -2,7 +2,7 @@ import type { ComponentInfo } from '../../types/components';
|
|
|
2
2
|
|
|
3
3
|
export const componentInfo: ComponentInfo = {
|
|
4
4
|
name: 'Form:TextArea',
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
image:
|
|
7
7
|
'https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3',
|
|
8
8
|
inputs: [
|
package/src/types/components.ts
CHANGED
|
@@ -118,10 +118,6 @@ export interface ComponentInfo {
|
|
|
118
118
|
*/
|
|
119
119
|
models?: string[];
|
|
120
120
|
|
|
121
|
-
// TO-DO specific to new SDKs?
|
|
122
|
-
// not used in visual editor. Can likely be removed
|
|
123
|
-
builtIn: true;
|
|
124
|
-
|
|
125
121
|
/**
|
|
126
122
|
* Specify restrictions direct children must match
|
|
127
123
|
*/
|