From 4fc834b1732401bb9864d3f277abb986d21b7915 Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Fri, 1 Mar 2019 02:11:17 +0100 Subject: [PATCH] Fixes a bug due to `null` no longer considered as a valid defaultProp. --- public/iframe.html | 2 +- public/index.html | 2 +- public/index.story.js | 5 + public/main.251ca9c6c53164291214.bundle.js | 1 - public/main.3823480b1b5932d0a422.bundle.js | 1 + public/main.674e5333f9cec70457db.bundle.js | 2 - .../main.674e5333f9cec70457db.bundle.js.map | 1 - public/main.6b19cf33ace3535775eb.bundle.js | 2 + .../main.6b19cf33ace3535775eb.bundle.js.map | 1 + ...ntime~main.6b19cf33ace3535775eb.bundle.js} | 2 +- ...e~main.6b19cf33ace3535775eb.bundle.js.map} | 2 +- ...endors~main.172548aa8c101e0511a5.bundle.js | 136 ------------------ ...endors~main.674e5333f9cec70457db.bundle.js | 74 ---------- ...rs~main.674e5333f9cec70457db.bundle.js.map | 1 - ...endors~main.6a5859a974be60d270b2.bundle.js | 136 ++++++++++++++++++ ...endors~main.6b19cf33ace3535775eb.bundle.js | 74 ++++++++++ ...rs~main.6b19cf33ace3535775eb.bundle.js.map | 1 + public/webpack-stats.html | 2 +- src/BlocksContainer.js | 4 - src/StreamField.js | 2 +- 20 files changed, 226 insertions(+), 225 deletions(-) delete mode 100644 public/main.251ca9c6c53164291214.bundle.js create mode 100644 public/main.3823480b1b5932d0a422.bundle.js delete mode 100644 public/main.674e5333f9cec70457db.bundle.js delete mode 100644 public/main.674e5333f9cec70457db.bundle.js.map create mode 100644 public/main.6b19cf33ace3535775eb.bundle.js create mode 100644 public/main.6b19cf33ace3535775eb.bundle.js.map rename public/{runtime~main.674e5333f9cec70457db.bundle.js => runtime~main.6b19cf33ace3535775eb.bundle.js} (97%) rename public/{runtime~main.674e5333f9cec70457db.bundle.js.map => runtime~main.6b19cf33ace3535775eb.bundle.js.map} (99%) delete mode 100644 public/vendors~main.172548aa8c101e0511a5.bundle.js delete mode 100644 public/vendors~main.674e5333f9cec70457db.bundle.js delete mode 100644 public/vendors~main.674e5333f9cec70457db.bundle.js.map create mode 100644 public/vendors~main.6a5859a974be60d270b2.bundle.js create mode 100644 public/vendors~main.6b19cf33ace3535775eb.bundle.js create mode 100644 public/vendors~main.6b19cf33ace3535775eb.bundle.js.map diff --git a/public/iframe.html b/public/iframe.html index 6a82e19..551b975 100644 --- a/public/iframe.html +++ b/public/iframe.html @@ -64,4 +64,4 @@ font-family: sans-serif; }

No Preview

Sorry, but you either have no stories or none are selected somehow.

  • Please check the storybook config.
  • Try reloading the page.
     
-  
\ No newline at end of file +
\ No newline at end of file diff --git a/public/index.html b/public/index.html index 4b87c25..b54cc60 100644 --- a/public/index.html +++ b/public/index.html @@ -11,4 +11,4 @@ } } catch (e) { console.warn('unable to connect to parent frame for connecting dev tools'); - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/public/index.story.js b/public/index.story.js index 49ce949..dfd0c05 100644 --- a/public/index.story.js +++ b/public/index.story.js @@ -4,6 +4,11 @@ import { createStore, applyMiddleware } from 'redux'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; +// Polyfills +import 'core-js/shim' +import 'element-closest'; +import 'custom-event-polyfill'; + import { StreamField, streamFieldReducer } from '../src'; import { complexNestedStreamField } from './samples' diff --git a/public/main.251ca9c6c53164291214.bundle.js b/public/main.251ca9c6c53164291214.bundle.js deleted file mode 100644 index 5e2f7fb..0000000 --- a/public/main.251ca9c6c53164291214.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{320:function(n,o,p){p(321),p(402),n.exports=p(517)},402:function(n,o,p){"use strict";p.r(o);p(403)}},[[320,1,2]]]); \ No newline at end of file diff --git a/public/main.3823480b1b5932d0a422.bundle.js b/public/main.3823480b1b5932d0a422.bundle.js new file mode 100644 index 0000000..49884ec --- /dev/null +++ b/public/main.3823480b1b5932d0a422.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(n,o,p){p(321),p(402),n.exports=p(517)},402:function(n,o,p){"use strict";p.r(o);p(403)}},[[0,1,2]]]); \ No newline at end of file diff --git a/public/main.674e5333f9cec70457db.bundle.js b/public/main.674e5333f9cec70457db.bundle.js deleted file mode 100644 index 6d77f79..0000000 --- a/public/main.674e5333f9cec70457db.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"q",function(){return isNA}),__webpack_require__.d(__webpack_exports__,"m",function(){return getNewId}),__webpack_require__.d(__webpack_exports__,"g",function(){return getFieldName}),__webpack_require__.d(__webpack_exports__,"p",function(){return isField}),__webpack_require__.d(__webpack_exports__,"t",function(){return isStruct}),__webpack_require__.d(__webpack_exports__,"s",function(){return isStatic}),__webpack_require__.d(__webpack_exports__,"h",function(){return getIsMobile}),__webpack_require__.d(__webpack_exports__,"j",function(){return getLayout}),__webpack_require__.d(__webpack_exports__,"r",function(){return isSimpleLayout}),__webpack_require__.d(__webpack_exports__,"o",function(){return isClosed}),__webpack_require__.d(__webpack_exports__,"v",function(){return shouldRunInnerScripts}),__webpack_require__.d(__webpack_exports__,"i",function(){return getLabel}),__webpack_require__.d(__webpack_exports__,"e",function(){return getChildrenIds}),__webpack_require__.d(__webpack_exports__,"n",function(){return getSiblingsIds}),__webpack_require__.d(__webpack_exports__,"f",function(){return getDescendantsIds}),__webpack_require__.d(__webpack_exports__,"d",function(){return getBlockDefinition}),__webpack_require__.d(__webpack_exports__,"k",function(){return getNestedBlockDefinition}),__webpack_require__.d(__webpack_exports__,"w",function(){return structValueToObject}),__webpack_require__.d(__webpack_exports__,"l",function(){return getNewBlock}),__webpack_require__.d(__webpack_exports__,"c",function(){return deepCopy}),__webpack_require__.d(__webpack_exports__,"b",function(){return applyToBlocks}),__webpack_require__.d(__webpack_exports__,"a",function(){return applyToBlock}),__webpack_require__.d(__webpack_exports__,"y",function(){return triggerKeyboardEvent}),__webpack_require__.d(__webpack_exports__,"x",function(){return triggerCustomEvent}),__webpack_require__.d(__webpack_exports__,"u",function(){return replaceWithComponent});__webpack_require__(23),__webpack_require__(52),__webpack_require__(65),__webpack_require__(66),__webpack_require__(421),__webpack_require__(173),__webpack_require__(17),__webpack_require__(184),__webpack_require__(123),__webpack_require__(9),__webpack_require__(8),__webpack_require__(13),__webpack_require__(124);var react__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(201),uuid__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_14__);function _objectSpread(target){for(var i=1;i",className:"full title",html:""},{key:"text",icon:"",className:"full",html:""},{key:"block-type",label:"Block type",icon:"",titleTemplate:"${start_date} β€” ${end_date}",isStruct:!0,children:[{key:"start_date",html:"",required:!0},{key:"end_date",html:"",required:!0},{key:"image",html:""},{key:"public",html:""},{key:"tags"},{key:"size",html:""},{key:"color",html:""},{key:"sub-blocks",children:[{key:"sub-block-type",label:"Sub-block type",icon:"",isStruct:!0,children:[{key:"name"},{key:"password",html:""},{key:"sub-sub-blocks",children:[{key:"sub-sub-block-type",name:"Sub-sub-block type",icon:""}]}]}]}],default:[{type:"color",value:"#00FF00"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"lorem"},{type:"password",value:"ipsum"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",value:"blablabla"}]}]}]}]}],value:[{type:"title",value:"Wagtail is awesome!"},{type:"text",value:"And it’s always getting better! πŸ˜ƒ"},{type:"block-type",value:[{type:"start_date",value:"1768-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1769-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1770-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1771-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1772-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1773-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1774-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1775-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1776-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1777-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1778-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1779-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1780-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1781-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1782-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1783-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1784-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1785-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1786-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1787-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1788-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1789-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1790-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1791-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1792-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1793-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1794-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1795-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1796-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1797-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1798-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1799-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1800-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1801-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1802-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1803-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1804-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1805-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1806-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1807-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1808-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1809-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1810-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1811-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1812-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1813-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1814-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1815-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1816-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]},{type:"block-type",value:[{type:"start_date",value:"1817-03-04"},{type:"public",value:!0},{type:"size",value:3.14},{type:"color",value:"#F11C32"},{type:"sub-blocks",value:[{type:"sub-block-type",value:[{type:"name",value:"admin"},{type:"password",value:"admin"},{type:"sub-sub-blocks",value:[{type:"sub-sub-block-type",html:"
Or hi, if you prefer.
",value:"hello"},{type:"sub-sub-block-type",value:"world"}]}]}]}]}]}},204:function(module,exports,__webpack_require__){__webpack_require__(205),__webpack_require__(285),module.exports=__webpack_require__(286)},286:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _storybook_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(88);Object(_storybook_react__WEBPACK_IMPORTED_MODULE_0__.configure)(function(){__webpack_require__(398),__webpack_require__(401),__webpack_require__(403)},module)}.call(this,__webpack_require__(147)(module))},398:function(module,exports,__webpack_require__){var content=__webpack_require__(399);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(177)(content,options);content.locals&&(module.exports=content.locals)},399:function(module,exports,__webpack_require__){(module.exports=__webpack_require__(176)(!0)).push([module.i,"body {\n background: #F6F6F6;\n padding: 15px;\n}\n\n.children-container .block > .block-container > .content-container > .content.full {\n padding: 0;\n}\n\n.children-container .block > .block-container > .content-container > .content.full input,\n.children-container .block > .block-container > .content-container > .content.full textarea {\n display: block;\n min-width: 100%;\n max-width: 100%;\n height: 100%;\n padding: 12px;\n border: none;\n outline: none;\n}\n\n.children-container .block > .block-container > .content-container > .content.full input {\n font-size: 30px;\n}\n\ninput[type=text], input[type=password], input[type=email],\ninput[type=date], input[type=time], input[type=number], select {\n padding: 5px 8px;\n border: 1px solid lightGrey;\n border-radius: 3px;\n}\n\ninput[type=color] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n background: none;\n}\n\ntextarea {\n max-width: 100%;\n}","",{version:3,sources:["/home/bertrand/PycharmProjects/react-streamfield/example/example.scss"],names:[],mappings:"AAAA;EACE,oBAAA;EACA,cAAA;CACF;;AAEA;EACI,WAAA;CACJ;;AAEA;;EAEE,eAAA;EACA,gBAAA;EACA,gBAAA;EACA,aAAA;EACA,cAAA;EACA,aAAA;EACA,cAAA;CACF;;AAEA;EACE,gBAAA;CACF;;AAEA;;EAEE,iBAAA;EACA,4BAAA;EACA,mBAAA;CACF;;AAEA;EACE,yBAAA;EACA,sBAAA;EACA,iBAAA;EACA,aAAA;EACA,iBAAA;CACF;;AAEA;EACE,gBAAA;CACF",file:"example.scss",sourcesContent:['body {\n background: #F6F6F6;\n padding: 15px;\n}\n\n.children-container .block > .block-container > .content-container > .content.full {\n padding: 0;\n}\n\n.children-container .block > .block-container > .content-container > .content.full input,\n.children-container .block > .block-container > .content-container > .content.full textarea {\n display: block;\n min-width: 100%;\n max-width: 100%;\n height: 100%;\n padding: 12px;\n border: none;\n outline: none;\n}\n\n.children-container .block > .block-container > .content-container > .content.full input {\n font-size: 30px;\n}\n\ninput[type="text"], input[type="password"], input[type="email"],\ninput[type="date"], input[type="time"], input[type="number"], select {\n padding: 5px 8px;\n border: 1px solid lightGrey;\n border-radius: 3px;\n}\n\ninput[type="color"] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n background: none;\n}\n\ntextarea {\n max-width: 100%;\n}\n'],sourceRoot:""}])},4:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(9),__webpack_require__(8),__webpack_require__(13),__webpack_require__(17),__webpack_require__(23);var _class,_class2,_temp,react=__webpack_require__(0),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(2),prop_types_default=__webpack_require__.n(prop_types),redux=__webpack_require__(10),lib=__webpack_require__(6),react_beautiful_dnd_cjs=__webpack_require__(54),conversions=(__webpack_require__(106),__webpack_require__(89)),utils=__webpack_require__(1),classnames=__webpack_require__(27),classnames_default=__webpack_require__.n(classnames),react_dom=(__webpack_require__(78),__webpack_require__(28)),react_dom_default=__webpack_require__.n(react_dom),AnimateHeight=__webpack_require__(55),AnimateHeight_default=__webpack_require__.n(AnimateHeight);__webpack_require__(184);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _defineProperties(target,props){for(var descriptor,i=0;i')),react_default.a.createElement(src_RawHtmlFieldInput,{fieldId:fieldId,blockDefinition:blockDefinition,blockId:blockId,html:html,value:value,changeBlockValue:this.props.changeBlockValue});var blocksContainer=react_default.a.createElement(src_BlocksContainer,{fieldId:fieldId,id:blockId});return Object(utils.q)(html)?blocksContainer:Object(utils.u)(html,"",blocksContainer)}}])&&FieldInput_defineProperties(Constructor.prototype,protoProps),staticProps&&FieldInput_defineProperties(Constructor,staticProps),FieldInput;var Constructor,protoProps,staticProps}())||FieldInput_class,src_FieldInput=FieldInput_FieldInput;function StructChildField_typeof(obj){return(StructChildField_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function StructChildField_defineProperties(target,props){for(var descriptor,i=0;i",blocksContainer)}return react_default.a.createElement(src_FieldInput,{fieldId:fieldId,blockId:blockId})}},{key:"height",get:function(){return this.props.closed?0:"auto"}}])&&BlockContent_defineProperties(Constructor.prototype,protoProps),staticProps&&BlockContent_defineProperties(Constructor,staticProps),BlockContent;var Constructor,protoProps,staticProps}(),value={collapsible:!0},(key="defaultProps")in(obj=BlockContent_class2)?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,BlockContent_class=BlockContent_temp))||BlockContent_class,src_BlockContent=BlockContent_BlockContent;function BlockActions_typeof(obj){return(BlockActions_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function BlockActions_defineProperties(target,props){for(var descriptor,i=0;i