diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..06aa0e6 --- /dev/null +++ b/.babelrc @@ -0,0 +1,17 @@ +{ + "presets": [ + ["@babel/preset-env", {"modules": false}], + "@babel/preset-react" + ], + "plugins": [ + "@babel/plugin-syntax-dynamic-import" + ], + "env": { + "production": { + "presets": ["minify"] + }, + "test": { + "presets": ["@babel/preset-env", "@babel/preset-react"] + } + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3fbb0d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +**/node_modules/ diff --git a/.gitmodules b/.gitmodules index 0a2e297..297f82a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ -[submodule "react-json-blinkforms"] - path = react-json-blinkforms +[submodule "blinkforms/react-json-blinkforms"] + path = blinkforms/react-json-blinkforms url = https://github.com/json-blinkforms/react-json-blinkforms.git +[submodule "blinkforms/typescript-core"] + path = blinkforms/typescript-core + url = https://github.com/json-blinkforms/typescript-core.git diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9811d4 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# [Blueprint Documentation](http://blueprintjs.com/docs) + +This project generates and aggregates the documentation from the packages +in this repo. + +## Quick start + +From the root of the repo: + +1. Run `yarn` +1. Run `yarn dev` +1. Open your browser to http://localhost:9000/ + +*Note: if you want to run the development server on a different port, set the `PORT` environment variable.* diff --git a/blinkforms/_nav.md b/blinkforms/_nav.md new file mode 100644 index 0000000..e20931b --- /dev/null +++ b/blinkforms/_nav.md @@ -0,0 +1,6 @@ + + +@page blueprint +@page react-json-blinkforms \ No newline at end of file diff --git a/blinkforms/blueprint.md b/blinkforms/blueprint.md new file mode 100644 index 0000000..d0870d9 --- /dev/null +++ b/blinkforms/blueprint.md @@ -0,0 +1,54 @@ +@# Blueprint + +#### Blueprint is a React-based UI toolkit for the web. + +It is optimized for building complex data-dense interfaces for desktop applications. + +@reactDocs Welcome + +
+

Blueprint v3 is available now! [See what's new.](#blueprint/whats-new-3.0)

+
+ +@## Quick start + +### Install + +**@blueprintjs/core** is the primary Blueprint package on NPM and home to over 40 components. + +```sh +yarn add @blueprintjs/core react react-dom +``` + +Additional components live in the **@blueprintjs/icons**, **@blueprintjs/datetime**, **@blueprintjs/select**, **@blueprintjs/table**, and **@blueprintjs/timezone** packages, separated by use case and significant dependencies. All have peer dependencies on **react** and **react-dom**, so these two packages must be installed alongside Blueprint. + +### Import + +Import React components from the appropriate package. + +```tsx +import { Button } from "@blueprintjs/core"; + +