@egov3/system-design 1.2.50 → 1.2.51
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/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -2030,8 +2030,9 @@ var SelectBoxButton = function (_a) {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
|
|
2032
2032
|
var Typography = function (_a) {
|
|
2033
|
+
var _b;
|
|
2033
2034
|
var tag = _a.tag, fontClass = _a.fontClass, className = _a.className, children = _a.children, style = _a.style, restProps = __rest(_a, ["tag", "fontClass", "className", "children", "style"]);
|
|
2034
|
-
return React.createElement(tag, __assign(__assign({}, restProps), { className: joinClasses(
|
|
2035
|
+
return React.createElement(tag, __assign(__assign({}, restProps), { className: joinClasses((_b = typography[fontClass]) !== null && _b !== void 0 ? _b : "", className), style: style }), children);
|
|
2035
2036
|
};
|
|
2036
2037
|
|
|
2037
2038
|
var Components = {
|