@vitus-labs/rocketstories 0.62.0-alpha.6 → 0.62.0
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/analysis/vitus-labs-rocketstories.js.html +1 -1
- package/lib/analysis/vitus-labs-rocketstories.module.js.html +1 -1
- package/lib/vitus-labs-rocketstories.js +3 -3
- package/lib/vitus-labs-rocketstories.js.map +1 -1
- package/lib/vitus-labs-rocketstories.module.js +3 -3
- package/lib/vitus-labs-rocketstories.module.js.map +1 -1
- package/package.json +6 -6
|
@@ -143,7 +143,7 @@ class ThemeManager {
|
|
|
143
143
|
|
|
144
144
|
/* eslint-disable no-param-reassign */
|
|
145
145
|
const pickStyledAttrs = (props, keywords) => Object.keys(props).reduce((acc, key) => {
|
|
146
|
-
if (keywords[key])
|
|
146
|
+
if (keywords[key] && props[key])
|
|
147
147
|
acc[key] = props[key];
|
|
148
148
|
return acc;
|
|
149
149
|
}, {});
|
|
@@ -612,13 +612,13 @@ const rocketComponent = (options) => {
|
|
|
612
612
|
// ------------------------------------------------------
|
|
613
613
|
RocketComponent.IS_ROCKETSTYLE = true;
|
|
614
614
|
RocketComponent.displayName = componentName;
|
|
615
|
-
RocketComponent.
|
|
615
|
+
RocketComponent.meta = {};
|
|
616
616
|
// ------------------------------------------------------
|
|
617
617
|
// ------------------------------------------------------
|
|
618
618
|
// enhance for statics
|
|
619
619
|
// ------------------------------------------------------
|
|
620
620
|
createStaticsEnhancers({
|
|
621
|
-
context: RocketComponent.
|
|
621
|
+
context: RocketComponent.meta,
|
|
622
622
|
options: options.statics,
|
|
623
623
|
});
|
|
624
624
|
// @ts-ignore
|