Skip to content

Commit

Permalink
Merge pull request #215 from rvsia/circleci-next-conf
Browse files Browse the repository at this point in the history
Merge nextdocs to master
  • Loading branch information
rvsia authored Nov 7, 2019
2 parents 3b8f154 + 7f69184 commit 1721bfe
Show file tree
Hide file tree
Showing 160 changed files with 1,804 additions and 16,294 deletions.
11 changes: 5 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
working_directory: ~/react-forms
docker:
- image: circleci/node
- image: circleci/node:10
steps:
- checkout
- run:
Expand All @@ -29,7 +29,7 @@ jobs:
release:
working_directory: ~/react-forms
docker:
- image: circleci/node
- image: circleci/node:10
steps:
- attach_workspace:
at: ~/react-forms
Expand All @@ -41,7 +41,7 @@ jobs:
deploy:
working_directory: ~/react-forms
docker:
- image: circleci/node
- image: circleci/node:10
steps:
- attach_workspace:
at: ~/react-forms
Expand All @@ -50,10 +50,9 @@ jobs:
command: |
npm install --prefix=./firebase-deploy firebase-tools
- run:
name: Deploy docs to firebase
name: Deploy demo
command: |
./firebase-deploy/node_modules/.bin/firebase deploy --token=$FIREBASE_TOKEN
yarn --cwd packages/react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
workflows:
version: 2
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pids
*.pid
*.seed
*.pid.lock
package-lock.json

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand Down Expand Up @@ -71,4 +72,4 @@ packages/react-renderer-demo/public/vendor.css
.firebase

# Rollup build info
**/size-snapshot.json
packages/**/size-snapshot.json
17 changes: 0 additions & 17 deletions firebase.json

This file was deleted.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
"build": "lerna run build --ignore @data-driven-forms/react-render-demo",
"vendor": "lerna run vendor",
"test": "jest --coverage",
"test:ci": "jest --coverage --runInBand",
Expand Down Expand Up @@ -69,5 +69,8 @@
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on \n\n- [react-form-renderer (@latest dist-tag)](/https://www.npmjs.com/package/@data-driven-forms/react-form-renderer)\n\n- [pf3-component-mapper (@latest dist-tag)](/https://www.npmjs.com/package/@data-driven-forms/pf3-component-mapper)\n\n- [pf4-component-mapper (@latest dist-tag)](/https://www.npmjs.com/package/@data-driven-forms/pf4-component-mapper)\n\n- [mui-component-mapper (@latest dist-tag)](/https://www.npmjs.com/package/@data-driven-forms/mui-component-mapper)\n\nDemo can be found [here](http://data-driven-forms.org/)!"
}
]
},
"dependencies": {
"n": "^6.0.1"
}
}
12 changes: 6 additions & 6 deletions packages/mui-component-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@data-driven-forms/react-form-renderer": "*",
"@material-ui/core": "^4.2.1",
"@material-ui/icons": "^4.2.1",
"@material-ui/styles": "^4.2.1",
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.5.2",
"@semantic-release/git": "^7.0.5",
"@semantic-release/npm": "^5.1.1",
"babel-core": "^7.0.0-bridge.0",
Expand Down Expand Up @@ -60,9 +60,9 @@
},
"peerDependencies": {
"@data-driven-forms/react-form-renderer": "^1.9.3",
"@material-ui/core": "^4.2.1",
"@material-ui/icons": "^4.2.1",
"@material-ui/styles": "^4.2.1",
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.5.2",
"material-ui-pickers": "^2.1.1",
"react": "^16.8.6",
"react-dom": "^16.8.6"
Expand Down
7 changes: 7 additions & 0 deletions packages/mui-component-mapper/size-snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dist/index.js": {
"bundled": 633496,
"minified": 264412,
"gzipped": 74673
}
}
7 changes: 7 additions & 0 deletions packages/pf3-component-mapper/size-snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dist/index.js": {
"bundled": 669922,
"minified": 271580,
"gzipped": 74248
}
}
3 changes: 2 additions & 1 deletion packages/pf4-component-mapper/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const externals = {
};

const prodConfig = {
mode: 'production',
mode: 'development',
entry: './src/index.js',
optimization: {
minimizer: [
Expand All @@ -78,6 +78,7 @@ const prodConfig = {
libraryTarget: 'umd',
filename: 'index.js',
umdNamedDefine: true,
globalObject: 'this',
},
externals,
};
Expand Down
4 changes: 1 addition & 3 deletions packages/pf4-component-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@babel/preset-react": "^7.0.0",
"@data-driven-forms/react-form-renderer": "*",
"@patternfly/react-core": "^3.104.0",
"@patternfly/react-icons": "^3.14.2",
"@semantic-release/git": "^7.0.5",
"@semantic-release/npm": "^5.1.1",
"babel-core": "^7.0.0-bridge.0",
Expand Down Expand Up @@ -85,8 +84,7 @@
},
"peerDependencies": {
"@data-driven-forms/react-form-renderer": "^1.11.0",
"@patternfly/react-core": "^3.104.0",
"@patternfly/react-icons": "^3.14.2"
"@patternfly/react-core": "^3.104.0"
},
"dependencies": {
"@patternfly/patternfly-next": "^1.0.175",
Expand Down
1 change: 0 additions & 1 deletion packages/pf4-component-mapper/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const globals = {
react: 'React',
'react-dom': 'ReactDOM',
'@patternfly/react-core': 'PatternflyReact',
'@patternfly/react-icons': 'PatternflyReactIcons',
'@data-driven-forms/react-form-renderer': '@data-driven-forms/react-form-renderer',
};

Expand Down
7 changes: 7 additions & 0 deletions packages/pf4-component-mapper/size-snapshot.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dist/index.js": {
"bundled": 354331,
"minified": 147276,
"gzipped": 42033
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import { Grid, GridItem, Bullseye, FormHelperText } from '@patternfly/react-core';
import { CloseIcon, AddCircleOIcon } from '@patternfly/react-icons';

import CloseIcon from '../../icons/close-icon';
import AddCircleOIcon from '../../icons/add-circle-o-icon';

import './final-form-array.scss';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';
import { TimesCircleIcon } from '@patternfly/react-icons';
import { Button, ButtonVariant } from '@patternfly/react-core';

import TimesCircleIcon from '../../icons/times-circle-icon';

const ClearIndicator = ({
clearValue,
innerProps: { ref, ...restInnerProps },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import { CaretDownIcon, CircleNotchIcon } from '@patternfly/react-icons';

import CaretDownIcon from '../../icons/caret-down-icon';
import CircleNotchIcon from '../../icons/circle-notch-icon';

const DropdownIndicator = ({ selectProps: { isFetching }}) => isFetching ? <CircleNotchIcon className="spinning" /> : <CaretDownIcon />;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { components } from 'react-select';
import { TimesCircleIcon } from '@patternfly/react-icons';

import TimesCircleIcon from '../../icons/times-circle-icon';

const MultiValueRemove = props => (
<components.MultiValueRemove { ...props }>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react';
import { components } from 'react-select';
import PropTypes from 'prop-types';
import { CheckIcon } from '@patternfly/react-icons';
import { Checkbox } from '@patternfly/react-core';

import CheckIcon from '../../icons/check-icon';

const Option = (props) => (
<div
className={ `ddorg__pf4-component-mapper__select__menu--option ${props.isFocused ? 'focused' : ''}` }
Expand Down
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/add-circle-o-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const AddCircleOIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 64 1024 1024"
aria-labelledby="icon-title-25"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-25">AddCircleOIcon</title>
<path d="M512.059-73.143c-282.338 0-512.059 229.673-512.059 512.025 0 282.238 229.721 511.975 512.059 511.975 282.283 0 511.941-229.735 511.941-511.975 0.005-282.352-229.659-512.025-511.941-512.025zM512.059 826.523c-213.826 0-387.728-173.856-387.728-387.643 0-213.888 173.904-387.691 387.728-387.691 213.717 0 387.671 173.803 387.671 387.691 0.005 213.785-173.957 387.643-387.671 387.643zM726.283 506.777c-3.429 3.477-7.803 5.223-13.138 5.223h-128.005v128.007c0 5.333-1.739 9.71-5.218 13.138s-7.936 5.141-13.351 5.141h-109.143c-5.417 0-9.863-1.714-13.351-5.141-3.481-3.429-5.221-7.808-5.221-13.141v-128.005l-128.007-0.002c-5.333 0-9.71-1.737-13.138-5.218-3.426-3.477-5.141-7.934-5.141-13.351v-109.143c0-5.417 1.714-9.856 5.141-13.351 3.429-3.481 7.808-5.221 13.141-5.221l128.005 0.002v-128.009c0-5.335 1.744-9.707 5.225-13.134 3.477-3.429 7.927-5.145 13.344-5.145h109.143c5.417 0 9.858 1.717 13.351 5.145 3.477 3.429 5.223 7.803 5.223 13.138v128.002h128.007c5.335 0 9.707 1.742 13.134 5.225 3.429 3.477 5.145 7.927 5.145 13.344v109.143c0 5.417-1.717 9.863-5.145 13.351z" transform="rotate(180 0 512) scale(-1 1)"></path>
</svg>
);

export default AddCircleOIcon;
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/caret-down-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const CaretDownIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 0 320 512"
aria-labelledby="icon-title-219"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-219">CaretDownIcon</title>
<path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z" transform=""></path>
</svg>
);

export default CaretDownIcon;
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/check-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const CheckIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 0 512 512"
aria-labelledby="icon-title-260"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-260">CheckIcon</title>
<path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" transform=""></path>
</svg>
);

export default CheckIcon;
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/circle-notch-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const CircleNotchIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 0 512 512"
aria-labelledby="icon-title-284"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-284">CircleNotchIcon</title>
<path d="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z" transform=""></path>
</svg>
);

export default CircleNotchIcon;
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/close-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const CloseIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 64 731 1024"
aria-labelledby="icon-title-293"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-293">CloseIcon</title>
<path d="M96.464 804.571c-4.816-0.064-9.12-1.963-12.912-5.733l-77.815-77.815c-3.769-3.794-5.669-8.096-5.735-12.91-0.032-4.839 1.815-9.113 5.543-12.823l616.603-616.606c3.71-3.714 7.986-5.577 12.823-5.541 4.834 0.039 9.138 1.957 12.91 5.73l77.817 77.819c3.769 3.769 5.691 8.066 5.73 12.912 0.037 4.839-1.829 9.106-5.538 12.825l-616.606 616.599c-3.717 3.73-7.986 5.575-12.821 5.541zM622.144 799.031l-616.603-616.601c-3.726-3.717-5.577-7.989-5.536-12.827 0.059-4.843 1.959-9.143 5.728-12.914l77.817-77.817c3.792-3.774 8.096-5.691 12.91-5.728 4.837-0.039 9.106 1.824 12.821 5.536l616.599 616.608c3.717 3.712 5.579 7.989 5.543 12.823-0.041 4.814-1.959 9.118-5.728 12.91l-77.824 77.808c-3.767 3.778-8.073 5.678-12.907 5.744-4.834 0.034-9.104-1.815-12.818-5.541z" transform="rotate(180 0 512) scale(-1 1)"></path>
</svg>
);

export default CloseIcon;
20 changes: 20 additions & 0 deletions packages/pf4-component-mapper/src/icons/times-circle-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from 'react';

const TimesCircleIcon = props => (
<svg
fill="currentColor"
height="1em"
width="1em"
viewBox="0 0 512 512"
aria-labelledby="icon-title-1495"
role="img"
style={{ verticalAlign: '-0.375em' }}
tabIndex="0"
{ ...props }
>
<title id="icon-title-1495">TimesCircleIcon</title>
<path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" transform=""></path>
</svg>
);

export default TimesCircleIcon;
Loading

0 comments on commit 1721bfe

Please sign in to comment.