@sb1/ffe-core-react 100.12.2 → 100.12.3
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.
|
@@ -23,6 +23,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import React from 'react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
export function SmallText(props) {
|
|
26
|
-
var _a = props.as, Comp = _a === void 0 ? 'span' : _a, className = props.className, rest = __rest(props, ["as", "className"]);
|
|
27
|
-
return (React.createElement(Comp, __assign({ className: classNames('ffe-small-text', className) }, rest)));
|
|
26
|
+
var _a = props.as, Comp = _a === void 0 ? 'span' : _a, className = props.className, _b = props.underline, underline = _b === void 0 ? false : _b, rest = __rest(props, ["as", "className", "underline"]);
|
|
27
|
+
return (React.createElement(Comp, __assign({ className: classNames('ffe-small-text', { 'ffe-small-text--underline': underline }, className) }, rest)));
|
|
28
28
|
}
|
|
@@ -29,6 +29,6 @@ exports.SmallText = SmallText;
|
|
|
29
29
|
var react_1 = __importDefault(require("react"));
|
|
30
30
|
var classnames_1 = __importDefault(require("classnames"));
|
|
31
31
|
function SmallText(props) {
|
|
32
|
-
var _a = props.as, Comp = _a === void 0 ? 'span' : _a, className = props.className, rest = __rest(props, ["as", "className"]);
|
|
33
|
-
return (react_1.default.createElement(Comp, __assign({ className: (0, classnames_1.default)('ffe-small-text', className) }, rest)));
|
|
32
|
+
var _a = props.as, Comp = _a === void 0 ? 'span' : _a, className = props.className, _b = props.underline, underline = _b === void 0 ? false : _b, rest = __rest(props, ["as", "className", "underline"]);
|
|
33
|
+
return (react_1.default.createElement(Comp, __assign({ className: (0, classnames_1.default)('ffe-small-text', { 'ffe-small-text--underline': underline }, className) }, rest)));
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-core-react",
|
|
3
|
-
"version": "100.12.
|
|
3
|
+
"version": "100.12.3",
|
|
4
4
|
"description": "React components for ffe-core components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ffe"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"test:watch": "ffe-buildtool jest --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sb1/ffe-core": "^100.12.
|
|
31
|
+
"@sb1/ffe-core": "^100.12.3",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@sb1/ffe-buildtool": "^100.12.
|
|
35
|
+
"@sb1/ffe-buildtool": "^100.12.3",
|
|
36
36
|
"eslint": "^9.22.0",
|
|
37
37
|
"react": "^18.2.0",
|
|
38
38
|
"react-dom": "^18.2.0"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "c250edc3d20e5ed115c5c5951495d700e96a3be3"
|
|
47
47
|
}
|