colibri-ui 0.7.60 → 0.7.61
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/Typography/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
import { type Props } from "./index.props";
|
|
3
|
-
declare const Typography:
|
|
3
|
+
declare const Typography: FC<Props>;
|
|
4
4
|
export default Typography;
|
package/Typography/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var classNames__default = /*#__PURE__*/_interopDefault(classNames);
|
|
|
14
14
|
var styles__default = /*#__PURE__*/_interopDefault(styles);
|
|
15
15
|
|
|
16
16
|
var clx = classNames__default.default.bind(styles__default.default);
|
|
17
|
-
var Typography =
|
|
17
|
+
var Typography = function Typography(_a) {
|
|
18
18
|
var _b;
|
|
19
19
|
var _c = _a.tag,
|
|
20
20
|
Element = _c === void 0 ? "span" : _c,
|
|
@@ -31,6 +31,6 @@ var Typography = /*#__PURE__*/React.forwardRef(function (_a) {
|
|
|
31
31
|
root: true
|
|
32
32
|
}, _b["size_".concat(size)] = !!size, _b["font-weight_".concat(fontWeight)] = !!fontWeight, _b["variant_".concat(variant)] = !!variant, _b), className)
|
|
33
33
|
}), children);
|
|
34
|
-
}
|
|
34
|
+
};
|
|
35
35
|
|
|
36
36
|
exports.default = Typography;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
import { type Props } from "./index.props";
|
|
3
|
-
declare const Typography:
|
|
3
|
+
declare const Typography: FC<Props>;
|
|
4
4
|
export default Typography;
|
package/esm/Typography/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
|
-
import React__default
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import classNames from 'classnames/bind';
|
|
4
4
|
import styles from './Typography.module.css';
|
|
5
5
|
|
|
6
6
|
var clx = classNames.bind(styles);
|
|
7
|
-
var Typography =
|
|
7
|
+
var Typography = function Typography(_a) {
|
|
8
8
|
var _b;
|
|
9
9
|
var _c = _a.tag,
|
|
10
10
|
Element = _c === void 0 ? "span" : _c,
|
|
@@ -21,6 +21,6 @@ var Typography = /*#__PURE__*/forwardRef(function (_a) {
|
|
|
21
21
|
root: true
|
|
22
22
|
}, _b["size_".concat(size)] = !!size, _b["font-weight_".concat(fontWeight)] = !!fontWeight, _b["variant_".concat(variant)] = !!variant, _b), className)
|
|
23
23
|
}), children);
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
|
|
26
26
|
export { Typography as default };
|