@builder.io/sdk-qwik 0.0.10 → 0.0.11
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/index.qwik.cjs
CHANGED
|
@@ -534,7 +534,8 @@ const renderComponentProps = function renderComponentProps2(props, state) {
|
|
|
534
534
|
return {
|
|
535
535
|
blockChildren: children(props),
|
|
536
536
|
componentRef: componentRef(props),
|
|
537
|
-
componentOptions: componentOptions(props)
|
|
537
|
+
componentOptions: componentOptions(props),
|
|
538
|
+
context: props.context
|
|
538
539
|
};
|
|
539
540
|
};
|
|
540
541
|
const children = function children2(props, state) {
|
|
@@ -582,7 +583,8 @@ const RenderBlock = (props) => {
|
|
|
582
583
|
repeatItemData(props) ? (repeatItemData(props) || []).map((data, index) => {
|
|
583
584
|
return /* @__PURE__ */ jsxRuntime.jsx(RenderRepeatedBlock$1, {
|
|
584
585
|
repeatContext: data.context,
|
|
585
|
-
block: data.block
|
|
586
|
+
block: data.block,
|
|
587
|
+
context: props.context
|
|
586
588
|
}, index);
|
|
587
589
|
}) : null,
|
|
588
590
|
!repeatItemData(props) ? /* @__PURE__ */ jsxRuntime.jsx(RenderComponent$1, {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -532,7 +532,8 @@ const renderComponentProps = function renderComponentProps2(props, state) {
|
|
|
532
532
|
return {
|
|
533
533
|
blockChildren: children(props),
|
|
534
534
|
componentRef: componentRef(props),
|
|
535
|
-
componentOptions: componentOptions(props)
|
|
535
|
+
componentOptions: componentOptions(props),
|
|
536
|
+
context: props.context
|
|
536
537
|
};
|
|
537
538
|
};
|
|
538
539
|
const children = function children2(props, state) {
|
|
@@ -580,7 +581,8 @@ const RenderBlock = (props) => {
|
|
|
580
581
|
repeatItemData(props) ? (repeatItemData(props) || []).map((data, index) => {
|
|
581
582
|
return /* @__PURE__ */ jsx(RenderRepeatedBlock$1, {
|
|
582
583
|
repeatContext: data.context,
|
|
583
|
-
block: data.block
|
|
584
|
+
block: data.block,
|
|
585
|
+
context: props.context
|
|
584
586
|
}, index);
|
|
585
587
|
}) : null,
|
|
586
588
|
!repeatItemData(props) ? /* @__PURE__ */ jsx(RenderComponent$1, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-qwik",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Builder.io Qwik SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.qwik.cjs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build.lib": "vite build --mode lib",
|
|
17
|
-
"release:dev": "npm version prerelease --no-git-tag-version && npm publish --tag
|
|
17
|
+
"release:dev": "npm version prerelease --no-git-tag-version && npm publish --tag latest --access public"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@builder.io/qwik": "0.0.100",
|
|
@@ -97,6 +97,7 @@ export const renderComponentProps = function renderComponentProps(
|
|
|
97
97
|
blockChildren: children(props, state),
|
|
98
98
|
componentRef: componentRef(props, state),
|
|
99
99
|
componentOptions: componentOptions(props, state),
|
|
100
|
+
context: props.context,
|
|
100
101
|
};
|
|
101
102
|
};
|
|
102
103
|
export const children = function children(props, state) {
|
|
@@ -172,6 +173,7 @@ export const RenderBlock = (props) => {
|
|
|
172
173
|
key={index}
|
|
173
174
|
repeatContext={data.context}
|
|
174
175
|
block={data.block}
|
|
176
|
+
context={props.context}
|
|
175
177
|
></RenderRepeatedBlock>
|
|
176
178
|
);
|
|
177
179
|
})
|