From fb8f515981f29948ac010bd363b4c5126c5796ef Mon Sep 17 00:00:00 2001 From: ibogdanov Date: Thu, 1 Oct 2015 14:31:36 -0700 Subject: [PATCH] build v0.0.9 --- lib/SLDSModal/index.js | 5 ++++- lib/index.js | 17 ++++++----------- package.json | 2 +- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/lib/SLDSModal/index.js b/lib/SLDSModal/index.js index 41187083ab..e3bdc73627 100644 --- a/lib/SLDSModal/index.js +++ b/lib/SLDSModal/index.js @@ -111,7 +111,10 @@ module.exports = _react2['default'].createClass({ onClick: this.closeModal }, _react2['default'].createElement( 'div', - { className: 'slds-modal__container', onClick: function (e) { + { + role: 'dialog', + className: 'slds-modal__container', + onClick: function (e) { _utils.EventUtil.trap(e); } }, _react2['default'].createElement( diff --git a/lib/index.js b/lib/index.js index 385f6b74e1..7ef18c8774 100644 --- a/lib/index.js +++ b/lib/index.js @@ -25,18 +25,13 @@ var _SLDSButton = require('./SLDSButton'); var _SLDSButton2 = _interopRequireDefault(_SLDSButton); -var _SLDSModal = require('./SLDSModal'); - -var _SLDSModal2 = _interopRequireDefault(_SLDSModal); - -var _SLDSModalTrigger = require('./SLDSModal/trigger'); - -var _SLDSModalTrigger2 = _interopRequireDefault(_SLDSModalTrigger); +//import SLDSModal from './SLDSModal'; +//import SLDSModalTrigger from './SLDSModal/trigger'; module.exports = { SLDSPicklistBase: _SLDSPicklistBase2['default'], SLDSSettings: _SLDSSettings2['default'], - SLDSButton: _SLDSButton2['default'], - SLDSModal: _SLDSModal2['default'], - SLDSModalTrigger: _SLDSModalTrigger2['default'] -}; \ No newline at end of file + SLDSButton: _SLDSButton2['default'] +}; +// SLDSModal: SLDSModal, +// SLDSModalTrigger: SLDSModalTrigger \ No newline at end of file diff --git a/package.json b/package.json index ddada65482..b6beae5811 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "design-system-react", - "version": "0.0.8", + "version": "0.0.9", "description": "Salesforce Lightning Design System React components", "scripts": { "start": "node server.js",