@micromag/element-call-to-action 0.3.43 → 0.3.47
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 +1 -1
- package/lib/index.js +2 -3
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import classNames from 'classnames';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import React, { useState, useMemo, useRef, useEffect, useCallback } from 'react';
|
|
10
10
|
import { PropTypes as PropTypes$1 } from '@micromag/core';
|
|
11
|
+
import { Button } from '@micromag/core/components';
|
|
11
12
|
import { isValidUrl, getStyleFromColor, isIos, getStyleFromBox } from '@micromag/core/utils';
|
|
12
|
-
import Button from '@micromag/element-button';
|
|
13
13
|
import Text from '@micromag/element-text';
|
|
14
14
|
import WebView from '@micromag/element-webview';
|
|
15
15
|
|
package/lib/index.js
CHANGED
|
@@ -10,8 +10,8 @@ var classNames = require('classnames');
|
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var core = require('@micromag/core');
|
|
13
|
+
var components = require('@micromag/core/components');
|
|
13
14
|
var utils = require('@micromag/core/utils');
|
|
14
|
-
var Button = require('@micromag/element-button');
|
|
15
15
|
var Text = require('@micromag/element-text');
|
|
16
16
|
var WebView = require('@micromag/element-webview');
|
|
17
17
|
|
|
@@ -23,7 +23,6 @@ var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray)
|
|
|
23
23
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
24
24
|
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
26
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
27
26
|
var Text__default = /*#__PURE__*/_interopDefaultLegacy(Text);
|
|
28
27
|
var WebView__default = /*#__PURE__*/_interopDefaultLegacy(WebView);
|
|
29
28
|
|
|
@@ -166,7 +165,7 @@ function CallToAction(_ref) {
|
|
|
166
165
|
className: styles.arrow,
|
|
167
166
|
style: arrowStyle,
|
|
168
167
|
icon: freeSolidSvgIcons.faChevronUp
|
|
169
|
-
}) : null, /*#__PURE__*/React__default["default"].createElement(
|
|
168
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement(components.Button, Object.assign({
|
|
170
169
|
className: styles.button,
|
|
171
170
|
refButton: buttonRef,
|
|
172
171
|
focusable: focusable,
|
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.47",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
54
54
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
55
55
|
"@micromag/core": "^0.3.42",
|
|
56
|
-
"@micromag/element-button": "^0.3.
|
|
57
|
-
"@micromag/element-text": "^0.3.
|
|
58
|
-
"@micromag/element-webview": "^0.3.
|
|
56
|
+
"@micromag/element-button": "^0.3.45",
|
|
57
|
+
"@micromag/element-text": "^0.3.45",
|
|
58
|
+
"@micromag/element-webview": "^0.3.47",
|
|
59
59
|
"@react-spring/core": "^9.1.1",
|
|
60
60
|
"@react-spring/web": "^9.1.1",
|
|
61
61
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "b44bcdb32bc47ab435846f53d3a518f54ee57b32"
|
|
72
72
|
}
|