period-ui 0.4.7 → 0.4.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.
|
@@ -5,6 +5,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const components_1 = require("../../../components");
|
|
6
6
|
const tailwind_utils_1 = require("../../../utils/tailwind-utils");
|
|
7
7
|
function FormError({ errorText, className, id }) {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("div", { id: id, role: "alert", className: (0, tailwind_utils_1.tailwind)('flex flex-row justify-start items-start', className), children: [(0, jsx_runtime_1.jsx)(components_1.BilloIcon, { icon: components_1.IconSymbol.ALERT_FILLED, size: components_1.IconSize.SM, color: components_1.IconColor.RED_01, className: (0, tailwind_utils_1.tailwind)('mr-1
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("div", { id: id, role: "alert", className: (0, tailwind_utils_1.tailwind)('flex flex-row justify-start items-start', className), children: [(0, jsx_runtime_1.jsx)(components_1.BilloIcon, { icon: components_1.IconSymbol.ALERT_FILLED, size: components_1.IconSize.SM, color: components_1.IconColor.RED_01, className: (0, tailwind_utils_1.tailwind)('mr-1 leading-[16px] md:leading-[21px]') }), (0, jsx_runtime_1.jsx)(components_1.Text, { variant: components_1.TextVariant.HELPER, color: components_1.TextColors.RED, className: "whitespace-normal", children: errorText })] }));
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=form-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-error.js","sourceRoot":"","sources":["../../../../src/containers/form-control/components/form-error.tsx"],"names":[],"mappings":";;AAiBA,8BAcC;;AA/BD,oDAQ6B;AAC7B,kEAAyD;AAQzD,SAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAkB;IACpE,OAAO,CACL,iCAAK,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,IAAA,yBAAQ,EAAC,yCAAyC,EAAE,SAAS,CAAC,aACjG,uBAAC,sBAAS,IACR,IAAI,EAAE,uBAAU,CAAC,YAAY,EAC7B,IAAI,EAAE,qBAAQ,CAAC,EAAE,EACjB,KAAK,EAAE,sBAAS,CAAC,MAAM,EACvB,SAAS,EAAE,IAAA,yBAAQ,EAAC,
|
|
1
|
+
{"version":3,"file":"form-error.js","sourceRoot":"","sources":["../../../../src/containers/form-control/components/form-error.tsx"],"names":[],"mappings":";;AAiBA,8BAcC;;AA/BD,oDAQ6B;AAC7B,kEAAyD;AAQzD,SAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAkB;IACpE,OAAO,CACL,iCAAK,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,IAAA,yBAAQ,EAAC,yCAAyC,EAAE,SAAS,CAAC,aACjG,uBAAC,sBAAS,IACR,IAAI,EAAE,uBAAU,CAAC,YAAY,EAC7B,IAAI,EAAE,qBAAQ,CAAC,EAAE,EACjB,KAAK,EAAE,sBAAS,CAAC,MAAM,EACvB,SAAS,EAAE,IAAA,yBAAQ,EAAC,uCAAuC,CAAC,GAC5D,EACF,uBAAC,iBAAI,IAAC,OAAO,EAAE,wBAAW,CAAC,MAAM,EAAE,KAAK,EAAE,uBAAU,CAAC,GAAG,EAAE,SAAS,EAAC,mBAAmB,YACpF,SAAS,GACL,IACH,CACP,CAAC;AACJ,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -20141,10 +20141,10 @@ function Ik({ errorText: e, className: t, id: r }) {
|
|
|
20141
20141
|
icon: be.ALERT_FILLED,
|
|
20142
20142
|
size: ce.SM,
|
|
20143
20143
|
color: Ee.RED_01,
|
|
20144
|
-
className: k("mr-1
|
|
20144
|
+
className: k("mr-1 leading-[16px] md:leading-[21px]")
|
|
20145
20145
|
}
|
|
20146
20146
|
),
|
|
20147
|
-
/* @__PURE__ */ p.jsx(xe, { variant: fe.
|
|
20147
|
+
/* @__PURE__ */ p.jsx(xe, { variant: fe.HELPER, color: Me.RED, className: "whitespace-normal", children: e })
|
|
20148
20148
|
] });
|
|
20149
20149
|
}
|
|
20150
20150
|
function jk({ helperText: e, className: t, color: r = Me.BLACK_02, id: n }) {
|