react-input-material 0.0.397 → 0.0.400

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.
@@ -39,12 +39,16 @@ endregion */
39
39
  width: 30px;
40
40
  }
41
41
 
42
- & .mdc-select__menu {
42
+ & .mdc-select {
43
43
  width: 100%;
44
- }
45
44
 
46
- & .mdc-select-helper-text {
47
- color: rgba(0, 0, 0, 0.6);
45
+ & .mdc-select__menu {
46
+ width: 100%;
47
+ }
48
+
49
+ & .mdc-select-helper-text {
50
+ color: rgba(0, 0, 0, 0.6);
51
+ }
48
52
  }
49
53
 
50
54
  & .mdc-text-field {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.397",
3
+ "version": "0.0.400",
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",
@@ -108,6 +108,7 @@
108
108
  "postcss": "*",
109
109
  "postcss-import": "<=12",
110
110
  "postcss-loader": "*",
111
+ "postcss-nested": "*",
111
112
  "postcss-preset-env": "*",
112
113
  "prop-types": "*",
113
114
  "react": ">=17",
@@ -289,9 +290,22 @@
289
290
  },
290
291
  "#": "Avoids TypeError: Cannot read property 'removeBinding' of null.",
291
292
  "module": null
293
+ },
294
+ "#": "We have to add disable \"mergeRules\" since it removes some needed css directives otherwise.",
295
+ "cssnano": {
296
+ "__evaluate__": "self.debug ? null : {preset: [optionalRequire('cssnano-preset-default'), {autoprefixer: false, discardUnused: !self.library, mergeRules: false}]}"
292
297
  }
293
298
  },
294
299
  "preprocessor": {
300
+ "cascadingStyleSheet": {
301
+ "additional": {
302
+ "plugins": {
303
+ "pre": {
304
+ "__append__": "require('postcss-nested')"
305
+ }
306
+ }
307
+ }
308
+ },
295
309
  "javaScript": {
296
310
  "options": {
297
311
  "presets": {
package/type.d.ts CHANGED
@@ -235,7 +235,6 @@ export interface InputProperties<T = unknown> extends InputModelState, Propertie
235
235
  cursor: CursorState;
236
236
  editor: ('code' | 'code(css)' | 'code(script)' | 'plain' | 'text' | 'richtext(raw)' | 'richtext(simple)' | 'richtext(normal)' | 'richtext(advanced)');
237
237
  editorIsActive: boolean;
238
- fullWidth: boolean;
239
238
  hidden: boolean;
240
239
  icon: string | (IconOptions & {
241
240
  tooltip?: string | TooltipProps;