@micromag/element-call-to-action 0.4.40 → 0.4.42
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.d.ts +6 -1
- package/es/index.js +5 -1
- package/package.json +6 -6
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
1
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
4
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
@@ -41,6 +42,7 @@ function Arrow(_ref) {
|
|
|
41
42
|
|
|
42
43
|
var styles = {"container":"micromag-element-call-to-action-container","arrow":"micromag-element-call-to-action-arrow","button":"micromag-element-call-to-action-button","withoutLinkStyle":"micromag-element-call-to-action-withoutLinkStyle","label":"micromag-element-call-to-action-label","icon":"micromag-element-call-to-action-icon","text":"micromag-element-call-to-action-text","selfTargetLink":"micromag-element-call-to-action-selfTargetLink","leavingFrame":"micromag-element-call-to-action-leavingFrame","animationDisabled":"micromag-element-call-to-action-animationDisabled","invalidUrl":"micromag-element-call-to-action-invalidUrl"};
|
|
43
44
|
|
|
45
|
+
var _excluded = ["ref"];
|
|
44
46
|
function CallToAction(_ref) {
|
|
45
47
|
var _ref$type = _ref.type,
|
|
46
48
|
type = _ref$type === void 0 ? null : _ref$type,
|
|
@@ -205,7 +207,9 @@ function CallToAction(_ref) {
|
|
|
205
207
|
inline: true
|
|
206
208
|
}))))));
|
|
207
209
|
}
|
|
208
|
-
var CallToAction_default =
|
|
210
|
+
var CallToAction_default = (function (_ref9) {
|
|
211
|
+
var ref = _ref9.ref,
|
|
212
|
+
props = _objectWithoutProperties(_ref9, _excluded);
|
|
209
213
|
return /*#__PURE__*/React.createElement(CallToAction, Object.assign({
|
|
210
214
|
elRef: ref
|
|
211
215
|
}, props));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-call-to-action",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.42",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
64
64
|
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
65
65
|
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
66
|
-
"@micromag/core": "^0.4.
|
|
67
|
-
"@micromag/element-button": "^0.4.
|
|
68
|
-
"@micromag/element-text": "^0.4.
|
|
69
|
-
"@micromag/element-webview": "^0.4.
|
|
66
|
+
"@micromag/core": "^0.4.42",
|
|
67
|
+
"@micromag/element-button": "^0.4.42",
|
|
68
|
+
"@micromag/element-text": "^0.4.42",
|
|
69
|
+
"@micromag/element-webview": "^0.4.42",
|
|
70
70
|
"@react-spring/core": "^10.0.3",
|
|
71
71
|
"@react-spring/web": "^10.0.3",
|
|
72
72
|
"@use-gesture/react": "^10.3.0",
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"access": "public",
|
|
80
80
|
"registry": "https://registry.npmjs.org/"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "6fd96aeb9ef1857c731917d8b7cde23d31b39574",
|
|
83
83
|
"types": "es/index.d.ts"
|
|
84
84
|
}
|