jclib-ui 1.0.68 → 1.0.69

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.
@@ -4528,7 +4528,12 @@ const CheckedArea = styled.span`
4528
4528
  color: ${(props) => props.value ? "#fff" : ""};
4529
4529
  background-color: ${(props) => props.value ? "#346fdd" : "#fff"};
4530
4530
  `;
4531
- const FormatValor = ({ value, money, decimalScale, ...rest }) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { ...rest, children: Intl.NumberFormat("pt-br", {
4531
+ const FormatValor = ({
4532
+ value = 0,
4533
+ money = true,
4534
+ decimalScale = 2,
4535
+ ...rest
4536
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { ...rest, children: Intl.NumberFormat("pt-br", {
4532
4537
  maximumFractionDigits: decimalScale,
4533
4538
  minimumFractionDigits: decimalScale,
4534
4539
  style: money ? "currency" : "decimal",