react-input-material 0.0.387 → 0.0.388

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-material",
3
- "version": "0.0.387",
3
+ "version": "0.0.388",
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",
@@ -83,7 +83,6 @@
83
83
  "@tinymce/tinymce-react": "*",
84
84
  "@types/ejs": "*",
85
85
  "@types/html-minifier": "*",
86
- "@types/jest": "*",
87
86
  "@types/jquery": "*",
88
87
  "@types/jsdom": "*",
89
88
  "@types/node": "*",
@@ -296,8 +295,8 @@
296
295
  "javaScript": {
297
296
  "options": {
298
297
  "presets": {
299
- "#": "TODO: Remove \"@babel/preset-react\" options when updated to babel 8. NOTE: We have to disable module export/import transformation to allow tree shaking by the final (minimizer).",
300
- "__evaluate__": "[['@babel/preset-react', {runtime: 'automatic'}], ['@babel/preset-env', {loose: true, modules: false, targets: self.targetTechnology === 'node' ? {node: 'current'} : {browsers: self.generic.supportedBrowsers, node: 'current'}}], '@babel/typescript'].concat((self.debug || !self.module.optimizer.babelMinify.module || 2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] === 'document') ? [] : [['minify', self.module.optimizer.babelMinify.module]])"
298
+ "#": "TODO: Remove \"@babel/react\" options when updated to babel 8. NOTE: We have to disable module export/import transformation to allow tree shaking by the final (minimizer).",
299
+ "__evaluate__": "[['@babel/react', {runtime: 'automatic'}], ['@babel/preset-env', {loose: true, modules: false, targets: self.targetTechnology === 'node' ? {node: 'current'} : {browsers: self.generic.supportedBrowsers, node: 'current'}}], '@babel/typescript'].concat((self.debug || !self.module.optimizer.babelMinify.module || 2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] === 'document') ? [] : [['minify', self.module.optimizer.babelMinify.module]])"
301
300
  }
302
301
  }
303
302
  }
package/testHelper.js CHANGED
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode"),require("react-dom/client"),require("react-dom/test-utils"));else if("function"==typeof define&&define.amd)define(["clientnode","react-dom/client","react-dom/test-utils"],t);else{var n="object"==typeof exports?t(require("clientnode"),require("react-dom/client"),require("react-dom/test-utils")):t(e.clientnode,e["react-dom/client"],e["react-dom/test-utils"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(this,(function(e,t,n){return function(){"use strict";var r={3:function(t){t.exports=e},41:function(e){e.exports=t},42:function(e){e.exports=n}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return function(){i.r(c),i.d(c,{prepareTestEnvironment:function(){return r}});var e=i(3),t=i(41),n=i(42);e.globalContext.IS_REACT_ACT_ENVIRONMENT=!0;var r=function(e,r){var o=null,i={container:null,render:function(e){var t,r;return(0,n.act)((function(){o?o.render(e):console.error('You call "render" outside a testing context.')})),null!=(t=i.container)&&null!=(r=t.childNodes)&&r.length?i.container.childNodes[0]:i.container}};return(null!=e?e:beforeEach)((function(){i.container=document.createElement("div"),i.container.setAttribute("class","test-wrapper"),document.body.appendChild(i.container),o||(0,n.act)((function(){o=(0,t.createRoot)(i.container)}))})),(null!=r?r:afterEach)((function(){o&&(0,n.act)((function(){o.unmount(),o=null})),i.container.remove(),i.container=null})),i};c.default=r}(),c}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@jest/globals"),require("clientnode"),require("react-dom/client"),require("react-dom/test-utils")):"function"==typeof define&&define.amd?define("componentsDummy",["@jest/globals","clientnode","react-dom/client","react-dom/test-utils"],e):"object"==typeof exports?exports.componentsDummy=e(require("@jest/globals"),require("clientnode"),require("react-dom/client"),require("react-dom/test-utils")):(n.componentsDummy=n.componentsDummy||{},n.componentsDummy.componentsFileInput=n.componentsDummy.componentsFileInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate=n.componentsDummy.componentsFileInput.componentsGenericAnimate||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=e(n["@jest/globals"],n.clientnode,n["react-dom/client"],n["react-dom/test-utils"]))}(this,(function(n,e,o,t){return function(){"use strict";var p={41:function(e){e.exports=n},3:function(n){n.exports=e},42:function(n){n.exports=o},43:function(n){n.exports=t}},c={};function m(n){var e=c[n];if(void 0!==e)return e.exports;var o=c[n]={exports:{}};return p[n](o,o.exports,m),o.exports}m.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return m.d(e,{a:e}),e},m.d=function(n,e){for(var o in e)m.o(e,o)&&!m.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},m.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},m.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return function(){m.r(r),m.d(r,{prepareTestEnvironment:function(){return p}});var n=m(41),e=m(3),o=m(42),t=m(43);e.globalContext.IS_REACT_ACT_ENVIRONMENT=!0;var p=function(e,p){var c=null,m={container:null,render:function(n){var e,o;return(0,t.act)((function(){c?c.render(n):console.error('You call "render" outside a testing context.')})),null!=(e=m.container)&&null!=(o=e.childNodes)&&o.length?m.container.childNodes[0]:m.container}};return(null!=e?e:n.beforeEach)((function(){m.container=document.createElement("div"),m.container.setAttribute("class","test-wrapper"),document.body.appendChild(m.container),c||(0,t.act)((function(){c=(0,o.createRoot)(m.container)}))})),(null!=p?p:n.afterEach)((function(){c&&(0,t.act)((function(){c.unmount(),c=null})),m.container.remove(),m.container=null})),m};r.default=p}(),r}()}));
package/testHelper.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /// <reference types="jest" />
2
- import { TestEnvironment } from './type';
3
- export declare const prepareTestEnvironment: (currentBeforeEach?: jest.Lifecycle | undefined, currentAfterEach?: jest.Lifecycle | undefined) => TestEnvironment;
4
- export default prepareTestEnvironment;