Skip to content

Commit

Permalink
commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Nov 12, 2018
2 parents c00837c + b76be6c commit 17aa3c6
Show file tree
Hide file tree
Showing 277 changed files with 6,664 additions and 5,386 deletions.
197 changes: 195 additions & 2 deletions .docz/app/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,200 @@
"version": "1.0.0",
"repository": "https://github.com/csantiago132/chat-app",
"native": false,
"codeSandbox": false
"codeSandbox": false,
"wrapper": "../../src/setup/docz_wrapper/wrapper",
"dest": "/docs",
"typescript": true
},
"entries": {}
"entries": {
"src/components/CreateChatRoom/docz.mdx": {
"name": "CreateChatRoom",
"menu": "Components",
"id": "782b588b7a23a8d6a50403e351d0580a",
"filepath": "src/components/CreateChatRoom/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/CreateChatRoom/docz.mdx",
"slug": "src-components-create-chat-room-docz",
"route": "/src-components-create-chat-room-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "createchatroom",
"value": "CreateChatRoom"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/CreateMessage/docz.mdx": {
"name": "CreateMessage",
"menu": "Components",
"id": "1fe9df91ac579d606fb571166be29518",
"filepath": "src/components/CreateMessage/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/CreateMessage/docz.mdx",
"slug": "src-components-create-message-docz",
"route": "/src-components-create-message-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "createchatroom",
"value": "CreateChatRoom"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/LoginComponent/docz.mdx": {
"name": "LoginComponent",
"menu": "Components",
"id": "81a264c3d35df06a3ee1c09a7182f8b0",
"filepath": "src/components/LoginComponent/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/LoginComponent/docz.mdx",
"slug": "src-components-login-component-docz",
"route": "/src-components-login-component-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "logincomponent",
"value": "LoginComponent"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/MessageList/docz.mdx": {
"name": "MessageList",
"menu": "Components",
"id": "fa4fc7e8000044abdaea0cc399ade290",
"filepath": "src/components/MessageList/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/MessageList/docz.mdx",
"slug": "src-components-message-list-docz",
"route": "/src-components-message-list-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "messagelist",
"value": "MessageList"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/PreviewLoader/docz.mdx": {
"name": "PreviewLoader",
"menu": "Components",
"id": "6b27ee01a1687597e3d3bd3b0e1de765",
"filepath": "src/components/PreviewLoader/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/PreviewLoader/docz.mdx",
"slug": "src-components-preview-loader-docz",
"route": "/src-components-preview-loader-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "navigation",
"value": "Navigation"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/ProfileCard/docs.mdx": {
"name": "ProfileCard",
"menu": "Components",
"id": "d73a36cb7f91f5918c68dcac62180ff0",
"filepath": "src/components/ProfileCard/docs.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/ProfileCard/docs.mdx",
"slug": "src-components-profile-card-docs",
"route": "/src-components-profile-card-docs",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "profilecard",
"value": "ProfileCard"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
},
"src/components/RoomsList/docz.mdx": {
"name": "RoomsList",
"menu": "Components",
"id": "db58329dbc0a53617eb7b44820baee91",
"filepath": "src/components/RoomsList/docz.mdx",
"link": "https://github.com/csantiago132/chat-app/edit/master/src/components/RoomsList/docz.mdx",
"slug": "src-components-rooms-list-docz",
"route": "/src-components-rooms-list-docz",
"order": 0,
"headings": [
{
"depth": 1,
"slug": "profilecard",
"value": "ProfileCard"
},
{
"depth": 2,
"slug": "basic-usage",
"value": "Basic Usage"
},
{
"depth": 2,
"slug": "properties",
"value": "Properties"
}
]
}
}
}
17 changes: 16 additions & 1 deletion .docz/app/imports.js
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
export const imports = {}
export const imports = {
'src/components/CreateChatRoom/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-create-chat-room-docz" */ 'src/components/CreateChatRoom/docz.mdx'),
'src/components/CreateMessage/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-create-message-docz" */ 'src/components/CreateMessage/docz.mdx'),
'src/components/LoginComponent/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-login-component-docz" */ 'src/components/LoginComponent/docz.mdx'),
'src/components/MessageList/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-message-list-docz" */ 'src/components/MessageList/docz.mdx'),
'src/components/PreviewLoader/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-preview-loader-docz" */ 'src/components/PreviewLoader/docz.mdx'),
'src/components/ProfileCard/docs.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-profile-card-docs" */ 'src/components/ProfileCard/docs.mdx'),
'src/components/RoomsList/docz.mdx': () =>
import(/* webpackPrefetch: true, webpackChunkName: "src-components-rooms-list-docz" */ 'src/components/RoomsList/docz.mdx'),
}
17 changes: 17 additions & 0 deletions .docz/app/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import ReactDOM from "react-dom";
import Root from "./root";

const _onPreRenders = [];
const _onPostRenders = [];

const onPreRender = () => _onPreRenders.forEach((f) => f && f());
const onPostRender = () => _onPostRenders.forEach((f) => f && f());

const root = document.querySelector("#root");
const render = (Component = Root) => {
onPreRender();
ReactDOM.render(<Component />, root, onPostRender);
};

render(Root);
19 changes: 19 additions & 0 deletions .docz/app/root.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from "react";
import { setConfig, hot } from "react-hot-loader";
import Theme from "docz-theme-default";

import { imports } from "./imports";
import db from "./db.json";

import Wrapper from "../../src/setup/docz_wrapper/wrapper";

const Root = () => (
<Theme db={db} imports={imports} hashRouter={false} wrapper={Wrapper} />
);

// TODO: this is temporary until react-hot-loader fix hooks issues
setConfig({
pureSFC: true
});

export default hot(module)(Root);
8 changes: 4 additions & 4 deletions .docz/cache/199f099848be2af5e4e6df8f802d6e00.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx",
"mtime": 1542040190684
"mtime": 1542041816895
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
Expand All @@ -20,7 +20,7 @@
],
"contextDependencies": [],
"result": [
"var _jsxFileName = \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\";\n\n(function () {\n var enterModule = require('react-hot-loader').enterModule;\n\n enterModule && enterModule(module);\n})();\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport Root from './root';\nvar _onPreRenders = [];\nvar _onPostRenders = [];\n\nvar onPreRender = function onPreRender() {\n return _onPreRenders.forEach(function (f) {\n return f && f();\n });\n};\n\nvar onPostRender = function onPostRender() {\n return _onPostRenders.forEach(function (f) {\n return f && f();\n });\n};\n\nvar root = document.querySelector('#root');\n\nvar render = function render() {\n var Component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Root;\n onPreRender();\n ReactDOM.render(React.createElement(Component, {\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14\n },\n __self: this\n }), root, onPostRender);\n};\n\nrender(Root);\n;\n\n(function () {\n var reactHotLoader = require('react-hot-loader').default;\n\n var leaveModule = require('react-hot-loader').leaveModule;\n\n if (!reactHotLoader) {\n return;\n }\n\n reactHotLoader.register(_onPreRenders, \"_onPreRenders\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(_onPostRenders, \"_onPostRenders\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(onPreRender, \"onPreRender\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(onPostRender, \"onPostRender\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(root, \"root\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(render, \"render\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n leaveModule(module);\n})();\n\n;",
"var _jsxFileName = \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\";\n\n(function () {\n var enterModule = require('react-hot-loader').enterModule;\n\n enterModule && enterModule(module);\n})();\n\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport Root from \"./root\";\nvar _onPreRenders = [];\nvar _onPostRenders = [];\n\nvar onPreRender = function onPreRender() {\n return _onPreRenders.forEach(function (f) {\n return f && f();\n });\n};\n\nvar onPostRender = function onPostRender() {\n return _onPostRenders.forEach(function (f) {\n return f && f();\n });\n};\n\nvar root = document.querySelector(\"#root\");\n\nvar render = function render() {\n var Component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Root;\n onPreRender();\n ReactDOM.render(React.createElement(Component, {\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14\n },\n __self: this\n }), root, onPostRender);\n};\n\nrender(Root);\n;\n\n(function () {\n var reactHotLoader = require('react-hot-loader').default;\n\n var leaveModule = require('react-hot-loader').leaveModule;\n\n if (!reactHotLoader) {\n return;\n }\n\n reactHotLoader.register(_onPreRenders, \"_onPreRenders\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(_onPostRenders, \"_onPostRenders\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(onPreRender, \"onPreRender\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(onPostRender, \"onPostRender\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(root, \"root\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n reactHotLoader.register(render, \"render\", \"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/index.jsx\");\n leaveModule(module);\n})();\n\n;",
{
"version": 3,
"sources": [
Expand All @@ -42,9 +42,9 @@
"render",
"Component"
],
"mappings": ";;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,QAAP,MAAqB,WAArB;AACA,OAAOC,IAAP,MAAiB,QAAjB;AAEA,IAAMC,aAAa,GAAG,EAAtB;AACA,IAAMC,cAAc,GAAG,EAAvB;;AAEA,IAAMC,WAAW,GAAG,SAAdA,WAAc;AAAA,SAAMF,aAAa,CAACG,OAAd,CAAsB,UAAAC,CAAC;AAAA,WAAIA,CAAC,IAAIA,CAAC,EAAV;AAAA,GAAvB,CAAN;AAAA,CAApB;;AACA,IAAMC,YAAY,GAAG,SAAfA,YAAe;AAAA,SAAMJ,cAAc,CAACE,OAAf,CAAuB,UAA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;AAAA;AAAA,IAAhB,EAA+BH,IAA/B,EAAqCD,YAArC;AACD,CAHD;;AAKAI,MAAM,CAACV,IAAD,CAAN;;;;;;;;;;;;0BAZMC,a;0BACAC,c;0BAEAC,W;0BACAG,Y;0BAEAC,I;0BACAG,M",
"sourcesContent": [
"import React from 'react'\nimport ReactDOM from 'react-dom'\nimport Root from './root'\n\nconst _onPreRenders = []\nconst _onPostRenders = []\n\nconst onPreRender = () => _onPreRenders.forEach(f => f && f())\nconst onPostRender = () => _onPostRenders.forEach(f => f && f())\n\nconst root = document.querySelector('#root')\nconst render = (Component = Root) => {\n onPreRender()\n ReactDOM.render(<Component />, root, onPostRender)\n}\n\nrender(Root)\n"
"import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport Root from \"./root\";\n\nconst _onPreRenders = [];\nconst _onPostRenders = [];\n\nconst onPreRender = () => _onPreRenders.forEach((f) => f && f());\nconst onPostRender = () => _onPostRenders.forEach((f) => f && f());\n\nconst root = document.querySelector(\"#root\");\nconst render = (Component = Root) => {\n onPreRender();\n ReactDOM.render(<Component />, root, onPostRender);\n};\n\nrender(Root);\n"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion .docz/cache/26fb85bae0cdd69a2e76fd822c6c9c78.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/components/RoomsList/styles/Styled.tsx",
"mtime": 1541823482087
"mtime": 1542041816974
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
Expand Down
8 changes: 4 additions & 4 deletions .docz/cache/274c75642a658d0a52ce05435b65bbf5.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .docz/cache/2d00b24611e7965637f683431640c8b6.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/setup/theme/src/color.ts",
"mtime": 1541635072843
"mtime": 1542041816989
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion .docz/cache/337798a17380f45dabbffc0a64467f6e.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/setup/theme/styles/input_fields.ts",
"mtime": 1541781536811
"mtime": 1542041816994
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
Expand Down
Loading

0 comments on commit 17aa3c6

Please sign in to comment.