@micromag/core 0.3.370 → 0.3.373
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/es/components.js +3 -0
- package/es/index.js +4 -2
- package/lib/components.js +3 -0
- package/lib/index.js +4 -2
- package/package.json +2 -2
package/es/components.js
CHANGED
package/es/index.js
CHANGED
|
@@ -371,6 +371,9 @@ var shareIncentive = PropTypes$1.shape({
|
|
|
371
371
|
label: textElement,
|
|
372
372
|
boxStyle: boxStyle
|
|
373
373
|
});
|
|
374
|
+
var activeForm = PropTypes$1.shape({
|
|
375
|
+
active: PropTypes$1.bool
|
|
376
|
+
});
|
|
374
377
|
var speaker = PropTypes$1.shape({
|
|
375
378
|
id: PropTypes$1.string,
|
|
376
379
|
name: PropTypes$1.string,
|
|
@@ -718,6 +721,7 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
718
721
|
callToActionTypes: callToActionTypes,
|
|
719
722
|
callToAction: callToAction,
|
|
720
723
|
shareIncentive: shareIncentive,
|
|
724
|
+
activeForm: activeForm,
|
|
721
725
|
speaker: speaker,
|
|
722
726
|
speakers: speakers,
|
|
723
727
|
conversationMessage: conversationMessage,
|
|
@@ -1831,8 +1835,6 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
1831
1835
|
boxStyle: _objectSpread(_objectSpread(_objectSpread({}, fieldBoxStyle), fieldThemeComponentBoxStyle), valueBoxStyle || null)
|
|
1832
1836
|
} : null;
|
|
1833
1837
|
|
|
1834
|
-
// console.log('hell', boxStyleValue, complexValue);
|
|
1835
|
-
|
|
1836
1838
|
// Only change value if something is overrided
|
|
1837
1839
|
return colorValue !== null || themeValue !== null || textStyleValue !== null || boxStyleValue !== null || complexValue !== null ? _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, colorValue), themeValue), value), boxStyleValue), textStyleValue), complexValue) : value;
|
|
1838
1840
|
}
|
package/lib/components.js
CHANGED
|
@@ -2878,6 +2878,9 @@ PropTypes__default["default"].shape({
|
|
|
2878
2878
|
label: textElement,
|
|
2879
2879
|
boxStyle: boxStyle
|
|
2880
2880
|
});
|
|
2881
|
+
PropTypes__default["default"].shape({
|
|
2882
|
+
active: PropTypes__default["default"].bool
|
|
2883
|
+
});
|
|
2881
2884
|
var speaker = PropTypes__default["default"].shape({
|
|
2882
2885
|
id: PropTypes__default["default"].string,
|
|
2883
2886
|
name: PropTypes__default["default"].string,
|
package/lib/index.js
CHANGED
|
@@ -398,6 +398,9 @@ var shareIncentive = PropTypes__default["default"].shape({
|
|
|
398
398
|
label: textElement,
|
|
399
399
|
boxStyle: boxStyle
|
|
400
400
|
});
|
|
401
|
+
var activeForm = PropTypes__default["default"].shape({
|
|
402
|
+
active: PropTypes__default["default"].bool
|
|
403
|
+
});
|
|
401
404
|
var speaker = PropTypes__default["default"].shape({
|
|
402
405
|
id: PropTypes__default["default"].string,
|
|
403
406
|
name: PropTypes__default["default"].string,
|
|
@@ -745,6 +748,7 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
745
748
|
callToActionTypes: callToActionTypes,
|
|
746
749
|
callToAction: callToAction,
|
|
747
750
|
shareIncentive: shareIncentive,
|
|
751
|
+
activeForm: activeForm,
|
|
748
752
|
speaker: speaker,
|
|
749
753
|
speakers: speakers,
|
|
750
754
|
conversationMessage: conversationMessage,
|
|
@@ -1858,8 +1862,6 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
1858
1862
|
boxStyle: _objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"]({}, fieldBoxStyle), fieldThemeComponentBoxStyle), valueBoxStyle || null)
|
|
1859
1863
|
} : null;
|
|
1860
1864
|
|
|
1861
|
-
// console.log('hell', boxStyleValue, complexValue);
|
|
1862
|
-
|
|
1863
1865
|
// Only change value if something is overrided
|
|
1864
1866
|
return colorValue !== null || themeValue !== null || textStyleValue !== null || boxStyleValue !== null || complexValue !== null ? _objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"]({}, colorValue), themeValue), value), boxStyleValue), textStyleValue), complexValue) : value;
|
|
1865
1867
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.373",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "072c8a8e64514933e9d13e4ad99778c2cbcc6968"
|
|
137
137
|
}
|