Skip to content

Commit 49ae02f

Browse files
author
Andrzej Sala
authored
feat(componentDisplayMode): Merge passed a prop object with a default (#71)
* feat(componentDisplayMode): Merge passed a prop object with a default * chore(example): Clear example params
1 parent 01b6111 commit 49ae02f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+13108
-75
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ fabric.properties
3838
/tests/__coverage__/
3939
/examples/demo/build/
4040
/examples/demo/package-lock.json
41+
/dist
File renamed without changes.

demo/build/asset-manifest.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"main.css": "/static/css/main.218ded95.chunk.css",
3+
"main.js": "/static/js/main.c330bb31.chunk.js",
4+
"main.js.map": "/static/js/main.c330bb31.chunk.js.map",
5+
"runtime~main.js": "/static/js/runtime~main.42ac5946.js",
6+
"runtime~main.js.map": "/static/js/runtime~main.42ac5946.js.map",
7+
"static/js/2.ab6124b9.chunk.js": "/static/js/2.ab6124b9.chunk.js",
8+
"static/js/2.ab6124b9.chunk.js.map": "/static/js/2.ab6124b9.chunk.js.map",
9+
"index.html": "/index.html",
10+
"precache-manifest.2a58595fb846f91804af221cc1a187bb.js": "/precache-manifest.2a58595fb846f91804af221cc1a187bb.js",
11+
"service-worker.js": "/service-worker.js",
12+
"static/css/main.218ded95.chunk.css.map": "/static/css/main.218ded95.chunk.css.map"
13+
}
File renamed without changes.

demo/build/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.218ded95.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.ab6124b9.chunk.js"></script><script src="/static/js/main.c330bb31.chunk.js"></script></body></html>
File renamed without changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
self.__precacheManifest = [
2+
{
3+
"revision": "42ac5946195a7306e2a5",
4+
"url": "/static/js/runtime~main.42ac5946.js"
5+
},
6+
{
7+
"revision": "c330bb31e3b57ffe6ce1",
8+
"url": "/static/js/main.c330bb31.chunk.js"
9+
},
10+
{
11+
"revision": "ab6124b99d5e02a64220",
12+
"url": "/static/js/2.ab6124b9.chunk.js"
13+
},
14+
{
15+
"revision": "c330bb31e3b57ffe6ce1",
16+
"url": "/static/css/main.218ded95.chunk.css"
17+
},
18+
{
19+
"revision": "2d850e2b471b4180927a6bc1d8faec34",
20+
"url": "/index.html"
21+
}
22+
];

demo/build/service-worker.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/**
2+
* Welcome to your Workbox-powered service worker!
3+
*
4+
* You'll need to register this file in your web app and you should
5+
* disable HTTP caching for this file too.
6+
* See https://goo.gl/nhQhGp
7+
*
8+
* The rest of the code is auto-generated. Please don't update this file
9+
* directly; instead, make changes to your Workbox build configuration
10+
* and re-run your build process.
11+
* See https://goo.gl/2aRDsh
12+
*/
13+
14+
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
15+
16+
importScripts(
17+
"/precache-manifest.2a58595fb846f91804af221cc1a187bb.js"
18+
);
19+
20+
workbox.clientsClaim();
21+
22+
/**
23+
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
24+
* requests for URLs in the manifest.
25+
* See https://goo.gl/S9QRab
26+
*/
27+
self.__precacheManifest = [].concat(self.__precacheManifest || []);
28+
workbox.precaching.suppressWarnings();
29+
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
30+
31+
workbox.routing.registerNavigationRoute("/index.html", {
32+
33+
blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
34+
});

demo/build/static/css/main.218ded95.chunk.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/build/static/css/main.218ded95.chunk.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)