react-input-material 0.0.393 → 0.0.396

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.393",
3
+ "version": "0.0.396",
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",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "scripts": {
40
40
  "build": "yarn build:types; yarn build:plain",
41
- "build:export": "yarn build:types; yarn build:export:plain",
42
- "build:export:plain": "weboptimizer build '{__reference__: \"target:export\"}'",
41
+ "build:bundle": "yarn build:types; yarn build:bundle:plain",
42
+ "build:bundle:plain": "weboptimizer build '{__reference__: \"target:bundle\"}'",
43
43
  "build:plain": "weboptimizer build",
44
44
  "build:types": "weboptimizer build:types",
45
45
  "check": "yarn check:types; yarn lint",
@@ -302,7 +302,13 @@
302
302
  }
303
303
  }
304
304
  },
305
- "target:export": {
305
+ "target:bundle": {
306
+ "inPlace": {
307
+ "externalLibrary": {
308
+ "dynamic": true,
309
+ "normal": true
310
+ }
311
+ },
306
312
  "module": {
307
313
  "preprocessor": {
308
314
  "javaScript": {
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 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}()}));
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"),require("react-dom/client"),require("react-dom/test-utils"));else if("function"==typeof define&&define.amd)define(["clientnode","react-dom","react-dom/client","react-dom/test-utils"],t);else{var n="object"==typeof exports?t(require("clientnode"),require("react-dom"),require("react-dom/client"),require("react-dom/test-utils")):t(e.clientnode,e["react-dom"],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,r){return function(){"use strict";var o={3:function(t){t.exports=e},41:function(e){e.exports=t},42:function(e){e.exports=n},43:function(e){e.exports=r}},i={};function c(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,c),n.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){c.r(u),c.d(u,{prepareTestEnvironment:function(){return o}});var e=c(3),t=c(41),n=c(42),r=c(43);e.globalContext.IS_REACT_ACT_ENVIRONMENT=!0;var o=function(e,o){var i=null,c={container:null,render:function(e,n){var o,u;return void 0===n&&(n=!0),(0,r.act)((function(){i?n?(0,t.flushSync)((function(){return i.render(e)})):i.render(e):console.error('You call "render" outside a testing context.')})),null!=(o=c.container)&&null!=(u=o.childNodes)&&u.length?c.container.childNodes[0]:c.container}};return e((function(){c.container=document.createElement("div"),c.container.setAttribute("class","test-wrapper"),document.body.appendChild(c.container),i||(0,r.act)((function(){i=(0,n.createRoot)(c.container)}))})),o((function(){i&&(0,r.act)((function(){i.unmount(),i=null})),c.container.remove(),c.container=null})),c};u.default=o}(),u}()}));