@gustavo-valsechi/client 1.3.14 → 1.3.16
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/chunk-7KA3WXTD.mjs +1252 -0
- package/dist/chunk-7KA3WXTD.mjs.map +1 -0
- package/dist/chunk-IF6P6NOG.mjs +141 -0
- package/dist/chunk-IF6P6NOG.mjs.map +1 -0
- package/dist/chunk-RWFXFZB5.mjs +2 -0
- package/dist/chunk-RWFXFZB5.mjs.map +1 -0
- package/dist/components.d.mts +10 -0
- package/dist/components.d.ts +10 -0
- package/dist/components.js +1390 -0
- package/dist/components.js.map +1 -0
- package/dist/components.mjs +3 -0
- package/dist/components.mjs.map +1 -0
- package/dist/contexts.d.mts +20 -0
- package/dist/contexts.d.ts +20 -0
- package/dist/contexts.js +141 -0
- package/dist/contexts.js.map +1 -0
- package/dist/contexts.mjs +3 -0
- package/dist/contexts.mjs.map +1 -0
- package/dist/index-BhaGW0O1.d.ts +601 -0
- package/dist/index-BxA8LyyD.d.mts +68 -0
- package/dist/index-DDi0w5pw.d.mts +601 -0
- package/dist/index-DT7VKE7H.d.ts +68 -0
- package/dist/index-Da-DtPS-.d.mts +29 -0
- package/dist/index-Da-DtPS-.d.ts +29 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.js +1390 -4
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces.d.mts +12 -0
- package/dist/interfaces.d.ts +12 -0
- package/dist/interfaces.js +3 -0
- package/dist/interfaces.js.map +1 -0
- package/dist/interfaces.mjs +3 -0
- package/dist/interfaces.mjs.map +1 -0
- package/package.json +8 -15
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.js +0 -17
- package/dist/components/styles.d.ts +0 -2
- package/dist/components/styles.js +0 -14
- package/dist/components/types/avatar/index.d.ts +0 -2
- package/dist/components/types/avatar/index.js +0 -34
- package/dist/components/types/avatar/styles.d.ts +0 -1
- package/dist/components/types/avatar/styles.js +0 -55
- package/dist/components/types/badge/index.d.ts +0 -2
- package/dist/components/types/badge/index.js +0 -16
- package/dist/components/types/badge/styles.d.ts +0 -1
- package/dist/components/types/badge/styles.js +0 -33
- package/dist/components/types/block/index.d.ts +0 -2
- package/dist/components/types/block/index.js +0 -8
- package/dist/components/types/block/styles.d.ts +0 -2
- package/dist/components/types/block/styles.js +0 -25
- package/dist/components/types/chart/index.d.ts +0 -2
- package/dist/components/types/chart/index.js +0 -33
- package/dist/components/types/chart/styles.d.ts +0 -1
- package/dist/components/types/chart/styles.js +0 -4
- package/dist/components/types/credit-card/assets/index.d.ts +0 -4
- package/dist/components/types/credit-card/assets/index.js +0 -17
- package/dist/components/types/credit-card/card/index.d.ts +0 -2
- package/dist/components/types/credit-card/card/index.js +0 -23
- package/dist/components/types/credit-card/card/styles.d.ts +0 -1
- package/dist/components/types/credit-card/card/styles.js +0 -132
- package/dist/components/types/credit-card/functions/index.d.ts +0 -2
- package/dist/components/types/credit-card/functions/index.js +0 -8
- package/dist/components/types/credit-card/functions/styles.d.ts +0 -1
- package/dist/components/types/credit-card/functions/styles.js +0 -37
- package/dist/components/types/credit-card/index.d.ts +0 -2
- package/dist/components/types/credit-card/index.js +0 -29
- package/dist/components/types/credit-card/styles.d.ts +0 -1
- package/dist/components/types/credit-card/styles.js +0 -34
- package/dist/components/types/credit-card/tools/index.d.ts +0 -6
- package/dist/components/types/credit-card/tools/index.js +0 -19
- package/dist/components/types/form/index.d.ts +0 -3
- package/dist/components/types/form/index.js +0 -53
- package/dist/components/types/form/styles.d.ts +0 -1
- package/dist/components/types/form/styles.js +0 -15
- package/dist/components/types/form/types/button/index.d.ts +0 -2
- package/dist/components/types/form/types/button/index.js +0 -8
- package/dist/components/types/form/types/button/loading/index.d.ts +0 -1
- package/dist/components/types/form/types/button/loading/index.js +0 -6
- package/dist/components/types/form/types/button/loading/styles.d.ts +0 -1
- package/dist/components/types/form/types/button/loading/styles.js +0 -88
- package/dist/components/types/form/types/button/styles.d.ts +0 -1
- package/dist/components/types/form/types/button/styles.js +0 -55
- package/dist/components/types/form/types/datetime/index.d.ts +0 -2
- package/dist/components/types/form/types/datetime/index.js +0 -20
- package/dist/components/types/form/types/datetime/styles.d.ts +0 -1
- package/dist/components/types/form/types/datetime/styles.js +0 -40
- package/dist/components/types/form/types/file/index.d.ts +0 -2
- package/dist/components/types/form/types/file/index.js +0 -24
- package/dist/components/types/form/types/file/styles.d.ts +0 -1
- package/dist/components/types/form/types/file/styles.js +0 -27
- package/dist/components/types/form/types/index.d.ts +0 -7
- package/dist/components/types/form/types/index.js +0 -7
- package/dist/components/types/form/types/input/index.d.ts +0 -2
- package/dist/components/types/form/types/input/index.js +0 -22
- package/dist/components/types/form/types/input/styles.d.ts +0 -1
- package/dist/components/types/form/types/input/styles.js +0 -46
- package/dist/components/types/form/types/label/index.d.ts +0 -2
- package/dist/components/types/form/types/label/index.js +0 -6
- package/dist/components/types/form/types/label/styles.d.ts +0 -1
- package/dist/components/types/form/types/label/styles.js +0 -7
- package/dist/components/types/form/types/select/index.d.ts +0 -2
- package/dist/components/types/form/types/select/index.js +0 -25
- package/dist/components/types/form/types/select/styles.d.ts +0 -1
- package/dist/components/types/form/types/select/styles.js +0 -52
- package/dist/components/types/form/types/textarea/index.d.ts +0 -2
- package/dist/components/types/form/types/textarea/index.js +0 -20
- package/dist/components/types/form/types/textarea/styles.d.ts +0 -1
- package/dist/components/types/form/types/textarea/styles.js +0 -39
- package/dist/components/types/index.d.ts +0 -11
- package/dist/components/types/index.js +0 -11
- package/dist/components/types/loading/app/index.d.ts +0 -2
- package/dist/components/types/loading/app/index.js +0 -7
- package/dist/components/types/loading/app/styles.d.ts +0 -1
- package/dist/components/types/loading/app/styles.js +0 -87
- package/dist/components/types/loading/bar/index.d.ts +0 -2
- package/dist/components/types/loading/bar/index.js +0 -6
- package/dist/components/types/loading/bar/styles.d.ts +0 -1
- package/dist/components/types/loading/bar/styles.js +0 -21
- package/dist/components/types/loading/index.d.ts +0 -2
- package/dist/components/types/loading/index.js +0 -2
- package/dist/components/types/logo/index.d.ts +0 -2
- package/dist/components/types/logo/index.js +0 -6
- package/dist/components/types/logo/styles.d.ts +0 -1
- package/dist/components/types/logo/styles.js +0 -19
- package/dist/components/types/lottie/animations/index.d.ts +0 -293
- package/dist/components/types/lottie/animations/index.js +0 -2
- package/dist/components/types/lottie/animations/loader.json +0 -1
- package/dist/components/types/lottie/index.d.ts +0 -2
- package/dist/components/types/lottie/index.js +0 -28
- package/dist/components/types/lottie/styles.d.ts +0 -1
- package/dist/components/types/lottie/styles.js +0 -22
- package/dist/components/types/modal/index.d.ts +0 -2
- package/dist/components/types/modal/index.js +0 -12
- package/dist/components/types/modal/styles.d.ts +0 -1
- package/dist/components/types/modal/styles.js +0 -153
- package/dist/components/types/table/index.d.ts +0 -3
- package/dist/components/types/table/index.js +0 -93
- package/dist/components/types/table/modal/actions.d.ts +0 -10
- package/dist/components/types/table/modal/actions.js +0 -6
- package/dist/components/types/table/modal/index.d.ts +0 -2
- package/dist/components/types/table/modal/index.js +0 -37
- package/dist/components/types/table/modal/styles.d.ts +0 -1
- package/dist/components/types/table/modal/styles.js +0 -52
- package/dist/components/types/table/paginate/index.d.ts +0 -2
- package/dist/components/types/table/paginate/index.js +0 -30
- package/dist/components/types/table/paginate/styles.d.ts +0 -1
- package/dist/components/types/table/paginate/styles.js +0 -36
- package/dist/components/types/table/styles.d.ts +0 -5
- package/dist/components/types/table/styles.js +0 -262
- package/dist/contexts/icon/assets/brands/index.d.ts +0 -2
- package/dist/contexts/icon/assets/brands/index.js +0 -7
- package/dist/contexts/icon/assets/index.d.ts +0 -6
- package/dist/contexts/icon/assets/index.js +0 -8
- package/dist/contexts/icon/assets/regular/index.d.ts +0 -2
- package/dist/contexts/icon/assets/regular/index.js +0 -7
- package/dist/contexts/icon/assets/solid/index.d.ts +0 -2
- package/dist/contexts/icon/assets/solid/index.js +0 -7
- package/dist/contexts/icon/index.d.ts +0 -4
- package/dist/contexts/icon/index.js +0 -75
- package/dist/contexts/icon/styles.d.ts +0 -1
- package/dist/contexts/icon/styles.js +0 -4
- package/dist/contexts/index.d.ts +0 -4
- package/dist/contexts/index.js +0 -5
- package/dist/contexts/modal/index.d.ts +0 -4
- package/dist/contexts/modal/index.js +0 -46
- package/dist/contexts/modal/styles.d.ts +0 -1
- package/dist/contexts/modal/styles.js +0 -4
- package/dist/contexts/theme/content.d.ts +0 -3
- package/dist/contexts/theme/content.js +0 -74
- package/dist/contexts/theme/index.d.ts +0 -4
- package/dist/contexts/theme/index.js +0 -26
- package/dist/contexts/theme/styles.d.ts +0 -1
- package/dist/contexts/theme/styles.js +0 -78
- package/dist/contexts/tooltip/index.d.ts +0 -6
- package/dist/contexts/tooltip/index.js +0 -58
- package/dist/contexts/tooltip/styles.d.ts +0 -1
- package/dist/contexts/tooltip/styles.js +0 -40
- package/dist/interfaces/components/avatar/index.d.ts +0 -6
- package/dist/interfaces/components/avatar/index.js +0 -1
- package/dist/interfaces/components/badge/index.d.ts +0 -3
- package/dist/interfaces/components/badge/index.js +0 -1
- package/dist/interfaces/components/block/index.d.ts +0 -16
- package/dist/interfaces/components/block/index.js +0 -1
- package/dist/interfaces/components/chart/index.d.ts +0 -9
- package/dist/interfaces/components/chart/index.js +0 -1
- package/dist/interfaces/components/credit-card/index.d.ts +0 -16
- package/dist/interfaces/components/credit-card/index.js +0 -1
- package/dist/interfaces/components/form/button/index.d.ts +0 -7
- package/dist/interfaces/components/form/button/index.js +0 -1
- package/dist/interfaces/components/form/datetime/index.d.ts +0 -15
- package/dist/interfaces/components/form/datetime/index.js +0 -1
- package/dist/interfaces/components/form/file/index.d.ts +0 -14
- package/dist/interfaces/components/form/file/index.js +0 -1
- package/dist/interfaces/components/form/index.d.ts +0 -16
- package/dist/interfaces/components/form/index.js +0 -7
- package/dist/interfaces/components/form/input/index.d.ts +0 -17
- package/dist/interfaces/components/form/input/index.js +0 -1
- package/dist/interfaces/components/form/label/index.d.ts +0 -5
- package/dist/interfaces/components/form/label/index.js +0 -1
- package/dist/interfaces/components/form/select/index.d.ts +0 -14
- package/dist/interfaces/components/form/select/index.js +0 -1
- package/dist/interfaces/components/form/textarea/index.d.ts +0 -16
- package/dist/interfaces/components/form/textarea/index.js +0 -1
- package/dist/interfaces/components/index.d.ts +0 -26
- package/dist/interfaces/components/index.js +0 -11
- package/dist/interfaces/components/loading/app/index.d.ts +0 -3
- package/dist/interfaces/components/loading/app/index.js +0 -1
- package/dist/interfaces/components/loading/bar/index.d.ts +0 -7
- package/dist/interfaces/components/loading/bar/index.js +0 -1
- package/dist/interfaces/components/loading/index.d.ts +0 -2
- package/dist/interfaces/components/loading/index.js +0 -2
- package/dist/interfaces/components/logo/index.d.ts +0 -6
- package/dist/interfaces/components/logo/index.js +0 -1
- package/dist/interfaces/components/lottie/index.d.ts +0 -12
- package/dist/interfaces/components/lottie/index.js +0 -1
- package/dist/interfaces/components/modal/index.d.ts +0 -16
- package/dist/interfaces/components/modal/index.js +0 -1
- package/dist/interfaces/components/table/index.d.ts +0 -46
- package/dist/interfaces/components/table/index.js +0 -1
- package/dist/interfaces/components/table/paginate/index.d.ts +0 -7
- package/dist/interfaces/components/table/paginate/index.js +0 -1
- package/dist/interfaces/contexts/icon/index.d.ts +0 -3
- package/dist/interfaces/contexts/icon/index.js +0 -1
- package/dist/interfaces/contexts/index.d.ts +0 -8
- package/dist/interfaces/contexts/index.js +0 -4
- package/dist/interfaces/contexts/modal/index.d.ts +0 -16
- package/dist/interfaces/contexts/modal/index.js +0 -2
- package/dist/interfaces/contexts/theme/index.d.ts +0 -42
- package/dist/interfaces/contexts/theme/index.js +0 -1
- package/dist/interfaces/contexts/tooltip/index.d.ts +0 -3
- package/dist/interfaces/contexts/tooltip/index.js +0 -1
- package/dist/interfaces/index.d.ts +0 -2
- package/dist/interfaces/index.js +0 -2
- package/dist/styled.d.ts +0 -6
- package/dist/styled.js +0 -1
- package/dist/tsup.config.d.ts +0 -2
- package/dist/tsup.config.js +0 -20
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding-top: .3rem;
|
|
6
|
-
|
|
7
|
-
.iz-image-content {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
12
|
-
border-radius: 5px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
padding: .5rem 1rem;
|
|
15
|
-
width: 100%;
|
|
16
|
-
font-size: .8rem;
|
|
17
|
-
background: ${(props) => props.disabled ? "${({ theme }) => theme.t2}" : "${({ theme }) => theme.primary}"};
|
|
18
|
-
opacity: ${(props) => props.disabled ? ".7" : "1"};
|
|
19
|
-
color: ${({ theme }) => theme.t6};
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.iz-input-error {
|
|
24
|
-
color: ${({ theme }) => theme.negative};
|
|
25
|
-
font-size: .7rem;
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { Container } from "./styles";
|
|
5
|
-
import { InputLabel } from "../label";
|
|
6
|
-
import _ from "lodash";
|
|
7
|
-
export function InputText(props) {
|
|
8
|
-
const [showPassword, setShowPassword] = useState(false);
|
|
9
|
-
const register = (props.register || ((name) => ({})))(props.name || "");
|
|
10
|
-
const onChange = (event) => {
|
|
11
|
-
const value = event.target.value || "";
|
|
12
|
-
event.target.value = props.mask ? props.mask(value) : value;
|
|
13
|
-
if (register.onChange)
|
|
14
|
-
register.onChange(event);
|
|
15
|
-
if (props.onChange)
|
|
16
|
-
props.onChange(value);
|
|
17
|
-
};
|
|
18
|
-
return (_jsxs(Container, { className: props.className, error: props.error, password: props.type === "password", children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsxs("div", { className: "iz-input-content", children: [_jsx("input", { ..._.omit(props, ["className", "register", "mask"]), type: props.type === "password" ? showPassword ? "text" : "password" : props.type, maxLength: props.maxLength || 255, onFocus: () => {
|
|
19
|
-
if (props.onFocus)
|
|
20
|
-
props.onFocus(props.name);
|
|
21
|
-
}, ...register, onChange: onChange }), props.type === "password" && (_jsx("i", { "aria-hidden": true, className: showPassword ? "fa-solid fa-eye-slash" : "fa-solid fa-eye", onClick: () => setShowPassword(!showPassword) }))] }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding-top: .3rem;
|
|
6
|
-
|
|
7
|
-
.iz-input-content {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
12
|
-
border-radius: 5px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
padding-right: ${({ password }) => password ? ".6rem" : "0rem"};
|
|
15
|
-
background-color: ${({ theme }) => theme.primary};
|
|
16
|
-
|
|
17
|
-
input {
|
|
18
|
-
border: 0;
|
|
19
|
-
padding: .5rem 1rem;
|
|
20
|
-
width: 100%;
|
|
21
|
-
font-size: .8rem;
|
|
22
|
-
background-color: ${({ theme }) => theme.primary};
|
|
23
|
-
color: ${({ theme }) => theme.t6};
|
|
24
|
-
|
|
25
|
-
&:disabled {
|
|
26
|
-
background-color: ${({ theme }) => theme.t2};
|
|
27
|
-
color: ${({ theme }) => theme.t6};
|
|
28
|
-
opacity: .7;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:focus-visible {
|
|
32
|
-
outline: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
i {
|
|
37
|
-
color: ${({ theme }) => theme.t3};
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.iz-input-error {
|
|
43
|
-
color: ${({ theme }) => theme.negative};
|
|
44
|
-
font-size: .7rem;
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { Container } from "./styles";
|
|
5
|
-
import { InputLabel } from "../label";
|
|
6
|
-
import _ from "lodash";
|
|
7
|
-
export function InputSelect(props) {
|
|
8
|
-
const [focus, setFocus] = useState(false);
|
|
9
|
-
const register = (props.register || ((name) => ({})))(props.name || "");
|
|
10
|
-
const onChange = (event) => {
|
|
11
|
-
const value = event.target.value || "";
|
|
12
|
-
if (register.onChange)
|
|
13
|
-
register.onChange(event);
|
|
14
|
-
if (props.onChange)
|
|
15
|
-
props.onChange(value);
|
|
16
|
-
};
|
|
17
|
-
return (_jsxs(Container, { className: props.className, error: props.error, children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsxs("div", { className: "iz-input-content", children: [_jsx("select", { ..._.omit(props, ["className", "onChange", "onFocus", "options", "onMouseDown", "onBlur", "maxLength", "required", "register"]), onMouseDown: () => setFocus(!focus), onFocus: () => {
|
|
18
|
-
if (props.onFocus)
|
|
19
|
-
props.onFocus(props.name);
|
|
20
|
-
}, ...register, onBlur: (event) => {
|
|
21
|
-
if (register.onBlur)
|
|
22
|
-
register.onBlur(event);
|
|
23
|
-
setFocus(false);
|
|
24
|
-
}, onChange: onChange, children: _.map(props.options, (data, index) => _jsx("option", { value: Object.keys(data), children: Object.values(data) }, index)) }), _jsx("i", { "aria-hidden": true, className: focus ? "fa-solid fa-chevron-up" : "fa-solid fa-chevron-down" })] }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding-top: .3rem;
|
|
6
|
-
|
|
7
|
-
.iz-input-content {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
12
|
-
border-radius: 5px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
position: relative;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
|
|
17
|
-
select {
|
|
18
|
-
border: 0;
|
|
19
|
-
padding: .5rem 2.3rem .5rem 1rem;
|
|
20
|
-
width: 100%;
|
|
21
|
-
font-size: .8rem;
|
|
22
|
-
appearance: none;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
background-color: ${({ theme }) => theme.primary};
|
|
25
|
-
color: ${({ theme }) => theme.t6};
|
|
26
|
-
|
|
27
|
-
&:disabled {
|
|
28
|
-
background-color: ${({ theme }) => theme.t2};
|
|
29
|
-
color: ${({ theme }) => theme.t6};
|
|
30
|
-
opacity: .7;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:focus-visible {
|
|
34
|
-
outline: none;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
i {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 50%;
|
|
41
|
-
right: .8rem;
|
|
42
|
-
transform: translateY(-50%);
|
|
43
|
-
font-size: .8rem;
|
|
44
|
-
color: ${({ theme }) => theme.t6};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.iz-input-error {
|
|
49
|
-
color: ${({ theme }) => theme.negative};
|
|
50
|
-
font-size: .7rem;
|
|
51
|
-
}
|
|
52
|
-
`;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Container } from "./styles";
|
|
4
|
-
import { InputLabel } from "../label";
|
|
5
|
-
import _ from "lodash";
|
|
6
|
-
export function InputTextarea(props) {
|
|
7
|
-
const register = (props.register || ((name) => ({})))(props.name || "");
|
|
8
|
-
const onChange = (event) => {
|
|
9
|
-
const value = event.target.value || "";
|
|
10
|
-
event.target.value = props.mask ? props.mask(value) : value;
|
|
11
|
-
if (register.onChange)
|
|
12
|
-
register.onChange(event);
|
|
13
|
-
if (props.onChange)
|
|
14
|
-
props.onChange(value);
|
|
15
|
-
};
|
|
16
|
-
return (_jsxs(Container, { className: props.className, error: props.error, children: [!!props.label && _jsxs(InputLabel, { children: [props.label, props.required ? "*" : ""] }), _jsx("div", { className: "iz-input-content", children: _jsx("textarea", { ..._.omit(props, ["onFocus", "maxLength", "className", "onChange", "mask", "rows", "required", "register"]), maxLength: props.maxLength, rows: props.rows || 5, onFocus: () => {
|
|
17
|
-
if (props.onFocus)
|
|
18
|
-
props.onFocus(props.name);
|
|
19
|
-
}, ...register, onChange: onChange }) }), !!props.error && (_jsx("div", { className: "iz-input-error", children: props.error }))] }));
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding-top: .3rem;
|
|
6
|
-
|
|
7
|
-
.iz-input-content {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
border: 1px solid ${({ error, theme }) => error ? theme.negative : theme.t2};
|
|
12
|
-
border-radius: 5px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
|
|
15
|
-
textarea {
|
|
16
|
-
border: 0;
|
|
17
|
-
padding: .5rem 1rem;
|
|
18
|
-
width: 100%;
|
|
19
|
-
font-size: .8rem;
|
|
20
|
-
background-color: ${({ theme }) => theme.primary};
|
|
21
|
-
color: ${({ theme }) => theme.t6};
|
|
22
|
-
|
|
23
|
-
&:disabled {
|
|
24
|
-
background-color: ${({ theme }) => theme.t2};
|
|
25
|
-
color: ${({ theme }) => theme.t6};
|
|
26
|
-
opacity: .7;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:focus-visible {
|
|
30
|
-
outline: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.iz-input-error {
|
|
36
|
-
color: ${({ theme }) => theme.negative};
|
|
37
|
-
font-size: .7rem;
|
|
38
|
-
}
|
|
39
|
-
`;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./table";
|
|
2
|
-
export * from "./loading";
|
|
3
|
-
export * from "./modal";
|
|
4
|
-
export * from "./badge";
|
|
5
|
-
export * from "./logo";
|
|
6
|
-
export * from "./form";
|
|
7
|
-
export * from "./chart";
|
|
8
|
-
export * from "./avatar";
|
|
9
|
-
export * from "./lottie";
|
|
10
|
-
export * from "./credit-card";
|
|
11
|
-
export * from "./block";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./table";
|
|
2
|
-
export * from "./loading";
|
|
3
|
-
export * from "./modal";
|
|
4
|
-
export * from "./badge";
|
|
5
|
-
export * from "./logo";
|
|
6
|
-
export * from "./form";
|
|
7
|
-
export * from "./chart";
|
|
8
|
-
export * from "./avatar";
|
|
9
|
-
export * from "./lottie";
|
|
10
|
-
export * from "./credit-card";
|
|
11
|
-
export * from "./block";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Container } from "./styles";
|
|
4
|
-
import { Logo } from "../../logo";
|
|
5
|
-
export function LoadingApp(props) {
|
|
6
|
-
return (_jsx(Container, { ...props, children: _jsx(Logo, { className: "iz-loading-logo", onlyPrefix: true }) }));
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
width: ${({ initialization }) => initialization ? "100vw" : "100%"};
|
|
5
|
-
height: ${({ initialization }) => initialization ? "100vh" : "calc(100vh - 15rem)"};
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
position: ${({ initialization }) => initialization ? "absolute" : "relative"};;
|
|
10
|
-
bottom: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
background: ${({ initialization, theme }) => initialization ? `${theme.maingrad}, ${theme.primary}` : "transparent"};
|
|
13
|
-
z-index: ${({ initialization }) => initialization ? "9" : "0"};
|
|
14
|
-
|
|
15
|
-
.iz-loading-logo {
|
|
16
|
-
font-size: 4rem;
|
|
17
|
-
opacity: 40%;
|
|
18
|
-
animation: loop 2s infinite;
|
|
19
|
-
position: relative;
|
|
20
|
-
|
|
21
|
-
&::before {
|
|
22
|
-
content: "";
|
|
23
|
-
position: absolute;
|
|
24
|
-
width: 5rem;
|
|
25
|
-
height: 5rem;
|
|
26
|
-
animation: firstImpact 2s .5s infinite ease;
|
|
27
|
-
background: ${({ theme }) => theme.t05};
|
|
28
|
-
border-radius: 50%;
|
|
29
|
-
z-index: 0;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&::after {
|
|
34
|
-
content: "";
|
|
35
|
-
position: absolute;
|
|
36
|
-
width: 5rem;
|
|
37
|
-
height: 5rem;
|
|
38
|
-
animation: secondImpact 2s .5s infinite ease;
|
|
39
|
-
background: ${({ theme }) => theme.t05};
|
|
40
|
-
border-radius: 50%;
|
|
41
|
-
z-index: 0;
|
|
42
|
-
opacity: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@keyframes loop {
|
|
46
|
-
0% {
|
|
47
|
-
transform: scale(1);
|
|
48
|
-
}
|
|
49
|
-
80% {
|
|
50
|
-
transform: scale(1.3);
|
|
51
|
-
}
|
|
52
|
-
100% {
|
|
53
|
-
transform: scale(1);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@keyframes firstImpact {
|
|
58
|
-
0% {
|
|
59
|
-
transform: scale(1);
|
|
60
|
-
opacity: 0;
|
|
61
|
-
}
|
|
62
|
-
10% {
|
|
63
|
-
transform: scale(1.6);
|
|
64
|
-
opacity: 1;
|
|
65
|
-
}
|
|
66
|
-
100% {
|
|
67
|
-
transform: scale(1.6);
|
|
68
|
-
opacity: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@keyframes secondImpact {
|
|
73
|
-
0% {
|
|
74
|
-
transform: scale(1);
|
|
75
|
-
opacity: 0;
|
|
76
|
-
}
|
|
77
|
-
40% {
|
|
78
|
-
transform: scale(1.3);
|
|
79
|
-
opacity: 1;
|
|
80
|
-
}
|
|
81
|
-
100% {
|
|
82
|
-
transform: scale(1.3);
|
|
83
|
-
opacity: 0;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", any> & string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
border-radius: ${(props) => props.borderRadius || "10px"};
|
|
5
|
-
height: ${(props) => props.height || "100%"};
|
|
6
|
-
width: ${(props) => props.width || "100%"};
|
|
7
|
-
animation: loading infinite 2s;
|
|
8
|
-
margin: ${(props) => props.margin || "0px"};
|
|
9
|
-
|
|
10
|
-
@keyframes loading {
|
|
11
|
-
0% {
|
|
12
|
-
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
13
|
-
}
|
|
14
|
-
50% {
|
|
15
|
-
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.10)" : "rgb(255, 255, 255, 0.15)"};
|
|
16
|
-
}
|
|
17
|
-
100% {
|
|
18
|
-
background: ${(props) => !props.dark ? "rgb(0, 0, 0, 0.05)" : "rgb(255, 255, 255, 0.05)"};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
`;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Container } from "./styles";
|
|
4
|
-
export function Logo(props) {
|
|
5
|
-
return (_jsxs(Container, { ...props, children: [_jsx("label", { children: "IZ" }), !props.onlyPrefix && _jsx("label", { children: "Way" })] }));
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Container: any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
export const Container = styled.div `
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
gap: .3rem;
|
|
8
|
-
font-size: ${(props) => props.size || "2"}rem;
|
|
9
|
-
color: ${(props) => props.theme.t5};
|
|
10
|
-
|
|
11
|
-
label:first-child {
|
|
12
|
-
font-weight: 900;
|
|
13
|
-
color: ${(props) => props.theme.secondary};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
label:last-child {
|
|
17
|
-
font-weight: 600;
|
|
18
|
-
}
|
|
19
|
-
`;
|