Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Setting FileFieldGroup #18

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# production
/build


asset-manifest.json

# misc
.DS_Store
Expand All @@ -22,6 +22,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

/build

.idea/
8 changes: 8 additions & 0 deletions dist/export.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,12 @@ describe('conditionals export', function () {
it('exports admin', function () {
expect(_typeof(_index2.default.Admin)).toEqual('object');
});

it('exports FieldGroup', function () {
expect(_typeof(_index2.default.FieldGroup)).toEqual('function');
});

it('exports MagicFieldGroup', function () {
expect(_typeof(_index2.default.MagicFieldGroup)).toEqual('function');
});
});
12 changes: 9 additions & 3 deletions dist/fields/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@

var _FieldGroup = require('./FieldGroup');

var _SelectFieldFancy = require('./select/SelectFieldFancy');
var _SelectField = require('./select/SelectField');

var _Input = require('./input/Input');

var _Message = require('./messages/Message');

var _ButtonGroup = require('./button-group/ButtonGroup');

module.exports = {
FieldGroup: _FieldGroup.FieldGroup,
SelectField: _SelectFieldFancy.SelectFieldFancy,
Input: _Input.Input
SelectField: _SelectField.SelectField,
Input: _Input.Input,
Message: _Message.Message,
ButtonGroup: _ButtonGroup.ButtonGroup
}; /*eslint no-undef: "error"*/
/*eslint-env node*/
8 changes: 7 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ var _index7 = require('./admin/index');

var _index8 = _interopRequireDefault(_index7);

var _FieldGroup = require('./fields/FieldGroup');

var _MagicFieldGroup = require('./fields/magic-select/MagicFieldGroup');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
Expand All @@ -39,5 +43,7 @@ module.exports = {
factories: factories,
conditionals: _index4.default,
validation: _index6.default,
Admin: _index8.default
Admin: _index8.default,
FieldGroup: _FieldGroup.FieldGroup,
MagicFieldGroup: _MagicFieldGroup.MagicFieldGroup
};
Loading