smbls 2.10.8 → 2.10.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.
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8470,6 +8470,7 @@ var create2 = async (App, options = defaultOptions) => {
|
|
|
8470
8470
|
overwriteDeep(data, options);
|
|
8471
8471
|
}
|
|
8472
8472
|
}
|
|
8473
|
+
const components = { ...src_exports, ...options.components };
|
|
8473
8474
|
const designSystem = init2(options.system);
|
|
8474
8475
|
src_default.define(options.define || define);
|
|
8475
8476
|
return src_default.create({
|
|
@@ -8481,11 +8482,12 @@ var create2 = async (App, options = defaultOptions) => {
|
|
|
8481
8482
|
extend: [Box],
|
|
8482
8483
|
context: {
|
|
8483
8484
|
key,
|
|
8484
|
-
components
|
|
8485
|
+
components,
|
|
8485
8486
|
state: options.state,
|
|
8486
8487
|
pages: options.pages,
|
|
8487
8488
|
system: designSystem
|
|
8488
|
-
}
|
|
8489
|
+
},
|
|
8490
|
+
components
|
|
8489
8491
|
// TODO: move define here,
|
|
8490
8492
|
});
|
|
8491
8493
|
};
|