jclib-ui 1.0.71 → 1.0.73
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/inputs/Input.types.d.ts +0 -6
- package/dist/jclib-ui.es.js +2 -3
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +12 -12
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +28 -29
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
type InputTypes = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'cpf' | 'cnpj' | 'codigo' | 'fone' | 'uf' | 'hora';
|
|
3
3
|
type Variants = {
|
|
4
|
-
type: 'cep';
|
|
5
|
-
dados?: any;
|
|
6
|
-
setDados?: (value: any) => void;
|
|
7
|
-
onSearch?: (result: any) => any;
|
|
8
|
-
autoSelect?: boolean;
|
|
9
|
-
} | {
|
|
10
4
|
type: 'percent' | 'quant' | 'real';
|
|
11
5
|
allowNegative?: boolean;
|
|
12
6
|
decimalScale?: number;
|
package/dist/jclib-ui.es.js
CHANGED
|
@@ -8229,7 +8229,8 @@ function ModalBox({
|
|
|
8229
8229
|
children,
|
|
8230
8230
|
hideScrollBar = true,
|
|
8231
8231
|
id,
|
|
8232
|
-
fixed
|
|
8232
|
+
fixed = true
|
|
8233
|
+
//TODO: o padrão deve ser falso qdo resolver problema do framer-motion
|
|
8233
8234
|
}) {
|
|
8234
8235
|
const { addModal, removeModal } = useLibContext();
|
|
8235
8236
|
const [modalId] = useState(id || "modal-" + random());
|
|
@@ -20018,8 +20019,6 @@ function Input({
|
|
|
20018
20019
|
}
|
|
20019
20020
|
}
|
|
20020
20021
|
switch (props.type) {
|
|
20021
|
-
case "cep":
|
|
20022
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputCep, { onClick: handleClick, ...props });
|
|
20023
20022
|
case "cpf":
|
|
20024
20023
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputCpf, { onClick: handleClick, ...props });
|
|
20025
20024
|
case "cnpj":
|