react-input-material 0.0.785 → 0.0.787

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 (32) hide show
  1. package/dist/components/Checkbox/import.module.css +1 -1
  2. package/dist/components/Checkbox/index.js +1 -1
  3. package/dist/components/Checkbox/type.js +1 -1
  4. package/dist/components/FileInput/harness.js +1 -1
  5. package/dist/components/FileInput/helper.d.ts +1 -0
  6. package/dist/components/FileInput/import.module.css +2 -2
  7. package/dist/components/FileInput/index.css +1 -1
  8. package/dist/components/FileInput/index.js +1 -1
  9. package/dist/components/FileInput/type.d.ts +6 -6
  10. package/dist/components/FileInput/type.js +1 -1
  11. package/dist/components/Inputs/harness.js +1 -1
  12. package/dist/components/Inputs/import.module.css +1 -1
  13. package/dist/components/Inputs/index.js +1 -1
  14. package/dist/components/Inputs/type.js +1 -1
  15. package/dist/components/Interval/harness.js +1 -1
  16. package/dist/components/Interval/index.js +1 -1
  17. package/dist/components/Interval/type.d.ts +2 -3
  18. package/dist/components/Interval/type.js +1 -1
  19. package/dist/components/TextInput/harness.js +1 -1
  20. package/dist/components/TextInput/helper.d.ts +3 -2
  21. package/dist/components/TextInput/import.module.css +1 -1
  22. package/dist/components/TextInput/index.js +1 -1
  23. package/dist/components/TextInput/type.d.ts +10 -11
  24. package/dist/components/TextInput/type.js +1 -1
  25. package/dist/components/Wrapper/WrapConfigurations.js +1 -1
  26. package/dist/components/Wrapper/WrapThemeProvider.js +1 -1
  27. package/dist/helper.d.ts +11 -2
  28. package/dist/helper.js +1 -1
  29. package/dist/index.css +5 -5
  30. package/dist/index.js +1 -1
  31. package/dist/type.d.ts +5 -13
  32. package/package.json +30 -29
package/dist/type.d.ts CHANGED
@@ -4,21 +4,17 @@ import { ComponentClass, FocusEvent, ForwardRefExoticComponent, FunctionComponen
4
4
  import { GenericEvent } from 'react-generic-tools/type';
5
5
  import { ComponentAdapter, StaticWebComponent as StaticBaseWebComponent, ValidationMapping } from 'web-component-wrapper/type';
6
6
  import { ThemeProviderProps } from '@rmwc/theme';
7
- export interface CursorState {
8
- end: number;
9
- start: number;
10
- }
11
7
  export declare const PrimitiveTypes: readonly ["boolean", "DateTime", "integer", "number", "string"];
12
8
  export type PrimitiveType = typeof PrimitiveTypes[number];
13
- export type Type = boolean | number | string;
9
+ export type Type = boolean | number | string | object;
14
10
  export type TypeDefinition = Array<TypeDefinition> | Type;
15
11
  export interface SelectionOption {
16
12
  label: string;
17
13
  value: Primitive;
18
14
  }
19
15
  export type NormalizedSelection = Array<SelectionOption>;
20
- export type ModelSelection = Array<Primitive> | Mapping | NormalizedSelection;
21
- export type Selection = Array<[Primitive, string]> | ModelSelection;
16
+ export type BaseSelectionDefinition = Array<Primitive> | Mapping | NormalizedSelection;
17
+ export type SelectionDefinition = Array<[Primitive, string]> | BaseSelectionDefinition;
22
18
  export interface CommonBaseModel<Type = unknown> {
23
19
  declaration: string;
24
20
  description: string;
@@ -47,7 +43,7 @@ export type Pattern = Array<RegExp | string> | RegExp | string;
47
43
  export interface BaseModel<T = unknown> extends CommonBaseModel<T> {
48
44
  pattern?: Pattern;
49
45
  invertedPattern?: Pattern;
50
- selection?: ModelSelection;
46
+ selection?: BaseSelectionDefinition;
51
47
  mutable: boolean;
52
48
  writable: boolean;
53
49
  nullable: boolean;
@@ -68,7 +64,7 @@ export interface BaseProperties<T = unknown> extends CommonBaseModel<T>, ModelSt
68
64
  requiredText: string;
69
65
  componentProperties: Mapping<unknown>;
70
66
  domNodeProperties: Mapping<unknown>;
71
- selection?: Selection;
67
+ selection?: SelectionDefinition;
72
68
  showDeclaration: boolean;
73
69
  showInitialValidationState: boolean;
74
70
  showValidationState: boolean;
@@ -112,10 +108,6 @@ export interface ValueState<T = unknown, MS = ModelState> {
112
108
  modelState: MS;
113
109
  value: null | T;
114
110
  }
115
- export interface EditorState {
116
- editorIsActive: boolean;
117
- selectionIsUnstable: boolean;
118
- }
119
111
  export interface StaticWebComponent<Type, MS = ModelState, DP = DefaultProperties<Type>> extends StaticBaseWebComponent<Type> {
120
112
  defaultModelState: MS;
121
113
  defaultProperties: DP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.785",
3
+ "version": "0.0.787",
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",
@@ -114,15 +114,15 @@
114
114
  "@babel/plugin-transform-proto-to-assign": "^7.27.1",
115
115
  "@babel/preset-react": "^7.28.5",
116
116
  "@babel/runtime": "^7.28.6",
117
- "@codemirror/autocomplete": "^6.20.0",
118
- "@codemirror/commands": "^6.10.2",
117
+ "@codemirror/autocomplete": "^6.20.1",
118
+ "@codemirror/commands": "^6.10.3",
119
119
  "@codemirror/lang-css": "^6.3.1",
120
- "@codemirror/lang-javascript": "^6.2.4",
120
+ "@codemirror/lang-javascript": "^6.2.5",
121
121
  "@codemirror/language": "^6.12.2",
122
- "@codemirror/lint": "^6.9.4",
122
+ "@codemirror/lint": "^6.9.5",
123
123
  "@codemirror/search": "^6.6.0",
124
- "@codemirror/state": "^6.5.4",
125
- "@codemirror/view": "^6.39.15",
124
+ "@codemirror/state": "^6.6.0",
125
+ "@codemirror/view": "^6.40.0",
126
126
  "@emotion/react": "^11.14.0",
127
127
  "@eslint/js": "^10.0.1",
128
128
  "@playwright/test": "^1.58.2",
@@ -140,49 +140,50 @@
140
140
  "@rmwc/tooltip": "^14.3.5",
141
141
  "@rmwc/touch-target": "^14.3.5",
142
142
  "@rmwc/typography": "^14.3.5",
143
- "@stylistic/eslint-plugin": "^5.9.0",
143
+ "@stylistic/eslint-plugin": "^5.10.0",
144
144
  "@teamsupercell/typings-for-css-modules-loader": "^2.5.2",
145
- "@tiptap/core": "^3.20.0",
146
- "@tiptap/extensions": "^3.20.0",
147
- "@tiptap/react": "^3.20.0",
148
- "@tiptap/starter-kit": "^3.20.0",
145
+ "@tiptap/core": "^3.20.1",
146
+ "@tiptap/extensions": "^3.20.1",
147
+ "@tiptap/react": "^3.20.1",
148
+ "@tiptap/starter-kit": "^3.20.1",
149
149
  "@types/ejs": "^3.1.5",
150
150
  "@types/html-minifier": "^4.0.6",
151
151
  "@types/jquery": "^4.0.0",
152
152
  "@types/jsdom": "^28.0.0",
153
- "@types/node": "^25.3.2",
153
+ "@types/node": "^25.5.0",
154
154
  "@types/react": "^18.3.28",
155
155
  "@types/react-dom": "^18.3.7",
156
156
  "@types/react-transition-group": "^4.4.12",
157
157
  "@types/spark-md5": "^3.0.5",
158
158
  "@types/webpack-env": "^1.18.8",
159
- "@typescript-eslint/eslint-plugin": "^8.56.1",
160
- "@typescript-eslint/parser": "^8.56.1",
159
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
160
+ "@typescript-eslint/parser": "^8.57.0",
161
161
  "blob-util": "^2.0.2",
162
- "clientnode": "4.0.1349",
162
+ "clientnode": "4.0.1357",
163
163
  "css-loader": "^7.1.4",
164
- "cssnano": "^7.1.2",
165
- "documentation-website": "^1.0.398",
166
- "eslint": "^10.0.2",
164
+ "cssnano": "^7.1.3",
165
+ "documentation-website": "^1.0.401",
166
+ "eslint": "^10.0.3",
167
167
  "eslint-config-google": "^0.14.0",
168
- "eslint-plugin-jsdoc": "^62.7.1",
168
+ "eslint-plugin-jsdoc": "^62.8.0",
169
169
  "identity-obj-proxy": "^3.0.0",
170
- "jest": "^30.2.0",
170
+ "jest": "^30.3.0",
171
171
  "jsdoc": "^4.0.5",
172
172
  "material-components-web": "^14.0.0",
173
173
  "material-icons": "^1.13.14",
174
- "mini-css-extract-plugin": "^2.10.0",
175
- "postcss": "8.5.6",
174
+ "mini-css-extract-plugin": "^2.10.1",
175
+ "postcss": "8.5.8",
176
176
  "postcss-import": "^16.1.1",
177
177
  "postcss-loader": "^8.2.1",
178
178
  "postcss-nested": "^7.0.2",
179
179
  "postcss-preset-env": "^11.2.0",
180
+ "postcss-scss": "^4.0.9",
180
181
  "prop-types": "^15.8.1",
181
182
  "react": "^18.3.1",
182
183
  "react-dom": "^18.3.1",
183
- "react-generic-animate": "^0.0.106",
184
- "react-generic-dummy": "^0.0.118",
185
- "react-generic-tools": "^0.0.94",
184
+ "react-generic-animate": "^0.0.113",
185
+ "react-generic-dummy": "^0.0.122",
186
+ "react-generic-tools": "^0.0.104",
186
187
  "react-transition-group": "^4.4.5",
187
188
  "react-useanimations": "^2.10.0",
188
189
  "spark-md5": "^3.0.2",
@@ -190,10 +191,10 @@
190
191
  "stylelint": "^17.4.0",
191
192
  "stylelint-config-standard": "^40.0.0",
192
193
  "tslib": "^2.8.1",
193
- "typescript-eslint": "^8.56.1",
194
+ "typescript-eslint": "^8.57.0",
194
195
  "typescript-plugin-css-modules": "^5.2.0",
195
- "web-component-wrapper": "^0.0.543",
196
- "weboptimizer": "^3.0.0",
196
+ "web-component-wrapper": "^0.0.547",
197
+ "weboptimizer": "^3.0.7",
197
198
  "webpack-dev-server": "^5.2.3"
198
199
  },
199
200
  "peerDependencies": {