jclib-ui 1.1.3 → 1.1.5
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/jclib-ui.es.js +4 -7
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +10 -10
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/jclib-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect, createContext, useContext, useState, useCallback, useRef,
|
|
1
|
+
import React, { useEffect, createContext, useContext, useState, useCallback, useRef, useMemo, useLayoutEffect, useImperativeHandle } from "react";
|
|
2
2
|
import { isMobile, isDarkMode, random, formatData, formatDataHora, formatValor, isDesktop, getDateTimeStr, getHash, validarCNPJ, validarCPF } from "jcinfo-utils";
|
|
3
3
|
import { useDragControls, motion } from "framer-motion";
|
|
4
4
|
import styled from "styled-components";
|
|
@@ -1193,10 +1193,7 @@ function JCAlert({
|
|
|
1193
1193
|
] }),
|
|
1194
1194
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "jc-alert-title", children: title })
|
|
1195
1195
|
] }),
|
|
1196
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "jc-alert-body", children: text2 && typeof text2 == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1197
|
-
line,
|
|
1198
|
-
i < arr.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("br", {})
|
|
1199
|
-
] }, i)) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: text2 || children }) }),
|
|
1196
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "jc-alert-body", children: text2 && typeof text2 == "string" ? /* @__PURE__ */ jsxRuntimeExports.jsx(TextHTML, { value: text2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: text2 || children }) }),
|
|
1200
1197
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "jc-alert-buttons", children: [
|
|
1201
1198
|
(type === AlertTypes.Alerta || type === AlertTypes.Aviso) && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1202
1199
|
"button",
|
|
@@ -7158,7 +7155,7 @@ function requireReactIs_development() {
|
|
|
7158
7155
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
7159
7156
|
var Element = REACT_ELEMENT_TYPE;
|
|
7160
7157
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
7161
|
-
var
|
|
7158
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
7162
7159
|
var Lazy = REACT_LAZY_TYPE;
|
|
7163
7160
|
var Memo = REACT_MEMO_TYPE;
|
|
7164
7161
|
var Portal = REACT_PORTAL_TYPE;
|
|
@@ -7217,7 +7214,7 @@ function requireReactIs_development() {
|
|
|
7217
7214
|
reactIs_development.ContextProvider = ContextProvider;
|
|
7218
7215
|
reactIs_development.Element = Element;
|
|
7219
7216
|
reactIs_development.ForwardRef = ForwardRef;
|
|
7220
|
-
reactIs_development.Fragment =
|
|
7217
|
+
reactIs_development.Fragment = Fragment;
|
|
7221
7218
|
reactIs_development.Lazy = Lazy;
|
|
7222
7219
|
reactIs_development.Memo = Memo;
|
|
7223
7220
|
reactIs_development.Portal = Portal;
|