├── .babelrc ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── demo.gif ├── screenshot.jpg └── screenshot2.jpg ├── cosmos.config.js ├── demo └── simple │ ├── .babelrc │ ├── index.css │ ├── index.html │ ├── index.js │ ├── package.json │ └── webpack.config.js ├── images ├── Fitness App.sketch ├── bg.png ├── folder.png └── ui-video-simple-john-hansen.sketch ├── index.html ├── main.js ├── package.json ├── src ├── __tests__ │ ├── Style.spec.js │ └── utils.spec.js ├── components │ ├── Document │ │ ├── Document.js │ │ ├── Document.styl │ │ ├── LayerIndicator.js │ │ ├── LayerInfo.js │ │ ├── LayerSelector.js │ │ ├── LayerSelector │ │ │ └── __fixtures__ │ │ │ │ └── default.js │ │ ├── PageSelector.js │ │ ├── PageSelector │ │ │ └── __fixtures__ │ │ │ │ └── default.js │ │ ├── __fixtures__ │ │ │ ├── Fitness App.sketch │ │ │ ├── document.js │ │ │ └── ui-video-simple-john-hansen.sketch │ │ ├── bg.png │ │ └── folder.png │ ├── Layer │ │ ├── Artboard.js │ │ ├── Bitmap.js │ │ ├── Group.js │ │ ├── Layer.js │ │ ├── Page.js │ │ ├── ShapeGroup.js │ │ ├── Symbol.js │ │ ├── Text.js │ │ └── __fixtures__ │ │ │ └── layer.js │ └── Site │ │ ├── App.js │ │ ├── App │ │ └── __fixtures__ │ │ │ └── default.js │ │ ├── Loading.js │ │ ├── Loading │ │ └── __fixtures__ │ │ │ └── default.js │ │ └── index.css ├── index.js ├── models │ └── index.js └── utils │ ├── JSX.js │ ├── bplist-parser.js │ ├── index.js │ └── pretty-bytes.js ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/README.md -------------------------------------------------------------------------------- /assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/assets/demo.gif -------------------------------------------------------------------------------- /assets/screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/assets/screenshot.jpg -------------------------------------------------------------------------------- /assets/screenshot2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/assets/screenshot2.jpg -------------------------------------------------------------------------------- /cosmos.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/cosmos.config.js -------------------------------------------------------------------------------- /demo/simple/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/.babelrc -------------------------------------------------------------------------------- /demo/simple/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/index.css -------------------------------------------------------------------------------- /demo/simple/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/index.html -------------------------------------------------------------------------------- /demo/simple/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/index.js -------------------------------------------------------------------------------- /demo/simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/package.json -------------------------------------------------------------------------------- /demo/simple/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/demo/simple/webpack.config.js -------------------------------------------------------------------------------- /images/Fitness App.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/images/Fitness App.sketch -------------------------------------------------------------------------------- /images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/images/bg.png -------------------------------------------------------------------------------- /images/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/images/folder.png -------------------------------------------------------------------------------- /images/ui-video-simple-john-hansen.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/images/ui-video-simple-john-hansen.sketch -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/index.html -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/main.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/Style.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/__tests__/Style.spec.js -------------------------------------------------------------------------------- /src/__tests__/utils.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/__tests__/utils.spec.js -------------------------------------------------------------------------------- /src/components/Document/Document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/Document.js -------------------------------------------------------------------------------- /src/components/Document/Document.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/Document.styl -------------------------------------------------------------------------------- /src/components/Document/LayerIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/LayerIndicator.js -------------------------------------------------------------------------------- /src/components/Document/LayerInfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/LayerInfo.js -------------------------------------------------------------------------------- /src/components/Document/LayerSelector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/LayerSelector.js -------------------------------------------------------------------------------- /src/components/Document/LayerSelector/__fixtures__/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/LayerSelector/__fixtures__/default.js -------------------------------------------------------------------------------- /src/components/Document/PageSelector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/PageSelector.js -------------------------------------------------------------------------------- /src/components/Document/PageSelector/__fixtures__/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/PageSelector/__fixtures__/default.js -------------------------------------------------------------------------------- /src/components/Document/__fixtures__/Fitness App.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/__fixtures__/Fitness App.sketch -------------------------------------------------------------------------------- /src/components/Document/__fixtures__/document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/__fixtures__/document.js -------------------------------------------------------------------------------- /src/components/Document/__fixtures__/ui-video-simple-john-hansen.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/__fixtures__/ui-video-simple-john-hansen.sketch -------------------------------------------------------------------------------- /src/components/Document/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/bg.png -------------------------------------------------------------------------------- /src/components/Document/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Document/folder.png -------------------------------------------------------------------------------- /src/components/Layer/Artboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Artboard.js -------------------------------------------------------------------------------- /src/components/Layer/Bitmap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Bitmap.js -------------------------------------------------------------------------------- /src/components/Layer/Group.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Group.js -------------------------------------------------------------------------------- /src/components/Layer/Layer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Layer.js -------------------------------------------------------------------------------- /src/components/Layer/Page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Page.js -------------------------------------------------------------------------------- /src/components/Layer/ShapeGroup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/ShapeGroup.js -------------------------------------------------------------------------------- /src/components/Layer/Symbol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Symbol.js -------------------------------------------------------------------------------- /src/components/Layer/Text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/Text.js -------------------------------------------------------------------------------- /src/components/Layer/__fixtures__/layer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Layer/__fixtures__/layer.js -------------------------------------------------------------------------------- /src/components/Site/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Site/App.js -------------------------------------------------------------------------------- /src/components/Site/App/__fixtures__/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Site/App/__fixtures__/default.js -------------------------------------------------------------------------------- /src/components/Site/Loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Site/Loading.js -------------------------------------------------------------------------------- /src/components/Site/Loading/__fixtures__/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Site/Loading/__fixtures__/default.js -------------------------------------------------------------------------------- /src/components/Site/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/components/Site/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/index.js -------------------------------------------------------------------------------- /src/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/models/index.js -------------------------------------------------------------------------------- /src/utils/JSX.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/utils/JSX.js -------------------------------------------------------------------------------- /src/utils/bplist-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/utils/bplist-parser.js -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/utils/index.js -------------------------------------------------------------------------------- /src/utils/pretty-bytes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/src/utils/pretty-bytes.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zjuasmn/sketch-react/HEAD/yarn.lock --------------------------------------------------------------------------------