@micromag/core 0.3.371 → 0.3.377
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 +4 -0
- package/es/index.js +7 -3
- package/lib/components.js +4 -0
- package/lib/index.js +7 -3
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -2837,6 +2837,9 @@ PropTypes$1.shape({
|
|
|
2837
2837
|
label: textElement,
|
|
2838
2838
|
boxStyle: boxStyle
|
|
2839
2839
|
});
|
|
2840
|
+
PropTypes$1.shape({
|
|
2841
|
+
active: PropTypes$1.bool
|
|
2842
|
+
});
|
|
2840
2843
|
var speaker = PropTypes$1.shape({
|
|
2841
2844
|
id: PropTypes$1.string,
|
|
2842
2845
|
name: PropTypes$1.string,
|
|
@@ -3080,6 +3083,7 @@ PropTypes$1.shape({
|
|
|
3080
3083
|
PropTypes$1.shape({
|
|
3081
3084
|
callToAction: callToAction
|
|
3082
3085
|
});
|
|
3086
|
+
PropTypes$1.shape();
|
|
3083
3087
|
|
|
3084
3088
|
/* eslint-disable react/no-array-index-key */
|
|
3085
3089
|
var propTypes$d = {
|
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,
|
|
@@ -615,6 +618,7 @@ var header = PropTypes$1.shape({
|
|
|
615
618
|
var footer = PropTypes$1.shape({
|
|
616
619
|
callToAction: callToAction
|
|
617
620
|
});
|
|
621
|
+
var reload = PropTypes$1.shape();
|
|
618
622
|
|
|
619
623
|
var PropTypes = /*#__PURE__*/Object.freeze({
|
|
620
624
|
__proto__: null,
|
|
@@ -718,6 +722,7 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
718
722
|
callToActionTypes: callToActionTypes,
|
|
719
723
|
callToAction: callToAction,
|
|
720
724
|
shareIncentive: shareIncentive,
|
|
725
|
+
activeForm: activeForm,
|
|
721
726
|
speaker: speaker,
|
|
722
727
|
speakers: speakers,
|
|
723
728
|
conversationMessage: conversationMessage,
|
|
@@ -762,7 +767,8 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
762
767
|
visitor: visitor,
|
|
763
768
|
badge: badge,
|
|
764
769
|
header: header,
|
|
765
|
-
footer: footer
|
|
770
|
+
footer: footer,
|
|
771
|
+
reload: reload
|
|
766
772
|
});
|
|
767
773
|
|
|
768
774
|
var sortedColors = function sortedColors(colors) {
|
|
@@ -1831,8 +1837,6 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
1831
1837
|
boxStyle: _objectSpread(_objectSpread(_objectSpread({}, fieldBoxStyle), fieldThemeComponentBoxStyle), valueBoxStyle || null)
|
|
1832
1838
|
} : null;
|
|
1833
1839
|
|
|
1834
|
-
// console.log('hell', boxStyleValue, complexValue);
|
|
1835
|
-
|
|
1836
1840
|
// Only change value if something is overrided
|
|
1837
1841
|
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
1842
|
}
|
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,
|
|
@@ -3121,6 +3124,7 @@ PropTypes__default["default"].shape({
|
|
|
3121
3124
|
PropTypes__default["default"].shape({
|
|
3122
3125
|
callToAction: callToAction
|
|
3123
3126
|
});
|
|
3127
|
+
PropTypes__default["default"].shape();
|
|
3124
3128
|
|
|
3125
3129
|
/* eslint-disable react/no-array-index-key */
|
|
3126
3130
|
var propTypes$d = {
|
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,
|
|
@@ -642,6 +645,7 @@ var header = PropTypes__default["default"].shape({
|
|
|
642
645
|
var footer = PropTypes__default["default"].shape({
|
|
643
646
|
callToAction: callToAction
|
|
644
647
|
});
|
|
648
|
+
var reload = PropTypes__default["default"].shape();
|
|
645
649
|
|
|
646
650
|
var PropTypes = /*#__PURE__*/Object.freeze({
|
|
647
651
|
__proto__: null,
|
|
@@ -745,6 +749,7 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
745
749
|
callToActionTypes: callToActionTypes,
|
|
746
750
|
callToAction: callToAction,
|
|
747
751
|
shareIncentive: shareIncentive,
|
|
752
|
+
activeForm: activeForm,
|
|
748
753
|
speaker: speaker,
|
|
749
754
|
speakers: speakers,
|
|
750
755
|
conversationMessage: conversationMessage,
|
|
@@ -789,7 +794,8 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
789
794
|
visitor: visitor,
|
|
790
795
|
badge: badge,
|
|
791
796
|
header: header,
|
|
792
|
-
footer: footer
|
|
797
|
+
footer: footer,
|
|
798
|
+
reload: reload
|
|
793
799
|
});
|
|
794
800
|
|
|
795
801
|
var sortedColors = function sortedColors(colors) {
|
|
@@ -1858,8 +1864,6 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
1858
1864
|
boxStyle: _objectSpread__default["default"](_objectSpread__default["default"](_objectSpread__default["default"]({}, fieldBoxStyle), fieldThemeComponentBoxStyle), valueBoxStyle || null)
|
|
1859
1865
|
} : null;
|
|
1860
1866
|
|
|
1861
|
-
// console.log('hell', boxStyleValue, complexValue);
|
|
1862
|
-
|
|
1863
1867
|
// Only change value if something is overrided
|
|
1864
1868
|
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
1869
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.377",
|
|
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": "80f2c43eabcb9c8e23e71704751c4ad4066e4d3a"
|
|
137
137
|
}
|