@micromag/element-text 0.3.42 → 0.3.54
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 +3 -3
- package/lib/index.js +3 -3
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
2
|
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
3
|
-
import { PropTypes as PropTypes$1 } from '@micromag/core';
|
|
4
|
-
import { LinkStyle, HighlightStyle } from '@micromag/core/components';
|
|
5
|
-
import { getStyleFromLink, getStyleFromHighlight, getStyleFromText, getStyleFromMargin } from '@micromag/core/utils';
|
|
6
3
|
import classNames from 'classnames';
|
|
7
4
|
import PropTypes from 'prop-types';
|
|
8
5
|
import React, { useMemo } from 'react';
|
|
9
6
|
import { v1 } from 'uuid';
|
|
7
|
+
import { PropTypes as PropTypes$1 } from '@micromag/core';
|
|
8
|
+
import { LinkStyle, HighlightStyle } from '@micromag/core/components';
|
|
9
|
+
import { getStyleFromLink, getStyleFromHighlight, getStyleFromText, getStyleFromMargin } from '@micromag/core/utils';
|
|
10
10
|
|
|
11
11
|
var styles = {"container":"micromag-element-text-container","showEmpty":"micromag-element-text-showEmpty","withLineClamp":"micromag-element-text-withLineClamp"};
|
|
12
12
|
|
package/lib/index.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
4
|
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
5
|
-
var core = require('@micromag/core');
|
|
6
|
-
var components = require('@micromag/core/components');
|
|
7
|
-
var utils = require('@micromag/core/utils');
|
|
8
5
|
var classNames = require('classnames');
|
|
9
6
|
var PropTypes = require('prop-types');
|
|
10
7
|
var React = require('react');
|
|
11
8
|
var uuid = require('uuid');
|
|
9
|
+
var core = require('@micromag/core');
|
|
10
|
+
var components = require('@micromag/core/components');
|
|
11
|
+
var utils = require('@micromag/core/utils');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-text",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.54",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.54",
|
|
53
53
|
"classnames": "^2.2.6",
|
|
54
54
|
"prop-types": "^15.7.2",
|
|
55
55
|
"react-intl": "^5.12.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e256975ebe532e65a8d1d8f8a909326e56dd3b2b"
|
|
62
62
|
}
|