From efc7b6ebfbcfac04e63a612ee5a7fbd999c3108c Mon Sep 17 00:00:00 2001 From: Jose Manuel Serrano Amaut <a20122128@pucp.pe> Date: Mon, 27 Mar 2023 15:28:00 -0500 Subject: [PATCH] [MVP]: Ready to publish --- .github/workflows/node.js.yml | 2 +- .gitignore | 2 + .npmignore | 4 +- CHANGELOG.md | 39 ++++++++++++++----- README.md | 14 ++++--- package-lock.json | 30 +++++++------- src/Avatar/Avatar.tsx | 2 +- src/DownloadHidden/DownloadHidden.tsx | 2 +- src/DropLayer/utils/dropLayerDynamicStyle.ts | 2 +- .../DropzoneButtons/DropzoneButtons.tsx | 2 +- .../DropzoneChildren/DropzoneChildren.tsx | 2 +- .../DropzoneDisabledLayer.tsx | 2 +- .../DropzoneFooter/DropzoneFooter.tsx | 2 +- .../DropzoneHeader/DropzoneHeader.tsx | 2 +- .../components/dropzone/Dropzone.scss | 13 +++---- src/Dropzone/components/dropzone/Dropzone.tsx | 2 +- .../components/dropzone/DropzoneProps.ts | 2 +- src/FileCard/FileCard.tsx | 2 +- src/FileCard/components/FileCardInfoLayer.tsx | 2 +- .../components/FileCardUploadLayer.tsx | 2 +- src/FileInputButton/FileInputButton.tsx | 2 +- src/FileInputButton/InputButtonProps.ts | 2 +- .../FileMosaicInfoLayer.tsx | 2 +- .../FileMosaicInfoLayerProps.ts | 2 +- .../FileMosaicMainLayerProps.ts | 2 +- .../FileMosaicStatus/FileMosaicStatus.tsx | 2 +- .../FileMosaicStatus/FileMosaicStatusProps.ts | 2 +- .../FileMosaicUploadLayer.tsx | 2 +- .../FileMosaicUploadLayerLegacy.tsx | 2 +- .../FileMosaicUploadLayerProps.ts | 2 +- .../components/file-mosaic-layer/Layer.tsx | 2 +- .../file-mosaic-layer/LayerContainer.tsx | 2 +- .../components/file-mosaic/FileMosaic.tsx | 2 +- .../components/file-mosaic/FileMosaicProps.ts | 2 +- src/FileStatus/AbortedStatus.tsx | 2 +- src/FileStatus/ErrorStatus.tsx | 2 +- src/FileStatus/FileStatusProps.ts | 2 +- src/FileStatus/PreparingStatus.tsx | 2 +- src/FileStatus/SuccessStatus.tsx | 2 +- src/FileStatus/UploadingStatus.tsx | 2 +- src/FilesUiProvider/FilesUIConfig.ts | 2 +- src/ImagePreview/ImagePreview.tsx | 2 +- src/InputHidden/InputHidden.tsx | 2 +- src/MaterialButton/MaterialButton.tsx | 2 +- .../utils/MaterialButtonStyleManager.ts | 2 +- src/hooks/useDropzoneClassName.ts | 2 +- src/hooks/useDropzoneFileUpdater.ts | 2 +- src/hooks/useDropzoneValidation.ts | 2 +- src/hooks/useFakeProgress.ts | 2 +- src/hooks/useFileMosaicInitializer.ts | 2 +- src/hooks/useIsUploading.ts | 2 +- src/hooks/useNumberOfValidFiles.ts | 2 +- src/index.ts | 4 +- src/loader/DefaultLoader/DefaultLoader.tsx | 2 +- src/loader/DefaultLoader/loader.tsx | 2 +- src/tooltip/Tooltip.tsx | 2 +- src/tooltip/TooltipProps.ts | 2 +- src/utils/ripple/ripple.ts | 2 +- 58 files changed, 117 insertions(+), 91 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ddac1b3..b7f0532 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,5 +26,5 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci + - run: npm i react react-dom @files-ui/react - run: npm run test diff --git a/.gitignore b/.gitignore index 4d29575..bb2f4b9 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +hidden \ No newline at end of file diff --git a/.npmignore b/.npmignore index 2686b7e..060cb5e 100644 --- a/.npmignore +++ b/.npmignore @@ -6,6 +6,7 @@ storybook-static src stories test +tests .eslintrc .gitignore .coveralls.yml @@ -20,4 +21,5 @@ rollup.config.js tempackage.json Dropzone-ui.txt CODE_OF_CONDICT.md -CONTRIBUTING.md \ No newline at end of file +CONTRIBUTING.md +hidden \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 982ceab..bf347dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,38 @@ # Change Log - +<a href="https://www.files-ui.com"> <p align="center"> -<img align="center" height="120" src="https://user-images.githubusercontent.com/43678736/132112022-0ca409ae-cca2-43c8-be89-110376260a3f.png" alt="dropone-ui-logo"> - -<h1 align="center"> Dropzone-UI</h1> - +<img src="https://user-images.githubusercontent.com/43678736/226257748-6ba2f8cf-59c5-40d1-a545-a388ddab0f68.png" width="150" height="150" alt="fui-logo"/> </p> +</a> + +<h1 align="center">Files ui</h1> All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +Thils file also consider all dropzone-ui [releases](https://github.com/dropzone-ui/dropzone-ui-react/releases). + +## [1.0.0](https://github.com/files-ui/files-ui-react/releases/tag/v1.0.0) (2023-03-28) + +## 🧪 New features + +- \<FileMosaic/\>: Added `resultOnToolip` prop. This prop provides another hover interaction. If present or `true`, FileItem will show the file validation status and the upload status on a nice tooltip. Otherwhise, if not present, false or undefined, FileItem will display the result on the InfoLayer. Special thanks to @mateusmx, 👏 who suggested this feature🧪. + +- \<FileCard/\>: Added `resultOnToolip` prop. This prop provides another hover interaction. If present or `true`, FileItem will show the file validation status and the upload status on a nice tooltip. Otherwhise, if not present, false or undefined, FileItem will display the result on the InfoLayer. Special thanks to @mateusmx, 👏 who suggested this feature🧪. + +- \<Dropzone/\>: Added `disableScroll` prop. This prop disables the css property `overflow: auto` in FileItemContainer inside Dropzone, when it displays the FileItem list inside of it. It also disables the `maxHeight` property and forces the `view` prop to be `"grid"`. The purpose of this special prop is to allow FileItemContainer to grow at the same time FileItem list increases and prevent triggering scrollbars. + +## 🐛 Fixes or improvements + +- \<Dropzone/>: Fixed issue in FileItemContainer that made it to overflow the size of Dropzone. + +## 📚 Improved documentation. + +- Added documentation about this new features + + <a name="6.4.0"></a> -## [6.4.0](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.4.0) (2021-12-12) +## [6.4.0](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.4.0) (2021-12-12) ## 🧪 New features @@ -30,7 +51,7 @@ All notable changes to this project will be documented in this file. See [standa <a name="6.3.6"></a> -## [6.3.6](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.3.6) (2021-07-12) +## [6.3.6](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.3.6) (2021-07-12) ## 🧪 New features @@ -48,7 +69,7 @@ All notable changes to this project will be documented in this file. See [standa <a name="6.2.0"></a> -## [6.2.0](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.2.0) (2021-26-11) +## [6.2.0](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.2.0) (2021-26-11) ### New features @@ -71,7 +92,7 @@ All notable changes to this project will be documented in this file. See [standa <a name="5.5.6"></a> -## [5.5.6](https://github.com/dropzone-ui/react-dropzone/releases/tag/v5.3.0) (2021-26-11) +## [5.5.6](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v5.3.0) (2021-26-11) - 🧪 Added Localization support for ✨ **Russian** and **Chinese** ✨. - 🐛 Fixed small bugs. diff --git a/README.md b/README.md index a348f58..d901573 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - <a href="https://www.files-ui.com"> <p align="center"> <img src="https://user-images.githubusercontent.com/43678736/226257748-6ba2f8cf-59c5-40d1-a545-a388ddab0f68.png" width="150" height="150" alt="fui-logo"/> @@ -10,15 +9,18 @@ UI components for file uploas with [React js](https://react.dev/). **Files UI** is a complete library for handling files in the UI. You can validate and upload them. - <div align="center"> -[](https://github.com/dropzone-ui/react/blob/HEAD/LICENSE) -[](https://www.npmjs.com/package/@dropzone-ui/react) [](https://openbase.com/js/@dropzone-ui/react?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) [](https://kandi.openweaver.com/typescript/dropzone-ui/dropzone-ui-react) [](http://makeapullrequest.com) -[](https://github.com/dropzone-ui/react) +[](https://github.com/files-ui/react/blob/HEAD/LICENSE) +[](https://www.npmjs.com/package/@files-ui/react) [](https://openbase.com/js/@files-ui/react?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) [](https://kandi.openweaver.com/typescript/files-ui/files-ui-react) [](http://makeapullrequest.com) +[](https://github.com/files-ui/react) </div> +<a href="https://www.files-ui.com"> +<img align="center" width="100%" src="https://user-images.githubusercontent.com/43678736/228052494-99d970c0-1eb7-42c6-b22c-8c2295b8dc4a.gif" alt="files-ui-preview"> +</a> + ## Installation @files-ui/react is available as an [npm package](https://www.npmjs.com/package/@files-ui/react). @@ -46,7 +48,7 @@ This project is licensed under the terms of the <br/> <p align="center"> -<a href="https://github.com/files-ui/files-ui-react#readme"> +<a href="#readme"> <img src="http://randojs.com/images/backToTopButtonTransparentBackground.png" alt="Back to top" height="28"/> </a> </p> diff --git a/package-lock.json b/package-lock.json index 052c72b..a4d99f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { - "name": "@files-ui/react", - "version": "1.0.0", + "name": "pythoniztioningcrypto2", + "version": "0.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@files-ui/react", - "version": "1.0.0", + "name": "pythoniztioningcrypto2", + "version": "0.0.1", "license": "MIT", "dependencies": { "@dynamicss/dynamicss": "^2.2.8", - "theamazingunkowntext": "^1.0.2" + "defpythoniztioningtrycrypto": "^0.0.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", @@ -2313,6 +2313,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/defpythoniztioningtrycrypto": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/defpythoniztioningtrycrypto/-/defpythoniztioningtrycrypto-0.0.2.tgz", + "integrity": "sha512-bc9YZbhwtghpg0074c33eXD0LnzQPUwpOBinlH7UkcJZa/vldvDWRU2TRqQScPhm4nMr70wWNX1ZwqBMmMB6aA==" + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -5808,11 +5813,6 @@ "node": "*" } }, - "node_modules/theamazingunkowntext": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/theamazingunkowntext/-/theamazingunkowntext-1.0.2.tgz", - "integrity": "sha512-ayfiI3yuVDYqt1Fd4n5hA8WRV1nvmzo+Hdtaqb+ERXroGpaEulorIeMYRhC/qQOgna3Jq6tlv453ARDwIAuveA==" - }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", @@ -8093,6 +8093,11 @@ "object-keys": "^1.1.1" } }, + "defpythoniztioningtrycrypto": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/defpythoniztioningtrycrypto/-/defpythoniztioningtrycrypto-0.0.2.tgz", + "integrity": "sha512-bc9YZbhwtghpg0074c33eXD0LnzQPUwpOBinlH7UkcJZa/vldvDWRU2TRqQScPhm4nMr70wWNX1ZwqBMmMB6aA==" + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -10679,11 +10684,6 @@ } } }, - "theamazingunkowntext": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/theamazingunkowntext/-/theamazingunkowntext-1.0.2.tgz", - "integrity": "sha512-ayfiI3yuVDYqt1Fd4n5hA8WRV1nvmzo+Hdtaqb+ERXroGpaEulorIeMYRhC/qQOgna3Jq6tlv453ARDwIAuveA==" - }, "tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", diff --git a/src/Avatar/Avatar.tsx b/src/Avatar/Avatar.tsx index 1999208..51295b9 100644 --- a/src/Avatar/Avatar.tsx +++ b/src/Avatar/Avatar.tsx @@ -7,7 +7,7 @@ import { useAvatarStyle } from "./useAvatarStyle"; import InfiniteLoader from "../loader/InfiniteLoader/InfiniteLoader"; import Layer from "../FileMosaic/components/file-mosaic-layer/Layer"; import ImagePreview from "../ImagePreview/ImagePreview"; -import { FileIdGenerator } from "theamazingunkowntext"; +import { FileIdGenerator } from "defpythoniztioningtrycrypto"; const Avatar: React.FC<AvatarProps> = (props: AvatarProps) => { const { readOnly, diff --git a/src/DownloadHidden/DownloadHidden.tsx b/src/DownloadHidden/DownloadHidden.tsx index 72958c0..05c6f48 100644 --- a/src/DownloadHidden/DownloadHidden.tsx +++ b/src/DownloadHidden/DownloadHidden.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -//import { handleClickUtil } from "theamazingunkowntext" +//import { handleClickUtil } from "defpythoniztioningtrycrypto" export type DownloadHiddenProps = { downloadUrl?: string; anchorRef: React.RefObject<HTMLAnchorElement>; diff --git a/src/DropLayer/utils/dropLayerDynamicStyle.ts b/src/DropLayer/utils/dropLayerDynamicStyle.ts index c9c8a72..0210804 100644 --- a/src/DropLayer/utils/dropLayerDynamicStyle.ts +++ b/src/DropLayer/utils/dropLayerDynamicStyle.ts @@ -1,4 +1,4 @@ -import { completeAsureColor } from "theamazingunkowntext" +import { completeAsureColor } from "defpythoniztioningtrycrypto" import { DEFAULT_BORDER_RADIUS } from "../../Dropzone/components/dropzone/DropzoneProps"; diff --git a/src/Dropzone/components/DropzoneButtons/DropzoneButtons.tsx b/src/Dropzone/components/DropzoneButtons/DropzoneButtons.tsx index dfc069c..81c21f6 100644 --- a/src/Dropzone/components/DropzoneButtons/DropzoneButtons.tsx +++ b/src/Dropzone/components/DropzoneButtons/DropzoneButtons.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { addClassName, Localization } from "theamazingunkowntext" +import { addClassName, Localization } from "defpythoniztioningtrycrypto" import { MaterialButton } from "../../../MaterialButton"; import { ActionButtonItem, DropzoneActions } from "../dropzone/DropzoneProps"; import "./DropzoneButtons.scss"; diff --git a/src/Dropzone/components/DropzoneChildren/DropzoneChildren.tsx b/src/Dropzone/components/DropzoneChildren/DropzoneChildren.tsx index e5af2f2..5b820a1 100644 --- a/src/Dropzone/components/DropzoneChildren/DropzoneChildren.tsx +++ b/src/Dropzone/components/DropzoneChildren/DropzoneChildren.tsx @@ -3,7 +3,7 @@ import { DropzoneLocalizerSelector, Localization, LocalLabels, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import "./DropzoneChildren.scss"; declare type DropzoneChildrenProps = { diff --git a/src/Dropzone/components/DropzoneDisabledLayer/DropzoneDisabledLayer.tsx b/src/Dropzone/components/DropzoneDisabledLayer/DropzoneDisabledLayer.tsx index 76ea8fd..c76e4d1 100644 --- a/src/Dropzone/components/DropzoneDisabledLayer/DropzoneDisabledLayer.tsx +++ b/src/Dropzone/components/DropzoneDisabledLayer/DropzoneDisabledLayer.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { addClassName, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { handleClickUtil, handleDragUtil, diff --git a/src/Dropzone/components/DropzoneFooter/DropzoneFooter.tsx b/src/Dropzone/components/DropzoneFooter/DropzoneFooter.tsx index 620a3a9..8ae6664 100644 --- a/src/Dropzone/components/DropzoneFooter/DropzoneFooter.tsx +++ b/src/Dropzone/components/DropzoneFooter/DropzoneFooter.tsx @@ -5,7 +5,7 @@ import { FunctionLabel, Localization, LocalLabels, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { handleClickUtil } from "../../../utils"; import { FooterConfig } from "../dropzone/DropzoneProps"; diff --git a/src/Dropzone/components/DropzoneHeader/DropzoneHeader.tsx b/src/Dropzone/components/DropzoneHeader/DropzoneHeader.tsx index 260bce9..f9f3ef8 100644 --- a/src/Dropzone/components/DropzoneHeader/DropzoneHeader.tsx +++ b/src/Dropzone/components/DropzoneHeader/DropzoneHeader.tsx @@ -7,7 +7,7 @@ import { FunctionLabel, Localization, LocalLabels, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { UploadingProcess, Clean, Cancel, Upload } from "../../../icons"; export type DropzoneHeaderProps = { diff --git a/src/Dropzone/components/dropzone/Dropzone.scss b/src/Dropzone/components/dropzone/Dropzone.scss index a062c77..9c3a841 100644 --- a/src/Dropzone/components/dropzone/Dropzone.scss +++ b/src/Dropzone/components/dropzone/Dropzone.scss @@ -14,7 +14,7 @@ gap: 0 8px; //justify-content: center; //align-items: center; - //padding: 23px 0px; + //padding: 23px 0px; /// label //color: #646c7f; @@ -75,7 +75,7 @@ } .files-ui-footer { -/* border-bottom-left-radius: 8px; + /* border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; */ box-sizing: border-box; cursor: text; @@ -85,10 +85,10 @@ left: 0; */ // width: calc(100% - 10px); width: 100%; - display: flex; + /* display: flex; flex-direction: column; align-items: flex-start; - justify-content: center; + justify-content: center; */ //border-top: 1px dotted grey; //background-color: rgba(128, 128, 128, 0.129); font-family: "Poppins", sans-serif; @@ -96,17 +96,16 @@ padding-left: 10px; font-size: 1rem; ////3 dots break in 1 lines - //overflow: hidden; + overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; /* number of lines to show */ line-clamp: 1; -webkit-box-orient: vertical; + text-align: left; - //background-color: rgba(0, 128, 128, 0.249); - @media (max-width: 960px) { //width: calc(100% - 1px); padding-left: 1px; diff --git a/src/Dropzone/components/dropzone/Dropzone.tsx b/src/Dropzone/components/dropzone/Dropzone.tsx index 3343cc4..17475ea 100644 --- a/src/Dropzone/components/dropzone/Dropzone.tsx +++ b/src/Dropzone/components/dropzone/Dropzone.tsx @@ -29,7 +29,7 @@ import { getRandomInt, addClassName, Localization,completeAsureColor, FileIdGenerator, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { mergeProps } from "../../../overridable"; import InputHidden from "../../../InputHidden/InputHidden"; import { diff --git a/src/Dropzone/components/dropzone/DropzoneProps.ts b/src/Dropzone/components/dropzone/DropzoneProps.ts index 9d760b1..e679f94 100644 --- a/src/Dropzone/components/dropzone/DropzoneProps.ts +++ b/src/Dropzone/components/dropzone/DropzoneProps.ts @@ -1,4 +1,4 @@ -import { ExtFile, ValidateFileResponse, Localization, UploadConfig } from "theamazingunkowntext" +import { ExtFile, ValidateFileResponse, Localization, UploadConfig } from "defpythoniztioningtrycrypto" import * as React from "react"; import { OverridableComponentProps } from "../../../overridable"; diff --git a/src/FileCard/FileCard.tsx b/src/FileCard/FileCard.tsx index 4f27c55..05e9a5b 100644 --- a/src/FileCard/FileCard.tsx +++ b/src/FileCard/FileCard.tsx @@ -9,7 +9,7 @@ import { Localization, //handleClickUtil, shrinkWord, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import FileCardRightActions from "./components/FileCardRightActions"; import FileCardInfoLayer from "./components/FileCardInfoLayer"; diff --git a/src/FileCard/components/FileCardInfoLayer.tsx b/src/FileCard/components/FileCardInfoLayer.tsx index 475bf5d..76dd55f 100644 --- a/src/FileCard/components/FileCardInfoLayer.tsx +++ b/src/FileCard/components/FileCardInfoLayer.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { FileMosaicInfoLayerProps } from "../../FileMosaic"; import { Cancel } from "../../icons"; type FileCardInfoLayerProps = FileMosaicInfoLayerProps; diff --git a/src/FileCard/components/FileCardUploadLayer.tsx b/src/FileCard/components/FileCardUploadLayer.tsx index 6aeeb3c..53431a6 100644 --- a/src/FileCard/components/FileCardUploadLayer.tsx +++ b/src/FileCard/components/FileCardUploadLayer.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" import { AbortedStatus, EmptyStatus, diff --git a/src/FileInputButton/FileInputButton.tsx b/src/FileInputButton/FileInputButton.tsx index 8b3fd56..45fe095 100644 --- a/src/FileInputButton/FileInputButton.tsx +++ b/src/FileInputButton/FileInputButton.tsx @@ -23,7 +23,7 @@ import { toUploadableExtFileList, cleanInput, FileIdGenerator, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { DropzoneActions } from "../Dropzone/components/dropzone/DropzoneProps"; import DropzoneButtons from "../Dropzone/components/DropzoneButtons/DropzoneButtons"; import { FilesUiContext } from "../FilesUiProvider/FilesUiContext"; diff --git a/src/FileInputButton/InputButtonProps.ts b/src/FileInputButton/InputButtonProps.ts index 27f408c..99cee74 100644 --- a/src/FileInputButton/InputButtonProps.ts +++ b/src/FileInputButton/InputButtonProps.ts @@ -1,4 +1,4 @@ -import { ValidateFileResponse, ExtFile, Localization, UploadConfig } from "theamazingunkowntext" +import { ValidateFileResponse, ExtFile, Localization, UploadConfig } from "defpythoniztioningtrycrypto" import { ActionButtons } from "../Dropzone/components/dropzone/DropzoneProps"; import { MaterialButtonProps } from "../MaterialButton/MaterialButtonProps"; diff --git a/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayer.tsx b/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayer.tsx index 6220c17..41b95da 100644 --- a/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayer.tsx +++ b/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayer.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { Cancel } from "../../../icons"; import FileMosaicStatus from "../FileMosaicStatus/FileMosaicStatus"; import { FileMosaicInfoLayerProps } from "./FileMosaicInfoLayerProps"; diff --git a/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayerProps.ts b/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayerProps.ts index dd8cf87..45bd9ac 100644 --- a/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayerProps.ts +++ b/src/FileMosaic/components/FileMosaicInfoLayer/FileMosaicInfoLayerProps.ts @@ -1,4 +1,4 @@ -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" export type FileMosaicInfoLayerProps = { valid: boolean | null | undefined; diff --git a/src/FileMosaic/components/FileMosaicMainLayer.tsx/FileMosaicMainLayerProps.ts b/src/FileMosaic/components/FileMosaicMainLayer.tsx/FileMosaicMainLayerProps.ts index c083705..6527a0a 100644 --- a/src/FileMosaic/components/FileMosaicMainLayer.tsx/FileMosaicMainLayerProps.ts +++ b/src/FileMosaic/components/FileMosaicMainLayer.tsx/FileMosaicMainLayerProps.ts @@ -1,4 +1,4 @@ -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" export interface FileMosaicMainLayerProps { darkMode?: boolean; diff --git a/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatus.tsx b/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatus.tsx index 9d1529b..9acfe16 100644 --- a/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatus.tsx +++ b/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatus.tsx @@ -3,7 +3,7 @@ import * as React from "react"; import { CheckCircle, CloudDone, DoDisturb, UploadError } from "../../../icons"; import { FileMosaicStatusProps } from "./FileMosaicStatusProps"; import "./FileMosaicStatus.scss"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" const FileMosaicStatus: React.FC<FileMosaicStatusProps> = ( props: FileMosaicStatusProps diff --git a/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatusProps.ts b/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatusProps.ts index 8091b93..e29aa1c 100644 --- a/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatusProps.ts +++ b/src/FileMosaic/components/FileMosaicStatus/FileMosaicStatusProps.ts @@ -1,4 +1,4 @@ -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" export interface FileMosaicStatusProps { diff --git a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayer.tsx b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayer.tsx index 31c3e49..47f5b9e 100644 --- a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayer.tsx +++ b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayer.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { FileMosaicUploadLayerProps } from "./FileMosaicUploadLayerProps"; import "./FileMosaicUploadLayer.scss"; -import { UPLOADSTATUS } from "theamazingunkowntext" +import { UPLOADSTATUS } from "defpythoniztioningtrycrypto" import { PreparingStatus, UploadingStatus, diff --git a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerLegacy.tsx b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerLegacy.tsx index a549911..be9ef0f 100644 --- a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerLegacy.tsx +++ b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerLegacy.tsx @@ -6,7 +6,7 @@ import { FileItemLocalizerSelector, LocalLabels, UPLOADSTATUS, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import { CheckCircle, CloudDone, UploadError } from "../../../icons"; import { DynamicLoader } from "../../../loader"; diff --git a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerProps.ts b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerProps.ts index fbff914..9f0e714 100644 --- a/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerProps.ts +++ b/src/FileMosaic/components/FileMosaicUploadLayer/FileMosaicUploadLayerProps.ts @@ -1,4 +1,4 @@ -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" export interface FileMosaicUploadLayerPropsMap { visible?: boolean; diff --git a/src/FileMosaic/components/file-mosaic-layer/Layer.tsx b/src/FileMosaic/components/file-mosaic-layer/Layer.tsx index 6c26273..c46506d 100644 --- a/src/FileMosaic/components/file-mosaic-layer/Layer.tsx +++ b/src/FileMosaic/components/file-mosaic-layer/Layer.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { addClassName } from "theamazingunkowntext" +import { addClassName } from "defpythoniztioningtrycrypto" import { OverridableComponentProps } from "../../../overridable"; import "./Layer.scss"; diff --git a/src/FileMosaic/components/file-mosaic-layer/LayerContainer.tsx b/src/FileMosaic/components/file-mosaic-layer/LayerContainer.tsx index c3c94a5..b1b14bd 100644 --- a/src/FileMosaic/components/file-mosaic-layer/LayerContainer.tsx +++ b/src/FileMosaic/components/file-mosaic-layer/LayerContainer.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { addClassName } from "theamazingunkowntext" +import { addClassName } from "defpythoniztioningtrycrypto" import { OverridableComponentProps } from "../../../overridable"; import "./LayerContainer.scss"; diff --git a/src/FileMosaic/components/file-mosaic/FileMosaic.tsx b/src/FileMosaic/components/file-mosaic/FileMosaic.tsx index f7efc3f..74f9312 100644 --- a/src/FileMosaic/components/file-mosaic/FileMosaic.tsx +++ b/src/FileMosaic/components/file-mosaic/FileMosaic.tsx @@ -4,7 +4,7 @@ import { fileSizeFormater, getLocalFileItemData, Localization, -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" import "./FileMosaic.scss"; import "./../../../icons/IconStyles.scss"; import { FileMosaicProps } from "./FileMosaicProps"; diff --git a/src/FileMosaic/components/file-mosaic/FileMosaicProps.ts b/src/FileMosaic/components/file-mosaic/FileMosaicProps.ts index 3f49545..9cd2862 100644 --- a/src/FileMosaic/components/file-mosaic/FileMosaicProps.ts +++ b/src/FileMosaic/components/file-mosaic/FileMosaicProps.ts @@ -1,4 +1,4 @@ -import { Localization, UPLOADSTATUS } from "theamazingunkowntext" +import { Localization, UPLOADSTATUS } from "defpythoniztioningtrycrypto" import { OverridableComponentProps } from "../../../overridable"; export interface FileMosaicPropsMap extends OverridableComponentProps { diff --git a/src/FileStatus/AbortedStatus.tsx b/src/FileStatus/AbortedStatus.tsx index 500045b..f9510bd 100644 --- a/src/FileStatus/AbortedStatus.tsx +++ b/src/FileStatus/AbortedStatus.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { DoDisturb } from "../icons"; import { FileStatusProps } from "./FileStatusProps"; interface AbortedStatusProps extends FileStatusProps {} diff --git a/src/FileStatus/ErrorStatus.tsx b/src/FileStatus/ErrorStatus.tsx index 90a2424..393a9d8 100644 --- a/src/FileStatus/ErrorStatus.tsx +++ b/src/FileStatus/ErrorStatus.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { Clear } from "../icons"; import { FileStatusProps } from "./FileStatusProps"; interface ErrorStatusProps extends FileStatusProps {} diff --git a/src/FileStatus/FileStatusProps.ts b/src/FileStatus/FileStatusProps.ts index a2f82d7..efa8ab9 100644 --- a/src/FileStatus/FileStatusProps.ts +++ b/src/FileStatus/FileStatusProps.ts @@ -1,4 +1,4 @@ -import { Localization } from "theamazingunkowntext" +import { Localization } from "defpythoniztioningtrycrypto" export type FileStatusProps = { localization?: Localization; diff --git a/src/FileStatus/PreparingStatus.tsx b/src/FileStatus/PreparingStatus.tsx index de84de2..6a6d2ef 100644 --- a/src/FileStatus/PreparingStatus.tsx +++ b/src/FileStatus/PreparingStatus.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import InfiniteLoader from "../loader/InfiniteLoader/InfiniteLoader"; import { FileStatusProps } from "./FileStatusProps"; diff --git a/src/FileStatus/SuccessStatus.tsx b/src/FileStatus/SuccessStatus.tsx index fcb532c..920894f 100644 --- a/src/FileStatus/SuccessStatus.tsx +++ b/src/FileStatus/SuccessStatus.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { CheckCircle } from "../icons"; import { FileStatusProps } from "./FileStatusProps"; interface SuccessStatusProps extends FileStatusProps {} diff --git a/src/FileStatus/UploadingStatus.tsx b/src/FileStatus/UploadingStatus.tsx index 823efba..519f876 100644 --- a/src/FileStatus/UploadingStatus.tsx +++ b/src/FileStatus/UploadingStatus.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { FileItemLocalizerSelector, LocalLabels } from "theamazingunkowntext" +import { FileItemLocalizerSelector, LocalLabels } from "defpythoniztioningtrycrypto" import { DynamicLoader } from "../loader"; import InfiniteLoader from "../loader/InfiniteLoader/InfiniteLoader"; import { FileStatusProps } from "./FileStatusProps"; diff --git a/src/FilesUiProvider/FilesUIConfig.ts b/src/FilesUiProvider/FilesUIConfig.ts index 3ab4f7e..c9d17ea 100644 --- a/src/FilesUiProvider/FilesUIConfig.ts +++ b/src/FilesUiProvider/FilesUIConfig.ts @@ -1,4 +1,4 @@ -import { IconsMap, Localization } from "theamazingunkowntext" +import { IconsMap, Localization } from "defpythoniztioningtrycrypto" export type FilesUIConfig = { /** diff --git a/src/ImagePreview/ImagePreview.tsx b/src/ImagePreview/ImagePreview.tsx index 420b345..0a54459 100644 --- a/src/ImagePreview/ImagePreview.tsx +++ b/src/ImagePreview/ImagePreview.tsx @@ -4,7 +4,7 @@ import { ImagePreviewProps, } from "./ImagePreviewProps"; import { mergeProps } from "../overridable"; -import { getImageOrientation, readAsDataURL } from "theamazingunkowntext" +import { getImageOrientation, readAsDataURL } from "defpythoniztioningtrycrypto" import "./ImagePreview.scss"; diff --git a/src/InputHidden/InputHidden.tsx b/src/InputHidden/InputHidden.tsx index d78c7e4..4d4a2f7 100644 --- a/src/InputHidden/InputHidden.tsx +++ b/src/InputHidden/InputHidden.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -//import { handleClickUtil } from "theamazingunkowntext" +//import { handleClickUtil } from "defpythoniztioningtrycrypto" import { InputHiddenProps } from "./InputHiddenProps"; const InputHidden: React.FC<InputHiddenProps> = (props: InputHiddenProps) => { diff --git a/src/MaterialButton/MaterialButton.tsx b/src/MaterialButton/MaterialButton.tsx index d600db5..2adc12d 100644 --- a/src/MaterialButton/MaterialButton.tsx +++ b/src/MaterialButton/MaterialButton.tsx @@ -2,7 +2,7 @@ import * as React from "react"; import useMaterialButtonClassName from "./hooks/useMaterialButtonClassName"; import { MaterialButtonProps } from "./MaterialButtonProps"; import "./MaterialButton.scss"; -import { addClassName, FileIdGenerator } from "theamazingunkowntext"; +import { addClassName, FileIdGenerator } from "defpythoniztioningtrycrypto"; import { FilesUiContext } from "../FilesUiProvider/FilesUiContext"; import { createRippleButton } from "../utils"; diff --git a/src/MaterialButton/utils/MaterialButtonStyleManager.ts b/src/MaterialButton/utils/MaterialButtonStyleManager.ts index 8037fc1..27617ad 100644 --- a/src/MaterialButton/utils/MaterialButtonStyleManager.ts +++ b/src/MaterialButton/utils/MaterialButtonStyleManager.ts @@ -1,4 +1,4 @@ -import { asureColor, colourNameToHex, completeAsureColor, darkerColor } from "theamazingunkowntext" +import { asureColor, colourNameToHex, completeAsureColor, darkerColor } from "defpythoniztioningtrycrypto" import { DynamicSheet, DynamicSheetRule } from "@dynamicss/dynamicss"; export default class MaterialButtonStyleManager { diff --git a/src/hooks/useDropzoneClassName.ts b/src/hooks/useDropzoneClassName.ts index a700d4c..0f5c40e 100644 --- a/src/hooks/useDropzoneClassName.ts +++ b/src/hooks/useDropzoneClassName.ts @@ -1,6 +1,6 @@ import { DynamicSheet, DynamicSheetRule, DynamiCSS } from "@dynamicss/dynamicss"; import * as React from "react"; -import { completeAsureColor } from "theamazingunkowntext"; +import { completeAsureColor } from "defpythoniztioningtrycrypto"; import { DEFAULT_BORDER_RADIUS } from "../Dropzone/components/dropzone/DropzoneProps"; diff --git a/src/hooks/useDropzoneFileUpdater.ts b/src/hooks/useDropzoneFileUpdater.ts index fe5974f..6f6378b 100644 --- a/src/hooks/useDropzoneFileUpdater.ts +++ b/src/hooks/useDropzoneFileUpdater.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ValidateFileResponse, ExtFile, ExtFileInstance, ExtFileManager, FileValidatorProps, Localization, setNextUploadStatus, validateExtFileList } from "theamazingunkowntext" +import { ValidateFileResponse, ExtFile, ExtFileInstance, ExtFileManager, FileValidatorProps, Localization, setNextUploadStatus, validateExtFileList } from "defpythoniztioningtrycrypto" /** * Effect for keeping track of changes diff --git a/src/hooks/useDropzoneValidation.ts b/src/hooks/useDropzoneValidation.ts index a748b9c..3e5c1ac 100644 --- a/src/hooks/useDropzoneValidation.ts +++ b/src/hooks/useDropzoneValidation.ts @@ -1,5 +1,5 @@ import * as React from "react" -import { ValidateFileResponse } from "theamazingunkowntext" +import { ValidateFileResponse } from "defpythoniztioningtrycrypto" export const useDropzoneValidation = ( accept: string | undefined, diff --git a/src/hooks/useFakeProgress.ts b/src/hooks/useFakeProgress.ts index 4cc7496..2f4e94c 100644 --- a/src/hooks/useFakeProgress.ts +++ b/src/hooks/useFakeProgress.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { getRandomInt } from "theamazingunkowntext" +import { getRandomInt } from "defpythoniztioningtrycrypto" export const useFakeProgress = (time = 1500) => { const [progress, setProgress] = React.useState(28); diff --git a/src/hooks/useFileMosaicInitializer.ts b/src/hooks/useFileMosaicInitializer.ts index 381e523..9300c2d 100644 --- a/src/hooks/useFileMosaicInitializer.ts +++ b/src/hooks/useFileMosaicInitializer.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { getURLFileIco, readAsDataURL, getURLFileIcoFromNameAndType } from "theamazingunkowntext" +import { getURLFileIco, readAsDataURL, getURLFileIcoFromNameAndType } from "defpythoniztioningtrycrypto" import { IconsSet } from "../FilesUiProvider"; /** diff --git a/src/hooks/useIsUploading.ts b/src/hooks/useIsUploading.ts index e0fee0b..5a56a39 100644 --- a/src/hooks/useIsUploading.ts +++ b/src/hooks/useIsUploading.ts @@ -1,4 +1,4 @@ -import { UPLOADSTATUS } from "theamazingunkowntext" +import { UPLOADSTATUS } from "defpythoniztioningtrycrypto" import * as React from "react"; export const useIsUploading = (uploadStatus: UPLOADSTATUS | undefined): boolean => { diff --git a/src/hooks/useNumberOfValidFiles.ts b/src/hooks/useNumberOfValidFiles.ts index 1cd83b0..b2fc5a3 100644 --- a/src/hooks/useNumberOfValidFiles.ts +++ b/src/hooks/useNumberOfValidFiles.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ExtFile } from "theamazingunkowntext" +import { ExtFile } from "defpythoniztioningtrycrypto" /** * Custom hook for managing diff --git a/src/index.ts b/src/index.ts index 494fbaa..443e49b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -45,7 +45,7 @@ export { ExtFileInstance, ExtFileManager, createUploadConfig -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" export type { ExtFile, @@ -57,7 +57,7 @@ export type { UploadConfig, ValidateFileResponse, IconsMap -} from "theamazingunkowntext" +} from "defpythoniztioningtrycrypto" export { default as FilesUiProvider } from "./FilesUiProvider/FilesUiProvider"; diff --git a/src/loader/DefaultLoader/DefaultLoader.tsx b/src/loader/DefaultLoader/DefaultLoader.tsx index 1260f24..6cf00fb 100644 --- a/src/loader/DefaultLoader/DefaultLoader.tsx +++ b/src/loader/DefaultLoader/DefaultLoader.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { completeAsureColor } from "theamazingunkowntext" +import { completeAsureColor } from "defpythoniztioningtrycrypto" import "./DefaultLoader.scss"; interface DefaultLoaderNeoProps { color?: string; diff --git a/src/loader/DefaultLoader/loader.tsx b/src/loader/DefaultLoader/loader.tsx index a32c567..aa47282 100644 --- a/src/loader/DefaultLoader/loader.tsx +++ b/src/loader/DefaultLoader/loader.tsx @@ -1,7 +1,7 @@ import React, { FC } from "react"; -import { hexColorToRGB } from "theamazingunkowntext" +import { hexColorToRGB } from "defpythoniztioningtrycrypto" interface LoaderProps { color?: string; } diff --git a/src/tooltip/Tooltip.tsx b/src/tooltip/Tooltip.tsx index fa00daf..927af9e 100644 --- a/src/tooltip/Tooltip.tsx +++ b/src/tooltip/Tooltip.tsx @@ -1,7 +1,7 @@ import * as React from "react"; import { TooltipProps } from "./TooltipProps"; import "./Tooltip.scss"; -import { UPLOADSTATUS } from "theamazingunkowntext" +import { UPLOADSTATUS } from "defpythoniztioningtrycrypto" const Tooltip: React.FC<TooltipProps> = (props: TooltipProps) => { const { //message, diff --git a/src/tooltip/TooltipProps.ts b/src/tooltip/TooltipProps.ts index 0467cea..dba424c 100644 --- a/src/tooltip/TooltipProps.ts +++ b/src/tooltip/TooltipProps.ts @@ -1,4 +1,4 @@ -import { UPLOADSTATUS } from "theamazingunkowntext" +import { UPLOADSTATUS } from "defpythoniztioningtrycrypto" import { OverridableComponentProps } from "../overridable"; export interface TooltipPropsMap extends OverridableComponentProps { diff --git a/src/utils/ripple/ripple.ts b/src/utils/ripple/ripple.ts index cd76289..c006e03 100644 --- a/src/utils/ripple/ripple.ts +++ b/src/utils/ripple/ripple.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { completeAsureColor, hexColorToRGB } from "theamazingunkowntext" +import { completeAsureColor, hexColorToRGB } from "defpythoniztioningtrycrypto" const asureRippleColor = (color: string): string => { return completeAsureColor(color, -- GitLab