react-input-material 0.0.638 → 0.0.640

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.
Files changed (39) hide show
  1. package/dist/helper.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/package.json +78 -74
  4. package/dist/components/FileInput/helper.d.ts +0 -50
  5. package/dist/components/FileInput/import.css +0 -4
  6. package/dist/components/FileInput/import.js +0 -1
  7. package/dist/components/FileInput/index.css +0 -4
  8. package/dist/components/FileInput/index.d.ts +0 -53
  9. package/dist/components/FileInput/index.js +0 -1
  10. package/dist/components/Inputs/import.module.css +0 -2
  11. package/dist/components/Inputs/import.module.js +0 -1
  12. package/dist/components/Inputs/index.css +0 -4
  13. package/dist/components/Inputs/index.d.ts +0 -31
  14. package/dist/components/Inputs/index.js +0 -1
  15. package/dist/components/Interval/import.module.css +0 -2
  16. package/dist/components/Interval/import.module.js +0 -1
  17. package/dist/components/Interval/index.css +0 -4
  18. package/dist/components/Interval/index.d.ts +0 -28
  19. package/dist/components/Interval/index.js +0 -1
  20. package/dist/components/RequireableCheckbox/import.module.css +0 -2
  21. package/dist/components/RequireableCheckbox/import.module.js +0 -1
  22. package/dist/components/RequireableCheckbox/index.css +0 -2
  23. package/dist/components/RequireableCheckbox/index.d.ts +0 -52
  24. package/dist/components/RequireableCheckbox/index.js +0 -1
  25. package/dist/components/TextInput/helper.d.ts +0 -54
  26. package/dist/components/TextInput/import.css +0 -2
  27. package/dist/components/TextInput/import.js +0 -1
  28. package/dist/components/TextInput/index.css +0 -2
  29. package/dist/components/TextInput/index.d.ts +0 -54
  30. package/dist/components/TextInput/index.js +0 -1
  31. package/dist/components/TextInput/transformer.d.ts +0 -3
  32. package/dist/components/WrapConfigurations.d.ts +0 -39
  33. package/dist/components/WrapConfigurations.js +0 -1
  34. package/dist/components/WrapStrict.d.ts +0 -15
  35. package/dist/components/WrapThemeProvider.d.ts +0 -19
  36. package/dist/components/WrapThemeProvider.js +0 -1
  37. package/dist/components/WrapTooltip.d.ts +0 -17
  38. package/dist/components/WrapTooltip.js +0 -1
  39. package/src/declarations.d.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.638",
3
+ "version": "0.0.640",
4
4
  "description": "Reusable material design based input field with support for (richt-)text, code, selections, numbers, dates and so on.",
5
5
  "keywords": [
6
6
  "form-field",
@@ -58,81 +58,83 @@
58
58
  "test:browser": "yarn clear && weboptimizer test:browser '{__reference__: \"target:minimal\"}'",
59
59
  "test:coverage": "yarn clear && weboptimizer test:coverage",
60
60
  "test:coverage:report": "yarn clear && weboptimizer test:coverage:report '{__reference__: \"target:minimal\"}'",
61
- "update": "yarn version --patch",
61
+ "update": "yarn version patch && yarn npm publish",
62
62
  "update:documentation": "documentation-website",
63
63
  "watch": "weboptimizer build --watch"
64
64
  },
65
65
  "runkitExample": "require('@babel/runtime/package.json')\n\nglobalThis.window = globalThis\n\nconst {TextInput} = require('react-input-material')\n\nTextInput.webComponentAdapterWrapped",
66
66
  "devDependencies": {
67
- "@babel/eslint-parser": "*",
68
- "@babel/plugin-transform-proto-to-assign": "*",
69
- "@babel/preset-react": "*",
70
- "@emotion/react": "*",
71
- "@rmwc/card": "*",
72
- "@rmwc/checkbox": "*",
73
- "@rmwc/circular-progress": "*",
74
- "@rmwc/formfield": "*",
75
- "@rmwc/icon": "*",
76
- "@rmwc/icon-button": "*",
77
- "@rmwc/menu": "*",
78
- "@rmwc/select": "*",
79
- "@rmwc/tabs": "*",
80
- "@rmwc/textfield": "*",
81
- "@rmwc/theme": "*",
82
- "@rmwc/tooltip": "*",
83
- "@rmwc/touch-target": "*",
84
- "@rmwc/typography": "*",
85
- "@teamsupercell/typings-for-css-modules-loader": "*",
86
- "@tinymce/tinymce-react": "*",
87
- "@types/ejs": "*",
88
- "@types/html-minifier": "*",
89
- "@types/jquery": "*",
90
- "@types/jsdom": "*",
91
- "@types/node": "*",
92
- "@types/react": "*",
93
- "@types/react-dom": "*",
94
- "@types/react-transition-group": "*",
95
- "@types/spark-md5": "*",
96
- "@types/webpack-env": "*",
97
- "@typescript-eslint/eslint-plugin": "*",
98
- "@typescript-eslint/parser": "*",
99
- "blob-util": "*",
100
- "clientnode": "*",
101
- "css-loader": "*",
102
- "cssnano": "*",
103
- "documentation-website": "*",
104
- "eslint": "*",
105
- "eslint-config-google": "*",
106
- "eslint-plugin-jsdoc": "*",
107
- "identity-obj-proxy": "*",
108
- "jest": "*",
109
- "jsdoc": "*",
110
- "material-components-web": "*",
111
- "material-icons": "*",
112
- "mini-css-extract-plugin": "*",
67
+ "@babel/eslint-parser": "^7.23.10",
68
+ "@babel/plugin-transform-proto-to-assign": "^7.23.3",
69
+ "@babel/preset-react": "^7.23.3",
70
+ "@babel/runtime": "^7.24.0",
71
+ "@emotion/react": "^11.11.4",
72
+ "@rmwc/card": "^14.0.11",
73
+ "@rmwc/checkbox": "^14.0.11",
74
+ "@rmwc/circular-progress": "^14.0.11",
75
+ "@rmwc/formfield": "^14.0.11",
76
+ "@rmwc/icon": "^14.0.11",
77
+ "@rmwc/icon-button": "^14.0.11",
78
+ "@rmwc/menu": "^14.0.11",
79
+ "@rmwc/select": "^14.0.11",
80
+ "@rmwc/tabs": "^14.0.11",
81
+ "@rmwc/textfield": "^14.0.11",
82
+ "@rmwc/theme": "^14.0.11",
83
+ "@rmwc/tooltip": "^14.0.11",
84
+ "@rmwc/touch-target": "^14.0.11",
85
+ "@rmwc/typography": "^14.0.11",
86
+ "@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
87
+ "@tinymce/tinymce-react": "^4.3.2",
88
+ "@types/ejs": "^3.1.5",
89
+ "@types/html-minifier": "^4.0.5",
90
+ "@types/jquery": "^3.5.29",
91
+ "@types/jsdom": "^21.1.6",
92
+ "@types/node": "^20.11.24",
93
+ "@types/react": "^18.2.61",
94
+ "@types/react-dom": "^18.2.19",
95
+ "@types/react-transition-group": "^4.4.10",
96
+ "@types/spark-md5": "^3.0.4",
97
+ "@types/webpack-env": "^1.18.4",
98
+ "@typescript-eslint/eslint-plugin": "^7.1.0",
99
+ "@typescript-eslint/parser": "^7.1.0",
100
+ "blob-util": "^2.0.2",
101
+ "clientnode": "^3.0.1136",
102
+ "css-loader": "^6.10.0",
103
+ "cssnano": "^6.0.5",
104
+ "documentation-website": "^1.0.326",
105
+ "eslint": "^8.57.0",
106
+ "eslint-config-google": "^0.14.0",
107
+ "eslint-plugin-jsdoc": "^48.2.0",
108
+ "identity-obj-proxy": "^3.0.0",
109
+ "jest": "^29.7.0",
110
+ "jsdoc": "^4.0.2",
111
+ "material-components-web": "^14.0.0",
112
+ "material-icons": "^1.13.12",
113
+ "mini-css-extract-plugin": "^2.8.1",
113
114
  "postcss": "8.4.32",
114
- "postcss-import": "*",
115
- "postcss-loader": "*",
116
- "postcss-nested": "*",
117
- "postcss-preset-env": "*",
118
- "prop-types": "*",
119
- "react": "*",
120
- "react-ace": "*",
121
- "react-dom": "*",
122
- "react-generic-animate": "*",
123
- "react-generic-dummy": "*",
124
- "react-generic-tools": "*",
125
- "react-transition-group": "*",
126
- "react-useanimations": "*",
127
- "spark-md5": "*",
128
- "style-loader": "*",
129
- "stylelint": "*",
130
- "stylelint-config-standard": "*",
131
- "tslib": "*",
132
- "typescript-plugin-css-modules": "*",
133
- "web-component-wrapper": "*",
134
- "weboptimizer": "*",
135
- "webpack-dev-server": "*"
115
+ "postcss-import": "^16.0.1",
116
+ "postcss-loader": "^8.1.1",
117
+ "postcss-nested": "^6.0.1",
118
+ "postcss-preset-env": "^9.4.0",
119
+ "prop-types": "^15.8.1",
120
+ "react": "^18.2.0",
121
+ "react-ace": "^10.1.0",
122
+ "react-dom": "^18.2.0",
123
+ "react-generic-animate": "^0.0.40",
124
+ "react-generic-dummy": "^0.0.68",
125
+ "react-generic-tools": "^0.0.40",
126
+ "react-transition-group": "^4.4.5",
127
+ "react-useanimations": "^2.10.0",
128
+ "spark-md5": "^3.0.2",
129
+ "style-loader": "^3.3.4",
130
+ "stylelint": "^16.2.1",
131
+ "stylelint-config-standard": "^36.0.0",
132
+ "tinymce": "^6.8.3",
133
+ "tslib": "^2.6.2",
134
+ "typescript-plugin-css-modules": "^5.1.0",
135
+ "web-component-wrapper": "^0.0.484",
136
+ "weboptimizer": "^2.0.1452",
137
+ "webpack-dev-server": "^5.0.2"
136
138
  },
137
139
  "peerDependencies": {
138
140
  "@babel/runtime": "*",
@@ -248,8 +250,9 @@
248
250
  }
249
251
  },
250
252
  "engines": {
251
- "node": ">=18",
252
- "npm": ">=9"
253
+ "node": ">=20",
254
+ "npm": ">=10",
255
+ "yarn": ">=4"
253
256
  },
254
257
  "resolutions": {
255
258
  "colors": "1.4.0"
@@ -424,5 +427,6 @@
424
427
  }
425
428
  }
426
429
  }
427
- }
428
- }
430
+ },
431
+ "packageManager": "yarn@4.1.0+sha256.81a00df816059803e6b5148acf03ce313cad36b7f6e5af6efa040a15981a6ffb"
432
+ }
@@ -1,50 +0,0 @@
1
- import { Mapping } from 'clientnode/type';
2
- import { DefaultFileInputProperties as DefaultProperties, FileInputModelState as ModelState, FileValue, InputProps, FileRepresentationType as RepresentationType, FileInputProperties } from '../../type';
3
- import { ElementType } from 'react';
4
- export declare const CSS_CLASS_NAMES: Mapping;
5
- export declare const IMAGE_CONTENT_TYPE_REGULAR_EXPRESSION: RegExp;
6
- export declare const TEXT_CONTENT_TYPE_REGULAR_EXPRESSION: RegExp;
7
- export declare const REPRESENTABLE_TEXT_CONTENT_TYPE_REGULAR_EXPRESSION: RegExp;
8
- export declare const VIDEO_CONTENT_TYPE_REGULAR_EXPRESSION: RegExp;
9
- /**
10
- * Generates properties for nested text input to edit file name.
11
- * @param prototype - Base properties to extend from.
12
- * @param properties - Actual properties to derive from.
13
- * @param properties.name - Name of filename input field.
14
- * @param properties.value - Current edited file value.
15
- *
16
- * @returns Input properties.
17
- */
18
- export declare const preserveStaticFileBaseNameInputGenerator: <Type extends FileValue = FileValue, MediaTag extends ElementType = "div">(prototype: InputProps<string>, { name, value }: FileInputProperties<Type, MediaTag>) => InputProps<string>;
19
- /**
20
- * Determines which type of file we have to present.
21
- * @param contentType - File type to derive representation type from.
22
- *
23
- * @returns Nothing.
24
- */
25
- export declare const determineRepresentationType: (contentType: string) => RepresentationType;
26
- /**
27
- * Derives validation state from provided properties and state.
28
- * @param properties - Current component properties.
29
- * @param invalidName - Determines if edited file name is invalid or not.
30
- * @param currentState - Current component state.
31
- *
32
- * @returns Boolean indicating Whether component is in an aggregated valid or
33
- * invalid state.
34
- */
35
- export declare const determineValidationState: <Type extends FileValue = FileValue, P extends DefaultProperties<Type> = DefaultProperties<Type>>(properties: P, invalidName: boolean, currentState: ModelState) => boolean;
36
- /**
37
- * Derive base46 string from given file value.
38
- * @param value - File to derive string from.
39
- *
40
- * @returns A promise holding base64 string.
41
- */
42
- export declare const deriveBase64String: <Type extends FileValue = FileValue>(value: Type) => Promise<string>;
43
- /**
44
- * Read text from given binary data with given encoding.
45
- * @param blob - Binary data object.
46
- * @param encoding - Encoding for reading file correctly.
47
- *
48
- * @returns A promise holding parsed text as string.
49
- **/
50
- export declare const readBinaryDataIntoText: (blob: Blob, encoding?: string) => Promise<string>;