@builder.io/sdk-svelte 0.1.8 → 0.1.9

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package",
@@ -1,3 +1,11 @@
1
+ ### 0.1.9
2
+
3
+ - No changes.
4
+
5
+ ### 0.1.8
6
+
7
+ - Added support for "Show If" & "Hide If" dynamic bindings to elements.
8
+
1
9
  ### 0.1.7
2
10
 
3
11
  - No changes.
@@ -45,9 +45,9 @@ function mitosis_styling(node, vars) {
45
45
  use:mitosis_styling={{
46
46
  width: "100%",
47
47
  alignSelf: "stretch",
48
- flexGrow: "1",
48
+ flexGrow: 1,
49
49
  boxSizing: "border-box",
50
- maxWidth: `${maxWidth && typeof maxWidth === "number" ? maxWidth : 1200}px`,
50
+ maxWidth: maxWidth || 1200,
51
51
  display: "flex",
52
52
  flexDirection: "column",
53
53
  alignItems: "stretch",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "0.1.8",
4
+ "version": "0.1.9",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package",
@@ -55,9 +55,9 @@
55
55
  use:mitosis_styling={{
56
56
  width: "100%",
57
57
  alignSelf: "stretch",
58
- flexGrow: "1",
58
+ flexGrow: 1,
59
59
  boxSizing: "border-box",
60
- maxWidth: `${maxWidth && typeof maxWidth === "number" ? maxWidth : 1200}px`,
60
+ maxWidth: maxWidth || 1200,
61
61
  display: "flex",
62
62
  flexDirection: "column",
63
63
  alignItems: "stretch",