@pdfme/ui 4.2.4-dev.6 → 4.2.4-dev.8
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/index.es.js
CHANGED
@@ -81640,7 +81640,7 @@ const convertForPdfLayoutProps = ({ schema: a, pageHeight: s, applyRotateTransla
|
|
81640
81640
|
const { font: ot = getDefaultFont(), colorType: rt } = tt, [st, lt, et] = await Promise.all([
|
81641
81641
|
embedAndGetFontObj({ pdfDoc: $, font: ot, _cache: at }),
|
81642
81642
|
getFontKitFont(nt.fontName, ot, at),
|
81643
|
-
getFontProp({ value: s, font: ot, schema: nt, _cache: at })
|
81643
|
+
getFontProp({ value: s, font: ot, schema: nt, _cache: at, colorType: rt })
|
81644
81644
|
]), { fontSize: it, color: ut, alignment: ft, verticalAlignment: ht, lineHeight: dt, characterSpacing: gt } = et, pt = nt.fontName ? nt.fontName : getFallbackFontName(ot), mt = st && st[pt], ct = _e.getHeight(), { width: vt, height: At, rotate: xt, position: { x: bt, y: Et }, opacity: St } = convertForPdfLayoutProps({ schema: nt, pageHeight: ct, applyRotateTranslate: !1 });
|
81645
81645
|
if (nt.backgroundColor) {
|
81646
81646
|
const yt = hex2PrintingColor(nt.backgroundColor, rt);
|
@@ -136350,7 +136350,7 @@ const { Text: Text$4 } = Typography$1, Item = React$a.memo(
|
|
136350
136350
|
},
|
136351
136351
|
title: _ || "",
|
136352
136352
|
children: [
|
136353
|
-
$ === void 0 ? s : /* @__PURE__ */ jsxRuntimeExports.jsxs("span", {
|
136353
|
+
$ === void 0 ? s : /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { children: [
|
136354
136354
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ExclamationCircleOutlined$1, { width: 15, style: { marginRight: "0.5rem" } }),
|
136355
136355
|
$ === "is-warning" ? gt("noKeyName") : s,
|
136356
136356
|
$ === "is-danger" ? gt("notUniq") : ""
|