@typeolymp/ui-components 1.16.6 → 1.17.0
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/build/components/atoms/Icon/index.d.ts +1 -1
- package/build/components/molecules/FileUpload/index.d.ts +13 -0
- package/build/components/molecules/FileUpload/stories.d.ts +13 -0
- package/build/components/molecules/FileUpload/styles.d.ts +1 -0
- package/build/index.d.ts +3 -2
- package/build/index.es.js +2814 -107
- package/build/index.es.js.map +1 -1
- package/build/index.js +2813 -105
- package/build/index.js.map +1 -1
- package/build/{lib → utils}/translations/index.d.ts +1 -1
- package/build/utils/types/TranslationType.d.ts +11 -0
- package/package.json +5 -3
- package/build/components/atoms/Input/translations.d.ts +0 -11
- package/build/components/molecules/Key/translations.d.ts +0 -5
- package/build/components/molecules/PasswordInputField/translations.d.ts +0 -11
- package/build/components/molecules/Tabs/styles.d.ts +0 -2
- package/build/lib/types/TranslationType.d.ts +0 -7
- /package/build/{lib → utils}/enums.d.ts +0 -0
- /package/build/{lib → utils}/helpers.d.ts +0 -0
- /package/build/{lib → utils}/theme/index.d.ts +0 -0
- /package/build/{lib → utils}/theme/types.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type TranslationType = {
|
|
2
|
+
"password_helper_capital_letter": string;
|
|
3
|
+
"password_helper_number": string;
|
|
4
|
+
"password_helper_special_character": string;
|
|
5
|
+
"password_helper_password_length": string;
|
|
6
|
+
"Drag file(s) here...": string;
|
|
7
|
+
"or": string;
|
|
8
|
+
"Select file(s)": string;
|
|
9
|
+
"Upload file(s)...": string;
|
|
10
|
+
"File type not allowed": string;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typeolymp/ui-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"author": "TypeOlymp",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"module": "build/index.es.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"prepublishOnly": "yarn build",
|
|
13
13
|
"storybook": "storybook dev -p 6006",
|
|
14
14
|
"storybook:export": "build-storybook",
|
|
15
|
-
"build-storybook": "storybook build"
|
|
15
|
+
"build-storybook": "storybook build",
|
|
16
|
+
"generate:app-translation-type": "node ./src/utils/scripts/generate-app-translation-type.mjs"
|
|
16
17
|
},
|
|
17
18
|
"publishConfig": {
|
|
18
19
|
"access": "restricted"
|
|
@@ -23,9 +24,10 @@
|
|
|
23
24
|
"styled-components": "5.3.10"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@typeolymp/utils": "^0.1.
|
|
27
|
+
"@typeolymp/utils": "^0.1.21",
|
|
27
28
|
"date-fns": "^2.28.0",
|
|
28
29
|
"html-react-parser": "^3.0.4",
|
|
30
|
+
"react-dropzone": "^14.2.3",
|
|
29
31
|
"react-spinners": "^0.11.0"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Locale } from "@typeolymp/utility/build/enums";
|
|
2
|
-
declare type TranslationsType = {
|
|
3
|
-
capitalLetter: string;
|
|
4
|
-
number: string;
|
|
5
|
-
specialCharacter: string;
|
|
6
|
-
length: string;
|
|
7
|
-
};
|
|
8
|
-
declare const translations: {
|
|
9
|
-
[key in Locale]: TranslationsType;
|
|
10
|
-
};
|
|
11
|
-
export default translations;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Locale } from "@typeolymp/utility/build/enums";
|
|
2
|
-
declare type TranslationsType = {
|
|
3
|
-
capitalLetter: string;
|
|
4
|
-
number: string;
|
|
5
|
-
specialCharacter: string;
|
|
6
|
-
length: string;
|
|
7
|
-
};
|
|
8
|
-
declare const translations: {
|
|
9
|
-
[key in Locale]: TranslationsType;
|
|
10
|
-
};
|
|
11
|
-
export default translations;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|