@arkyn/components 2.0.2-beta.0 → 2.0.2
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/bundle.js +11891 -71265
- package/dist/bundle.umd.cjs +72 -1415
- package/dist/components/AudioUpload/HasFileContent/index.d.ts.map +1 -1
- package/dist/components/AudioUpload/HasFileContent/index.js +4 -1
- package/dist/components/AudioUpload/NoFileContent/index.d.ts.map +1 -1
- package/dist/components/AudioUpload/NoFileContent/index.js +1 -1
- package/dist/components/AudioUpload/index.d.ts.map +1 -1
- package/dist/components/AudioUpload/index.js +1 -1
- package/dist/components/FileUpload/NoFileContent/index.d.ts.map +1 -1
- package/dist/components/FileUpload/NoFileContent/index.js +1 -1
- package/dist/components/Input/CpfCpnjInput/getConfig.d.ts +1 -1
- package/dist/components/Input/CurrencyInput/getConfig.d.ts +1 -1
- package/dist/components/Input/MaskInput/getConfig.d.ts +1 -1
- package/dist/components/Input/SimpleInput/getConfig.d.ts +1 -1
- package/dist/components/PhoneInput/services/getDefaultFormatPhoneNumber.d.ts +75 -75
- package/dist/components/Select/getConfig.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/AudioUpload/HasFileContent/index.tsx +4 -1
- package/src/components/AudioUpload/NoFileContent/index.tsx +1 -1
- package/src/components/AudioUpload/index.tsx +2 -1
- package/src/components/FileUpload/NoFileContent/index.tsx +2 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AudioUpload/HasFileContent/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AudioUpload/HasFileContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,cAAc,CAAC;AAM9D,OAAO,cAAc,CAAC;AAMtB,iBAAS,cAAc,CAAC,KAAK,EAAE,8BAA8B,2CAuJ5D;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { Button, Divider, IconButton, Tooltip } from "@arkyn/components";
|
3
2
|
import { Pause, Play, RefreshCw } from "lucide-react";
|
4
3
|
import { useEffect, useRef, useState } from "react";
|
5
4
|
import { Slider } from "../../Slider";
|
6
5
|
import "./styles.css";
|
6
|
+
import { Divider } from "../../Divider";
|
7
|
+
import { Tooltip } from "../../Tooltip";
|
8
|
+
import { IconButton } from "../../IconButton";
|
9
|
+
import { Button } from "../../Button";
|
7
10
|
function HasFileContent(props) {
|
8
11
|
const { filePath, disabled, acceptAudio, handleSelectFile, isLoading, reSendAudio, changeAudioButtonText, } = props;
|
9
12
|
const [sliderValue, setSliderValue] = useState(0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AudioUpload/NoFileContent/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AudioUpload/NoFileContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAG7D,OAAO,cAAc,CAAC;AAGtB,iBAAS,aAAa,CAAC,KAAK,EAAE,6BAA6B,2CAkD1D;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { Button } from "@arkyn/components";
|
3
2
|
import "./styles.css";
|
3
|
+
import { Button } from "../../Button";
|
4
4
|
function NoFileContent(props) {
|
5
5
|
const { dropAudioText, isLoading, acceptAudio, handleSelectFile, selectAudioButtonText, disabled, } = props;
|
6
6
|
function handleDrop(event) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioUpload/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioUpload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAUhD,OAAO,cAAc,CAAC;AAEtB,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA2G3C;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { useFieldErrors } from "@arkyn/components";
|
3
2
|
import { useState } from "react";
|
3
|
+
import { useFieldErrors } from "../../hooks/useFieldErrors";
|
4
4
|
import { AudioUploadError } from "./AudioUploadError";
|
5
5
|
import { AudioUploadLabel } from "./AudioUploadLabel";
|
6
6
|
import { HasFileContent } from "./HasFileContent";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/NoFileContent/index.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FileUpload/NoFileContent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAK5D,OAAO,cAAc,CAAC;AAEtB,iBAAS,aAAa,CAAC,KAAK,EAAE,4BAA4B,2CAkDzD;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { Button } from "
|
2
|
+
import { Button } from "../../Button";
|
3
3
|
import "./styles.css";
|
4
4
|
function NoFileContent(props) {
|
5
5
|
const { dropFileText, isLoading, acceptFile, handleSelectFile, selectFileButtonText, disabled, } = props;
|
@@ -269,12 +269,12 @@ declare function getConfig(props: CpfCnpjInputProps, isFocused: boolean): {
|
|
269
269
|
name: string;
|
270
270
|
width?: number | string | undefined;
|
271
271
|
step?: number | string | undefined;
|
272
|
-
src?: string | undefined;
|
273
272
|
formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
274
273
|
formEncType?: string | undefined;
|
275
274
|
formMethod?: string | undefined;
|
276
275
|
formNoValidate?: boolean | undefined;
|
277
276
|
formTarget?: string | undefined;
|
277
|
+
src?: string | undefined;
|
278
278
|
checked?: boolean | undefined;
|
279
279
|
accept?: string | undefined;
|
280
280
|
alt?: string | undefined;
|
@@ -268,12 +268,12 @@ declare function getConfig(props: CurrencyInputProps, isFocused: boolean): {
|
|
268
268
|
name: string;
|
269
269
|
width?: number | string | undefined;
|
270
270
|
step?: number | string | undefined;
|
271
|
-
src?: string | undefined;
|
272
271
|
formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
273
272
|
formEncType?: string | undefined;
|
274
273
|
formMethod?: string | undefined;
|
275
274
|
formNoValidate?: boolean | undefined;
|
276
275
|
formTarget?: string | undefined;
|
276
|
+
src?: string | undefined;
|
277
277
|
checked?: boolean | undefined;
|
278
278
|
accept?: string | undefined;
|
279
279
|
alt?: string | undefined;
|
@@ -270,12 +270,12 @@ declare function getConfig(props: MaskedInputProps, isFocused: boolean): {
|
|
270
270
|
min?: number | string | undefined;
|
271
271
|
width?: number | string | undefined;
|
272
272
|
step?: number | string | undefined;
|
273
|
-
src?: string | undefined;
|
274
273
|
formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
275
274
|
formEncType?: string | undefined;
|
276
275
|
formMethod?: string | undefined;
|
277
276
|
formNoValidate?: boolean | undefined;
|
278
277
|
formTarget?: string | undefined;
|
278
|
+
src?: string | undefined;
|
279
279
|
checked?: boolean | undefined;
|
280
280
|
accept?: string | undefined;
|
281
281
|
alt?: string | undefined;
|
@@ -271,12 +271,12 @@ declare function getConfig(props: SimpleInputProps, isFocused: boolean): {
|
|
271
271
|
min?: number | string | undefined;
|
272
272
|
width?: number | string | undefined;
|
273
273
|
step?: number | string | undefined;
|
274
|
-
src?: string | undefined;
|
275
274
|
formAction?: string | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
src?: string | undefined;
|
280
280
|
checked?: boolean | undefined;
|
281
281
|
accept?: string | undefined;
|
282
282
|
alt?: string | undefined;
|