@micromag/element-heading 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 -3
- package/package.json +3 -3
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 _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
3
|
import classNames from 'classnames';
|
|
3
4
|
import React, { useId } from 'react';
|
|
@@ -6,6 +7,7 @@ import { getStyleFromLink, getStyleFromHighlight, getStyleFromText, getStyleFrom
|
|
|
6
7
|
|
|
7
8
|
var styles = {"container":"micromag-element-heading-container"};
|
|
8
9
|
|
|
10
|
+
var _excluded = ["ref"];
|
|
9
11
|
function Heading(_ref) {
|
|
10
12
|
var _ref$size = _ref.size,
|
|
11
13
|
size = _ref$size === void 0 ? 1 : _ref$size,
|
|
@@ -60,9 +62,9 @@ function Heading(_ref) {
|
|
|
60
62
|
ref: headingRef
|
|
61
63
|
}));
|
|
62
64
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
var Heading_default = (function (_ref3) {
|
|
66
|
+
var ref = _ref3.ref,
|
|
67
|
+
props = _objectWithoutProperties(_ref3, _excluded);
|
|
66
68
|
return /*#__PURE__*/React.createElement(Heading, Object.assign({
|
|
67
69
|
headingRef: ref
|
|
68
70
|
}, props));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-heading",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.42",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@babel/runtime": "^7.28.6",
|
|
63
|
-
"@micromag/core": "^0.4.
|
|
63
|
+
"@micromag/core": "^0.4.42",
|
|
64
64
|
"classnames": "^2.2.6",
|
|
65
65
|
"react-intl": "^8.1.3 || ^10.0.0",
|
|
66
66
|
"uuid": "^9.0.0"
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"access": "public",
|
|
70
70
|
"registry": "https://registry.npmjs.org/"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "6fd96aeb9ef1857c731917d8b7cde23d31b39574",
|
|
73
73
|
"types": "es/index.d.ts"
|
|
74
74
|
}
|