@micromag/element-call-to-action 0.3.480 → 0.3.482
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/index.js +2 -1
- package/lib/index.js +2 -1
- package/package.json +7 -6
package/es/index.js
CHANGED
|
@@ -48,6 +48,7 @@ var Arrow = function Arrow(_ref) {
|
|
|
48
48
|
};
|
|
49
49
|
Arrow.propTypes = propTypes$1;
|
|
50
50
|
Arrow.defaultProps = defaultProps$1;
|
|
51
|
+
var ArrowIcon = Arrow;
|
|
51
52
|
|
|
52
53
|
var styles = {"container":"micromag-element-call-to-action-container","arrow":"micromag-element-call-to-action-arrow","upAndDown":"micromag-element-call-to-action-upAndDown","icon":"micromag-element-call-to-action-icon","label":"micromag-element-call-to-action-label","button":"micromag-element-call-to-action-button","selfTargetLink":"micromag-element-call-to-action-selfTargetLink","leavingFrame":"micromag-element-call-to-action-leavingFrame","appear":"micromag-element-call-to-action-appear","animationDisabled":"micromag-element-call-to-action-animationDisabled","invalidUrl":"micromag-element-call-to-action-invalidUrl","withMargin":"micromag-element-call-to-action-withMargin"};
|
|
53
54
|
|
|
@@ -209,7 +210,7 @@ function CallToAction(_ref) {
|
|
|
209
210
|
}) : null, swipeUpEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
210
211
|
className: classNames([styles.arrow, _defineProperty({}, arrowClassName, arrowClassName !== null)]),
|
|
211
212
|
style: arrowStyle
|
|
212
|
-
}, arrow || /*#__PURE__*/React.createElement(
|
|
213
|
+
}, arrow || /*#__PURE__*/React.createElement(ArrowIcon, null)) : null, /*#__PURE__*/React.createElement("div", {
|
|
213
214
|
className: classNames([styles.buttonBorder, _defineProperty({}, buttonBorderClassName, buttonBorderClassName !== null)])
|
|
214
215
|
}, /*#__PURE__*/React.createElement(Button, Object.assign({
|
|
215
216
|
className: classNames([styles.button, _defineProperty({}, buttonClassName, buttonClassName !== null)]),
|
package/lib/index.js
CHANGED
|
@@ -50,6 +50,7 @@ var Arrow = function Arrow(_ref) {
|
|
|
50
50
|
};
|
|
51
51
|
Arrow.propTypes = propTypes$1;
|
|
52
52
|
Arrow.defaultProps = defaultProps$1;
|
|
53
|
+
var ArrowIcon = Arrow;
|
|
53
54
|
|
|
54
55
|
var styles = {"container":"micromag-element-call-to-action-container","arrow":"micromag-element-call-to-action-arrow","upAndDown":"micromag-element-call-to-action-upAndDown","icon":"micromag-element-call-to-action-icon","label":"micromag-element-call-to-action-label","button":"micromag-element-call-to-action-button","selfTargetLink":"micromag-element-call-to-action-selfTargetLink","leavingFrame":"micromag-element-call-to-action-leavingFrame","appear":"micromag-element-call-to-action-appear","animationDisabled":"micromag-element-call-to-action-animationDisabled","invalidUrl":"micromag-element-call-to-action-invalidUrl","withMargin":"micromag-element-call-to-action-withMargin"};
|
|
55
56
|
|
|
@@ -211,7 +212,7 @@ function CallToAction(_ref) {
|
|
|
211
212
|
}) : null, swipeUpEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
212
213
|
className: classNames([styles.arrow, _defineProperty({}, arrowClassName, arrowClassName !== null)]),
|
|
213
214
|
style: arrowStyle
|
|
214
|
-
}, arrow || /*#__PURE__*/React.createElement(
|
|
215
|
+
}, arrow || /*#__PURE__*/React.createElement(ArrowIcon, null)) : null, /*#__PURE__*/React.createElement("div", {
|
|
215
216
|
className: classNames([styles.buttonBorder, _defineProperty({}, buttonBorderClassName, buttonBorderClassName !== null)])
|
|
216
217
|
}, /*#__PURE__*/React.createElement(Button, Object.assign({
|
|
217
218
|
className: classNames([styles.button, _defineProperty({}, buttonClassName, buttonClassName !== null)]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-call-to-action",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.482",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"assets"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
+
"clean": "rm -rf es && rm -rf lib && rm -rf assets",
|
|
49
50
|
"prepare": "../../scripts/prepare-package.sh"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
@@ -61,10 +62,10 @@
|
|
|
61
62
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
62
63
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
63
64
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
64
|
-
"@micromag/core": "^0.3.
|
|
65
|
-
"@micromag/element-button": "^0.3.
|
|
66
|
-
"@micromag/element-text": "^0.3.
|
|
67
|
-
"@micromag/element-webview": "^0.3.
|
|
65
|
+
"@micromag/core": "^0.3.482",
|
|
66
|
+
"@micromag/element-button": "^0.3.482",
|
|
67
|
+
"@micromag/element-text": "^0.3.482",
|
|
68
|
+
"@micromag/element-webview": "^0.3.482",
|
|
68
69
|
"@react-spring/core": "^9.6.1",
|
|
69
70
|
"@react-spring/web": "^9.6.1",
|
|
70
71
|
"@use-gesture/react": "^10.3.0",
|
|
@@ -78,5 +79,5 @@
|
|
|
78
79
|
"access": "public",
|
|
79
80
|
"registry": "https://registry.npmjs.org/"
|
|
80
81
|
},
|
|
81
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "931f86bb7dd77a05d196cadda88c8a170e665c3d"
|
|
82
83
|
}
|