@builder.io/sdk-solid 0.1.3 → 0.1.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/package.json
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-solid",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./
|
|
7
|
-
"module": "./
|
|
6
|
+
"main": "./solid-index.jsx",
|
|
7
|
+
"module": "./solid-index.jsx",
|
|
8
8
|
"exports": {
|
|
9
|
-
".":
|
|
9
|
+
".": {
|
|
10
|
+
"default": "./solid-index.jsx",
|
|
11
|
+
"solid": "./solid-index.jsx"
|
|
12
|
+
}
|
|
10
13
|
},
|
|
11
14
|
"scripts": {
|
|
12
|
-
"build": "
|
|
15
|
+
"build": "echo 'no need to build solid SDK'",
|
|
13
16
|
"release:patch": "yarn run build && npm version patch && npm publish",
|
|
14
17
|
"release:minor": "yarn run build && npm version minor && npm publish",
|
|
15
18
|
"release:dev": "yarn run build && npm version prerelease && npm publish --tag dev"
|
package/solid-index.jsx
ADDED
|
@@ -17,9 +17,9 @@ function RenderInlinedStyles(props) {
|
|
|
17
17
|
return (
|
|
18
18
|
<Show
|
|
19
19
|
fallback={<Dynamic component={tag()}>{props.styles}</Dynamic>}
|
|
20
|
-
when={TARGET === "svelte"}
|
|
20
|
+
when={TARGET === "svelte" || TARGET === "qwik"}
|
|
21
21
|
>
|
|
22
|
-
<
|
|
22
|
+
<Dynamic innerHTML={props.styles} component={tag()}></Dynamic>
|
|
23
23
|
</Show>
|
|
24
24
|
);
|
|
25
25
|
}
|
|
@@ -14,27 +14,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
14
|
}
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
|
-
import { default as Button } from "../blocks/button/button
|
|
17
|
+
import { default as Button } from "../blocks/button/button";
|
|
18
18
|
import { componentInfo as buttonComponentInfo } from "../blocks/button/component-info.js";
|
|
19
|
-
import { default as Columns } from "../blocks/columns/columns
|
|
19
|
+
import { default as Columns } from "../blocks/columns/columns";
|
|
20
20
|
import { componentInfo as columnsComponentInfo } from "../blocks/columns/component-info.js";
|
|
21
21
|
import { componentInfo as fragmentComponentInfo } from "../blocks/fragment/component-info.js";
|
|
22
|
-
import { default as Fragment } from "../blocks/fragment/fragment
|
|
22
|
+
import { default as Fragment } from "../blocks/fragment/fragment";
|
|
23
23
|
import { componentInfo as imageComponentInfo } from "../blocks/image/component-info.js";
|
|
24
|
-
import { default as Image } from "../blocks/image/image
|
|
24
|
+
import { default as Image } from "../blocks/image/image";
|
|
25
25
|
import { componentInfo as sectionComponentInfo } from "../blocks/section/component-info.js";
|
|
26
|
-
import { default as Section } from "../blocks/section/section
|
|
26
|
+
import { default as Section } from "../blocks/section/section";
|
|
27
27
|
import { componentInfo as symbolComponentInfo } from "../blocks/symbol/component-info.js";
|
|
28
|
-
import { default as Symbol } from "../blocks/symbol/symbol
|
|
28
|
+
import { default as Symbol } from "../blocks/symbol/symbol";
|
|
29
29
|
import { componentInfo as textComponentInfo } from "../blocks/text/component-info.js";
|
|
30
|
-
import { default as Text } from "../blocks/text/text
|
|
30
|
+
import { default as Text } from "../blocks/text/text";
|
|
31
31
|
import { componentInfo as videoComponentInfo } from "../blocks/video/component-info.js";
|
|
32
|
-
import { default as Video } from "../blocks/video/video
|
|
32
|
+
import { default as Video } from "../blocks/video/video";
|
|
33
33
|
import { componentInfo as embedComponentInfo } from "../blocks/embed/component-info.js";
|
|
34
|
-
import { default as embed } from "../blocks/embed/embed
|
|
35
|
-
import { default as Img } from "../blocks/img/img
|
|
34
|
+
import { default as embed } from "../blocks/embed/embed";
|
|
35
|
+
import { default as Img } from "../blocks/img/img";
|
|
36
36
|
import { componentInfo as imgComponentInfo } from "../blocks/img/component-info.js";
|
|
37
|
-
import { default as customCode } from "../blocks/custom-code/custom-code
|
|
37
|
+
import { default as customCode } from "../blocks/custom-code/custom-code";
|
|
38
38
|
import { componentInfo as customCodeInfo } from "../blocks/custom-code/component-info.js";
|
|
39
39
|
const getDefaultRegisteredComponents = () => [
|
|
40
40
|
__spreadValues({ component: Columns }, columnsComponentInfo),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { default as default2 } from "../blocks/columns/columns
|
|
2
|
-
import { default as default3 } from "../blocks/image/image
|
|
3
|
-
import { default as default4 } from "../blocks/text/text
|
|
4
|
-
import { default as default5 } from "../blocks/video/video
|
|
5
|
-
import { default as default6 } from "../blocks/symbol/symbol
|
|
6
|
-
import { default as default7 } from "../blocks/button/button
|
|
7
|
-
import { default as default8 } from "../blocks/section/section
|
|
8
|
-
import { default as default9 } from "../blocks/fragment/fragment
|
|
9
|
-
import { default as default10 } from "../components/render-content/render-content
|
|
10
|
-
import { default as default11 } from "../components/render-blocks
|
|
1
|
+
import { default as default2 } from "../blocks/columns/columns";
|
|
2
|
+
import { default as default3 } from "../blocks/image/image";
|
|
3
|
+
import { default as default4 } from "../blocks/text/text";
|
|
4
|
+
import { default as default5 } from "../blocks/video/video";
|
|
5
|
+
import { default as default6 } from "../blocks/symbol/symbol";
|
|
6
|
+
import { default as default7 } from "../blocks/button/button";
|
|
7
|
+
import { default as default8 } from "../blocks/section/section";
|
|
8
|
+
import { default as default9 } from "../blocks/fragment/fragment";
|
|
9
|
+
import { default as default10 } from "../components/render-content/render-content";
|
|
10
|
+
import { default as default11 } from "../components/render-blocks";
|
|
11
11
|
export {
|
|
12
12
|
default7 as Button,
|
|
13
13
|
default2 as Columns,
|