Skip to content

Commit

Permalink
Merge pull request #26 from csantiago132/develop
Browse files Browse the repository at this point in the history
fixing how docz folder is used
  • Loading branch information
csantiago132 authored Nov 12, 2018
2 parents 902cbb7 + 9efbcbb commit 6ea605c
Show file tree
Hide file tree
Showing 161 changed files with 8,187 additions and 8 deletions.
225 changes: 225 additions & 0 deletions .docz/app/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
{
"config": {
"title": "Slack Chat",
"description": "A CRUD (Create, Read, Update, Delete) chat application built with Typescript, React, Firebase and Immutable.JS",
"themeConfig": {
"mode": "dark",
"radii": "4px",
"styles": {
"container": {
"width": [1200, "100%"],
"padding": ["20px", "0 40px 40px"]
},
"table": {
"overflowY": "hidden",
"overflowX": ["initial", "initial", "initial", "hidden"],
"display": ["block", "block", "block", "table"],
"width": "100%",
"marginBottom": [20, 40],
"fontFamily": "Source Code Pro, monospace",
"fontSize": 14
}
}
},
"menu": [],
"ordering": "descending",
"version": "1.0.0",
"repository": "https://github.com/csantiago132/chat-app",
"native": false,
"codeSandbox": false,
"wrapper": "../../src/setup/docz_wrapper/wrapper",
"dest": "/docs",
"typescript": true
},
"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"
}
]
}
}
}
48 changes: 48 additions & 0 deletions .docz/cache/002f4fd4c38100a46458dfdbb7fb2971.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions .docz/cache/04635d0a8e667f4d4848f871e55344fd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"remainingRequest": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/babel-loader/lib/index.js?{\"presets\":[[\"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/babel-preset-docz/dist/index.js\",{\"flow\":false,\"typescript\":true,\"parseProps\":false}]],\"plugins\":[[\"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-utils/lib/named-asset-import.js\",{\"loaderMap\":{\"svg\":{\"ReactComponent\":\"@svgr/webpack?-prettier,-svgo![path]\"}}}]],\"cacheDirectory\":true,\"babelrc\":false}!/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/react-docgen-typescript-loader/dist/index.js!/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/setup/theme/src/color.ts",
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/setup/theme/src/color.ts",
"mtime": 1541635072843
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
"mtime": 1541429074980
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/babel-loader/lib/index.js",
"mtime": 1538779637905
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/react-docgen-typescript-loader/dist/index.js",
"mtime": 1541429075984
}
],
"contextDependencies": [],
"result": [
"/**\n * Colors\n * \n * Settings for the colors of the app \n * \n */\nvar color = {\n color_white: '#ffffff',\n color_offwhite: '#f9f9f9',\n color_offsetgray: '#efefef',\n color_lightgray: '#edeef3',\n color_gray: '#b2b2b7',\n color_darkgray: '#5c6366',\n color_black: '#1b1a1a',\n color_background_color: '#ffffff',\n color_darkblue: '#0f1a26',\n color_accent_color: '#ff8722',\n color_shadow_color: '#c5c0c0',\n color_blue_accent_color: '#13ccca',\n color_interactive: '#e01563',\n color_hover: '#3eb991',\n color_active: '#e9a820',\n color_focus: '#6ecadc',\n color_error: '#ef1617',\n color_shadowColor: '#c5c0c0'\n};\nexport default color;",
{
"version": 3,
"sources": [
"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/src/setup/theme/src/color.ts"
],
"names": [
"color",
"color_white",
"color_offwhite",
"color_offsetgray",
"color_lightgray",
"color_gray",
"color_darkgray",
"color_black",
"color_background_color",
"color_darkblue",
"color_accent_color",
"color_shadow_color",
"color_blue_accent_color",
"color_interactive",
"color_hover",
"color_active",
"color_focus",
"color_error",
"color_shadowColor"
],
"mappings": "AAAA;;;;;;AA4BA,IAAMA,KAAK,GAAG;AACZC,EAAAA,WAAW,EAAE,SADD;AAEZC,EAAAA,cAAc,EAAE,SAFJ;AAGZC,EAAAA,gBAAgB,EAAE,SAHN;AAIZC,EAAAA,eAAe,EAAE,SAJL;AAKZC,EAAAA,UAAU,EAAE,SALA;AAMZC,EAAAA,cAAc,EAAE,SANJ;AAOZC,EAAAA,WAAW,EAAE,SAPD;AAQZC,EAAAA,sBAAsB,EAAE,SARZ;AASZC,EAAAA,cAAc,EAAE,SATJ;AAUZC,EAAAA,kBAAkB,EAAE,SAVR;AAWZC,EAAAA,kBAAkB,EAAE,SAXR;AAYZC,EAAAA,uBAAuB,EAAE,SAZb;AAaZC,EAAAA,iBAAiB,EAAE,SAbP;AAcZC,EAAAA,WAAW,EAAE,SAdD;AAeZC,EAAAA,YAAY,EAAE,SAfF;AAgBZC,EAAAA,WAAW,EAAE,SAhBD;AAiBZC,EAAAA,WAAW,EAAE,SAjBD;AAkBZC,EAAAA,iBAAiB,EAAE;AAlBP,CAAd;AAqBA,eAAelB,KAAf",
"sourcesContent": [
"/**\n * Colors\n * \n * Settings for the colors of the app \n * \n */\n\n export interface IColor {\n color_white: string;\n color_offwhite: string;\n color_offsetgray: string;\n color_lightgray: string;\n color_gray: string;\n color_darkgray: string;\n color_black: string;\n color_background_color: string;\n color_darkblue: string;\n color_accent_color: string;\n color_shadow_color: string;\n color_blue_accent_color: string;\n color_interactive: string;\n color_hover: string;\n color_active: string;\n color_focus: string;\n color_error: string;\n color_shadowColor: string;\n }\n\nconst color = {\n color_white: '#ffffff',\n color_offwhite: '#f9f9f9',\n color_offsetgray: '#efefef',\n color_lightgray: '#edeef3',\n color_gray: '#b2b2b7',\n color_darkgray: '#5c6366',\n color_black: '#1b1a1a',\n color_background_color: '#ffffff',\n color_darkblue: '#0f1a26',\n color_accent_color: '#ff8722',\n color_shadow_color: '#c5c0c0',\n color_blue_accent_color: '#13ccca',\n color_interactive: '#e01563',\n color_hover: '#3eb991',\n color_active: '#e9a820',\n color_focus: '#6ecadc',\n color_error: '#ef1617',\n color_shadowColor: '#c5c0c0'\n};\n\nexport default color;"
]
}
]
}
55 changes: 55 additions & 0 deletions .docz/cache/04d4a12910339ab102d13f048e0c214d.json

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions .docz/cache/061156960a542cef5d31fa3358acee85.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"remainingRequest": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/babel-loader/lib/index.js?{\"presets\":[[\"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/babel-preset-docz/dist/index.js\",{\"flow\":false,\"typescript\":true,\"parseProps\":false}]],\"plugins\":[[\"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-utils/lib/named-asset-import.js\",{\"loaderMap\":{\"svg\":{\"ReactComponent\":\"@svgr/webpack?-prettier,-svgo![path]\"}}}]],\"cacheDirectory\":true,\"babelrc\":false}!/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/react-docgen-typescript-loader/dist/index.js!/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/root.jsx",
"dependencies": [
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/root.jsx",
"mtime": 1542040190672
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/cache-loader/dist/cjs.js",
"mtime": 1541429074980
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/docz-core/node_modules/babel-loader/lib/index.js",
"mtime": 1538779637905
},
{
"path": "/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/node_modules/react-docgen-typescript-loader/dist/index.js",
"mtime": 1541429075984
}
],
"contextDependencies": [],
"result": [
"import React from 'react';\nimport { setConfig, hot } from 'react-hot-loader';\nimport Theme from 'docz-theme-default';\nimport { imports } from './imports';\nimport db from './db.json';\nimport Wrapper from '../../src/setup/docz_wrapper/wrapper';\n\nvar Root = function Root() {\n return React.createElement(Theme, {\n db: db,\n imports: imports,\n hashRouter: false,\n wrapper: Wrapper\n });\n}; // TODO: this is temporary until react-hot-loader fix hooks issues\n\n\nsetConfig({\n pureSFC: true\n});\nexport default hot(module)(Root);",
{
"version": 3,
"sources": [
"/Users/carlossantiago/Dropbox/_Local/Github/slack-chat/.docz/app/root.jsx"
],
"names": [
"React",
"setConfig",
"hot",
"Theme",
"imports",
"db",
"Wrapper",
"Root",
"pureSFC",
"module"
],
"mappings": "AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,SAAT,EAAoBC,GAApB,QAA+B,kBAA/B;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,SAASC,OAAT,QAAwB,WAAxB;AACA,OAAOC,EAAP,MAAe,WAAf;AAEA,OAAOC,OAAP,MAAoB,sCAApB;;AAEA,IAAMC,IAAI,GAAG,SAAPA,IAAO;AAAA,SACX,oBAAC,KAAD;AAAO,IAAA,EAAE,EAAEF,EAAX;AAAe,IAAA,OAAO,EAAED,OAAxB;AAAiC,IAAA,UAAU,EAAE,KAA7C;AAAoD,IAAA,OAAO,EAAEE;AAA7D,IADW;AAAA,CAAb,C,CAIA;;;AACAL,SAAS,CAAC;AACRO,EAAAA,OAAO,EAAE;AADD,CAAD,CAAT;AAIA,eAAeN,GAAG,CAACO,MAAD,CAAH,CAAYF,IAAZ,CAAf",
"sourcesContent": [
"import React from 'react'\nimport { setConfig, hot } from 'react-hot-loader'\nimport Theme from 'docz-theme-default'\n\nimport { imports } from './imports'\nimport db from './db.json'\n\nimport Wrapper from '../../src/setup/docz_wrapper/wrapper'\n\nconst Root = () => (\n <Theme db={db} imports={imports} hashRouter={false} wrapper={Wrapper} />\n)\n\n// TODO: this is temporary until react-hot-loader fix hooks issues\nsetConfig({\n pureSFC: true,\n})\n\nexport default hot(module)(Root)\n"
]
}
]
}
Loading

0 comments on commit 6ea605c

Please sign in to comment.