react-input-material 0.0.388 → 0.0.391

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.388",
3
+ "version": "0.0.391",
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",
@@ -0,0 +1,4 @@
1
+ import { afterEach, beforeEach } from '@jest/globals';
2
+ import { TestEnvironment } from './type';
3
+ export declare const prepareTestEnvironment: (currentBeforeEach: typeof beforeEach, currentAfterEach: typeof afterEach) => TestEnvironment;
4
+ export default prepareTestEnvironment;
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(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}()}));
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 e((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)}))})),r((function(){o&&(0,n.act)((function(){o.unmount(),o=null})),i.container.remove(),i.container=null})),i};c.default=r}(),c}()}));